[JBoss-user] [EJB/JBoss] - What is default transaction attribute for CMT session beans

2004-05-07 Thread ronaldoc
For example, here is the extract from my ejb-jar.xml:

  | session
  | ejb-nameFoo/ejb-name
  |  !-- snip --
  | session-typeStateless/session-type
  | transaction-typeContainer/transaction-type
  | /session
  | 
  | assembly-descriptor/
  | 
Noticed that I did not declare any transaction-attributes (Required, RequiresNew, 
etc..) in my assembly descriptor section. In this case, what would be the default 
attribute that JBoss will employ ?

Regards,

Ronaldo

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834018#3834018

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834018


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread Heikok
I ran now the same code with SUNs J2EE reference and Pointbase. Memory usage was 
constant after the first 1000 Beans (initialization). I've been running the test up to 
5000 Beans. So it seems to be a jboss-related problem.

Heiko

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834019#3834019

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834019


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: New LoginContext for each request...

2004-05-07 Thread jburugupalli
HI All,

Thanks scott, i used a filter to do this but i am not sure how to do it with a tomcat 
valve any way the filter looks like this 

  | public void doFilter(ServletRequest request, ServletResponse response, 
FilterChain chain)
  | throws IOException, ServletException
  | try
  | {
  | WorkServerWebEJBServiceLocator.getInstance().performLogin();
  | chain.doFilter(request, response);
  | }
  |   catch (ServiceLocatorException aException)
  |   {
  | cCat.error(WorkServerWebEJBServiceLocator Login error.);
  | cCat.debug(WorkServerWebEJBServiceLocator Login error., aException);
  |   }
  | finally
  | {
  | try
  | {
  | WorkServerWebEJBServiceLocator.getInstance().performLogout();
  | }
  | catch (ServiceLocatorException aException)
  | {
  |   cCat.error(WorkServerWebEJBServiceLocator Logout error.);
  |   cCat.debug(WorkServerWebEJBServiceLocator Logout error., aException);
  | }
  | }
  | 
  | 
  | 
I configured this filter for all URLs like using /* mapping . the performlogin and 
logout methods does the following

  |   try
  |   {
  | UsernamePasswordHandler tHandler = new UsernamePasswordHandler(iUserName, 
  | iPassword.toCharArray());
  | iLoginContext = new LoginContext(client-login, tHandler);
  | iLoginContext.login();
  | cCat.info(Login With : + iUserName + : + iPassword);
  |   }
  |   catch (LoginException aException)
  |   {
  | cCat.error(Could not login for the LoginContext.);
  |   }
  | 
  | 

i hope this will help 

regards
jani

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834020#3834020

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834020


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread [EMAIL PROTECTED]
100 is the pool size, the default cache size is 1 million in jboss.
see standardjboss.xml

Also if you are using hsqldb, its tables are fully loaded into memory unless
you use create cached table.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834022#3834022

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834022


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Lookup for HTTPXAConnectionFactory on Mac

2004-05-07 Thread [EMAIL PROTECTED]
503 is Service unavailable (usually server overloaded).
So what is the error on the server?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834023#3834023

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834023


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: What is default transaction attribute for CMT session be

2004-05-07 Thread [EMAIL PROTECTED]
The question you should ask is whether it is wise to depend upon something
that is mentioned in the spec.

The answer to your FAQ (which you would have found if you used search)
is Required except for MDBs where it is NotSupported

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834024#3834024

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834024


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread raja05
Have a optional-attribute-name attribute for ur depends clause, something like


  | depends optional-attribute-name=dependBeanobjectname/depends
  | 

And create a setter and getter for dependBean

  | private ObjectName dependObjName;
  | public ObjectName getDependBean() {
  | return this.dependBean;
  | }
  | 
  | and then use it as
  |   DependMBean obj = (dependMBean) 
getServer().getAttribute(this.dependBean);
  | 
  | 
  | 

Check out jboss-service.xml for similar examples



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834026#3834026

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834026


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: [AbstractInstanceCache] failed to passivate

2004-05-07 Thread [EMAIL PROTECTED]
You must remove nonserializable state in ejbPassivate.
See the spec for the full lifecycle.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834028#3834028

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834028


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Remote administration

2004-05-07 Thread [EMAIL PROTECTED]
http://ipaddress:8080/web-console or
http://ipaddress:8080/jmx-console

Make sure you password protect them

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834029#3834029

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834029


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Is this a jboss bug (entity setter mehod)?

2004-05-07 Thread loubyansky
What do you mean by enhancement? The only fix I can think about is to throw an 
exception whenever you invoke the CMR setter which modifies the primary key. The only 
way to destroy relationships in your case is to remove B. CMR in this case read-only.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834030#3834030

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834030


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: ejbSelect with MAX()

2004-05-07 Thread loubyansky
In 3.2.3 Max, as well as some other numeric functions, does return double always. 
3.2.4 supports EJBQL2.1 and respects the return type of ejbSelect.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834031#3834031

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834031


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: session configuration in Jboss-3.2.3

2004-05-07 Thread loubyansky
Why do you think so? Please, post more info describing what you see.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834032#3834032

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834032


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Form-based Login question

2004-05-07 Thread anbenham
I think agood way to do this ist to use a Filter, which would check if the 
initiatialization has been done . If yes redirect to the init-servlet, else call the 
protected source

See http://java.sun.com/webservices/docs/1.3/tutorial/doc/Servlets8.html#wp64572

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834034#3834034

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834034


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Error creating the dlq connection: XAConnectionFactory n

2004-05-07 Thread robinpaul78
Phew the problem got solved.

It was due to incorrect db tables that were generated in the database. 
I dropped the JMS_TRANSACTIONS and JMS_MESSAGES from the database and restarted JBoss. 
The app server then created the correct tables and my messaging got enabled.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834035#3834035

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834035


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET SOAP] - Mysterious warning with JBoss.NET webservice

2004-05-07 Thread fheldt
I have a mysterious warning showing up in the server.log file with my webservice.

First i build my webservice with xdoclet from a session bean

 * @ejb.permission role-name=Master,Admin,Operator,User
 * @jboss-net.authorization
 *domain=dhcRealm
 *roles-allowed=Master,Admin,Operator,User

and everything works fine.

But when i call this.context.isCallerInRole(Master) within this bean, i get the 
following warning in the log:

WARN  [org.jboss.ejb.EnterpriseContext] no match found for security role Master in the 
deployment descriptor.

Apart this warning the call works as expected.

Any idea what happens here?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834036#3834036

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834036


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - FORM dataBase authentication problem

2004-05-07 Thread pagomen
Hi All,
I am trying to setup a simple FORM database authentication but I have some problem...
The authentication seems to pass but then I get an HTTP Status 403 - Access to the 
requested resource has been denied from the Tomcat.
The strange thing is that when I am using the users.properties  roles.properties 
files all going just fine.
The only change that I made using the database was in the login-config.xml

 
  |  application-policy name=sms
  | authentication
  | !--login-module code = 
org.jboss.security.auth.spi.UsersRolesLoginModule
  |  flag = required /
  | --
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option 
name=dsJndiNamejava:/PostgresDS/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

In the database exist 2 tables named 
roles 

  | CREATE TABLE roles
  | (
  |   principalid varchar(64) NOT NULL,
  |   role varchar(32),
  |   rolegroup varchar(32)
  | ) ;
  | 

and principals

  | CREATE TABLE principals
  | (
  |   principalid varchar(64) NOT NULL,
  |   password varchar(100),
  |   CONSTRAINT principals_pkey PRIMARY KEY (principalid)
  | ) ;
  | 

I suspect that the problem must be in web.xml 

  | welcome-file-list
  | welcome-fileindex.jsp/welcome-file
  | /welcome-file-list
  | 
  | error-page
  | error-code404/error-code
  | location/error.jsp/location
  | /error-page
  | 
  | security-constraint
  | display-nameServer Configuration Security Constraint/display-name
  | web-resource-collection
  |   web-resource-nameAdminPages/web-resource-name
  |   descriptionno description/description
  |   url-pattern/*/url-pattern
  |   http-methodGET/http-method
  |   http-methodPOST/http-method
  | /web-resource-collection
  | auth-constraint
  | role-nameAdministrator/role-name
  | /auth-constraint
  | user-data-constraint
  | descriptionAccess by Administrator/description
  | transport-guaranteeNONE/transport-guarantee
  | /user-data-constraint
  |   /security-constraint
  | 
  | login-config
  | auth-methodFORM/auth-method
  | realm-namesms/realm-name
  | form-login-config
  | form-login-page/logon.jsp/form-login-page
  | form-error-page/error_login.jsp/form-error-page
  | /form-login-config 
  | /login-config
  | 
  | security-role
  | role-nameAdministrator/role-name
  |   /security-role
  |   
  | 

or jboss-web.xml 


  | jboss-web
  |   security-domainjava:/jaas/sms/security-domain
  | /jboss-web
  | 

Did I miss something ??

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834037#3834037

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834037


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread triathlon98
Adrian,

The setting is not enough. I have run into the same problem (and reported it) a couple 
of weeks back. I then tried modifying the container configuration and the read-ahead 
setting to anything I could image without results.

However, I have seen that Alexey committed some changes in the cache handling. It may 
be better/fixed in the latest version in CVS (I was using the latest version at the 
time, but have not updated meanwhile).

Joachim

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834040#3834040

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834040


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: ExceptionSorter

2004-05-07 Thread [EMAIL PROTECTED]
http://jboss.org/wiki/Wiki.jsp?page=JBossForums

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834041#3834041

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834041


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: ExceptionSorter

2004-05-07 Thread aquafresh
thanks fro your prompt reply.
I have got another questions about the check-valid-connection-sql, in the 
database-ds.xml file does this tag allow to test the connection to the database?
On the other hand if I have got a DB server and Jboss server installed on two 
different machine and the network goes down and resumes up,Is JBoss able to establish 
the connection if it breaks due to network problem, on its own?

Thanks again for helps

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834038#3834038

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834038


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - QL parser ignores spaces

2004-05-07 Thread wolfc
jBoss 3.2.2
jBoss 3.2.3

The following will not work:

  | SELECT es.dateFrom FROM EventSeq es
  | org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered FROM at line 1, 
column 20.
  | Was expecting one of:
  | IN ...
  | ABSTRACT_SCHEMA ...
  | 
While the following does work:

  | SELECT es.dateFrm FROM EventSeq es
  | 
Feature or bug?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834043#3834043

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834043


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: OutOfMemory after some 1000 CMP Beans

2004-05-07 Thread [EMAIL PROTECTED]
Alexey is working on instance-per-transaction which isn't a real cache.

You ain't going to get much help with more info.
Asserting you've done things correctly isn't very useful.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834044#3834044

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834044


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread morenito9000
Hi all,
I have a question about changing rolesQuery in DatabaseServerLoginModule.

In my application a user may have different roles but this roles
could change depending from the company in which user works.
For example:

in Company1 user John has Admin/Developer Roles
in Company2 user John has Developer Role
in Company3 user John has  Seller Role

Is it possible to change rolesQuery in this way:
select usersRoles, 'Roles' from UsersRoles where username=? 
AND Company=? 

or I need to write, Server Side, a Custom Login Module that substitutes 
DatabaseServerLoginModule ?

Client Side, must I write a MyClientLoginModule, similar to
the default ClientLoginModule, that sends username/password 
and Company to JBoss ?

Company must be set using SecurityAssociation.setPrincipal() method ? 
(in JBoss docs I read that you could always set the SecurityAssociation
information directly, but this is considered an internal API that is
subject to change without notice).

I'm very confused :-(

Could someone give me a suggestion ?

Thank you very much,
Moreno



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834045#3834045

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834045


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Unable to compile inspectMBean_jsp.java file

2004-05-07 Thread ET
aanand wrote : Check if you have jbossall-client.jar in your /WEB-INF/lib directory. 
I think that I had the same error and the culprit was this jar file.
  | 
  | --Anand

Thank you for your answer, Anand.

However the problem seems not to be in the Jbossall-client.jar file.
I had an old version of jdom.jar and tomcat used that for compile files. I have 
replaced that with the one coming with jboss and now things seem to work!

Elisa 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834047#3834047

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834047


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Sessionbean and DB connection PB

2004-05-07 Thread aquafresh
Hello,

I have a problem when I want to access a database via my session bean

I use Jboss3.2.3 with postgresql 7.4 db

I have got a MDB tha listening on a topic when it receives a message a session bean is 
instanciated and this one get record from a database

but after deploying my beans and the start my publisher I have got the following error 
display in Jboss console:
10:40:04,027 ERROR [STDERR] javax.naming.NameNotFoundException: jdbc not bound

My xml files are:
AdminDB-ds.xml


  local-tx-datasource
jndi-nameAdminDB/jndi-name
connection-urljdbc:postgresql://svt-lmk91:5432/AdminDB/connection-url
driver-classorg.postgresql.Driver/driver-class
user-namepostgres/user-name


   !-- new-connection-sql/new-connection-sql --

   check-valid-connection-sqlselect * from 
is_copyprotocol/check-valid-connection-sql

  /local-tx-datasource



ejb-jar.xml:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN 
http://java.sun.com/dtd/ejb-jar_2_0.dtd;

ejb-jar

  Deployment descriptor for the MDBTest 
  display-nameXferAgent/display-name
  enterprise-beans

  message-driven
Mdb for messages recieved about the test
display-nameMessage Driven Bean MdbTest/display-name
ejb-nameMdbTest2/ejb-name
ejb-classcom.iratensolutions.mdbDB.MdbTest2/ejb-class
transaction-typeBean/transaction-type 
acknowledge-modeAuto-acknowledge/acknowledge-mode
message-driven-destination
destination-typejavax.jms.Topic/destination-type
subscription-durabilityNotDurable/subscription-durability
/message-driven-destination
  
ejb-local-ref
ejb-ref-nameejb/SessionTestLocalHome/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home
com.iratensolutions.mdbDB.SessionTestLocal
ejb-linkSessionTestBean/ejb-link
  /ejb-local-ref
/message-driven


ejb-nameSessionTestBean/ejb-name
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home
com.iratensolutions.mdbDB.SessionTestLocal
ejb-classcom.iratensolutions.mdbDB.SessionTestBean/ejb-class
session-typeStateless/session-type
transaction-typeBean/transaction-type

  resource-ref
res-ref-namejdbc/AdminDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
 /resource-ref
 

  
  /enterprise-beans
  /ejb-jar

jboss.xml:

?xml version=1.0 encoding=UTF-8?

!DOCTYPE jboss PUBLIC
   -//JBoss//DTD JBOSS 3.2//EN
   http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;


  enterprise-beans
message-driven
ejb-nameMdbTest2/ejb-name
destination-jndi-nametopic/testTopic/destination-jndi-name
/message-driven



 ejb-nameSessionTestBean/ejb-name
 local-jndi-nameSessionLocalHome/local-jndi-name
 jndi-nameSessionLocalHome/jndi-name
 resource-ref
res-ref-namejdbc/AdminDB/res-ref-name
resource-nameAdminDB/resource-name
jndi-namejava:/AdminDB/jndi-name
 /resource-ref
  
   /enterprise-beans
  


Thanks for any help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834048#3834048

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834048


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Sessionbean and DB connection PB

2004-05-07 Thread aquafresh
Hello,

I have a problem when I want to access a database via my session bean

I use Jboss3.2.3 with postgresql 7.4 db

I have got a MDB tha listening on a topic when it receives a message a session bean is 
instanciated and this one get record from a database

but after deploying my beans and the start my publisher I have got the following error 
display in Jboss console:
10:40:04,027 ERROR [STDERR] javax.naming.NameNotFoundException: jdbc not bound

My xml files are:
AdminDB-ds.xml


  local-tx-datasource
jndi-nameAdminDB/jndi-name
connection-urljdbc:postgresql://svt-lmk91:5432/AdminDB/connection-url
driver-classorg.postgresql.Driver/driver-class
user-namepostgres/user-name


   !-- new-connection-sql/new-connection-sql --

   check-valid-connection-sqlselect * from 
is_copyprotocol/check-valid-connection-sql

  /local-tx-datasource



ejb-jar.xml:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN 
http://java.sun.com/dtd/ejb-jar_2_0.dtd;

ejb-jar

  Deployment descriptor for the MDBTest 
  display-nameXferAgent/display-name
  enterprise-beans

  message-driven
Mdb for messages recieved about the test
display-nameMessage Driven Bean MdbTest/display-name
ejb-nameMdbTest2/ejb-name
ejb-classcom.iratensolutions.mdbDB.MdbTest2/ejb-class
transaction-typeBean/transaction-type 
acknowledge-modeAuto-acknowledge/acknowledge-mode
message-driven-destination
destination-typejavax.jms.Topic/destination-type
subscription-durabilityNotDurable/subscription-durability
/message-driven-destination
  
ejb-local-ref
ejb-ref-nameejb/SessionTestLocalHome/ejb-ref-name
ejb-ref-typeSession/ejb-ref-type
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home
com.iratensolutions.mdbDB.SessionTestLocal
ejb-linkSessionTestBean/ejb-link
  /ejb-local-ref
/message-driven


ejb-nameSessionTestBean/ejb-name
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home
com.iratensolutions.mdbDB.SessionTestLocal
ejb-classcom.iratensolutions.mdbDB.SessionTestBean/ejb-class
session-typeStateless/session-type
transaction-typeBean/transaction-type

  resource-ref
res-ref-namejdbc/AdminDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
 /resource-ref
 

  
  /enterprise-beans
  /ejb-jar

jboss.xml:

?xml version=1.0 encoding=UTF-8?

!DOCTYPE jboss PUBLIC
   -//JBoss//DTD JBOSS 3.2//EN
   http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd;


  enterprise-beans
message-driven
ejb-nameMdbTest2/ejb-name
destination-jndi-nametopic/testTopic/destination-jndi-name
/message-driven



 ejb-nameSessionTestBean/ejb-name
 local-jndi-nameSessionLocalHome/local-jndi-name
 jndi-nameSessionLocalHome/jndi-name
 resource-ref
res-ref-namejdbc/AdminDB/res-ref-name
resource-nameAdminDB/resource-name
jndi-namejava:/AdminDB/jndi-name
 /resource-ref
  
   /enterprise-beans
  


Thanks for any help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834049#3834049

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834049


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Socket connections in stateful session bean

2004-05-07 Thread tbrandt
Hi,

We are trying to connect a legacy server from a stateful session bean via tcp/ip 
sockets. The server is an interpreter which provides applications itself (in a binary 
protocol). As we want to provide these applications on the web, we built a stateful 
bean which acts as a client to this server.

The server usuallly interacts with a windows client or a java applet. When these 
clients are terminated the server also terminates the application it is providing on 
the server side. On the web, situations may occur where I do not notice that a session 
was terminated by the client. So I would like to configure my bean to close the socket 
connection after a certain timeout.

I hoped I could rely on the configurable timeout for session beans in JBoss. But 
although I configured the container as follows:

cache-policy-conf
 min-capacity2/min-capacity
 max-capacity3/max-capacity
 remover-period1800/remover-period
 max-bean-life60/max-bean-life
 overager-period300/overager-period
 max-bean-age600/max-bean-age
 resizer-period400/resizer-period
 max-cache-miss-period60/max-cache-miss-period
 min-cache-miss-period1/min-cache-miss-period
 cache-load-factor0.75/cache-load-factor
/cache-policy-conf

(I have to add that I turned of bean passivation, as it makes no sense in case of this 
legacy system)

the beans do not seem to be moved to the Not-Exist-State. Thus, the connections to the 
legacy server are kept open forever and in addition to the beans which are kept in 
memory the legacy server keeps all applications/processes in memory, too, as it 
assumes they are still active.

Is there something wrong with the cache-configuration? Can I rely on the socket 
connection being closed when the bean is removed after timeout? Or should I implement 
a timer which removes the beans after a certain amount of time myself? I guess, the 
container should do this...

I am rather new to ejbs so any help is appreciated.

Thanks in advance and regards,
Tobias


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834050#3834050

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834050


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Cannot authenticate user - ConnectException: Connection ref

2004-05-07 Thread KTM
Hi, I'm pretty new to JBoss and have a situation here and i really hope someone could 
lend a hand.

I'm running JBoss 3.2.3 on a redhat 9 machine.
The client is running off a Fedora machine. (the jbossall-client.jar is also 3.2.3)

The client needs to publish a message to JMS, but it keeps throwing this exception:

org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: 
(java.net.ConnectException: Connection refused)
at org.jboss.mq.Connection.authenticate(Connection.java:883)
at org.jboss.mq.Connection.(Connection.java:238)
at org.jboss.mq.SpyConnection.(SpyConnection.java:49)
at 
org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:97)
 
why? it seems to work if the client and server are running on the same machine.

properties i'm using are:
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory);
 prop.put(Context.PROVIDER_URL, jnp://0.0.0.0:1199);
the 0.0.0.0 above is replaced with a valid IP address, i also tried hostname but 
neither worked.
prop.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);


It seems to be failing on this line:
TopicConnection tc = tcf.createTopicConnection(user, password);

The relevant user has been set up in conf/jbossmq-state.xml

Is there any other info you'd need to be able to help?

I have checked /etc/hosts and it looks as follows:
127.0.0.1   localhost.localdomain localhost


I'd appreciate any help anyone could give.

Thanks in advance.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834052#3834052

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834052


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread raja05
Ofcourse there is, the MBeanRegistry implementation in jboss does have this. 
getServer().getAttribute(this.dependBean); is going to take this value from the 
Registry and return the MBean associated with the object name,



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834053#3834053

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834053


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - MDB to talk to remote queue via HTTP tunelling

2004-05-07 Thread andre_v
Before I am going to great lengths explaining my problem.

I just want to know whether it is possible for an MDB to listen on a remote queue 
using HTTP tunelling. 

If it is possible is there any special way of configuring it ?? Apart from the other 
well documented way. 

I tried by changing the settings to :

attribute name=ProviderUrlhttp://whatever/invoker/JNDIFactory/attribute
  | attribute name=QueueFactoryRefHTTPConnectionFactory/attribute

I would suppose one would need to configure the InitialContext as well??  But where ??

Connecting to the same remote Queue via HTTP from a plain JMS client  works fine, but 
a MDB using  the same remote queue no luck.

Any ideas ?

Andre


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834054#3834054

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834054


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Jboss server fails with 20 concurrent hits - service una

2004-05-07 Thread rraam75
hi,
thanx Sacha

 I changed the backlog value from 50 to 500  5000..but still i face the same 
exception...

In the above mail in the run() mtd i wrongly given the code that belongs to weblogic 
server...however there is not much change except the setting of env properties...

Below is the correct version of code at run() mtd..

public int callJBossHome() {
try {
Properties env = new Properties();
 InitialContext initialContext = null;
env.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
env.put(Context.PROVIDER_URL, jnp://127.0.0.1:1099);
env.put(Context.BATCHSIZE,1000);
initialContext = new InitialContext(env);
try {
clusterEmpSLSessionHome = (ClusterEmpSLSessionHome) 
javax.rmi.PortableRemoteObject.narrow(  
initialContext.lookup(ClusterEmpSLSessionBean),
ClusterEmpSLSessionHome.class);
}catch (Exception e1){
System.out.println(Exception at LOOKUP is);   
e1.printStackTrace();
}
ClusterEmpSLSession clusterEmpSLSession = clusterEmpSLSessionHome.create();
return 0;
} catch (Exception e) {
System.out.println(Exception while creating remote obj is:);
e.printStackTrace();
return -1;
}
}

do u have any other options to solve this problem...I tried to do the same thing with 
weblogic server..there i can make 5000 concurreny hits or lookups...


In addition to that  can anyone explain me about the env properties,

env.put(Context.BATCHSIZE,1000);

thanx

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834055#3834055

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834055


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: newbie questions on Nukes

2004-05-07 Thread hxp
Jujube --

jujube wrote : - Does Nukes require the use of a full J2EE server like JBoss? Or can 
it be used with just Tomcat? (Perhaps a dumb question since it was developed by JBoss. 
But it never hurts to ask. :-) )
  | 
Nukes requires JBoss3.2.3, period. Dont think about trying w another version of JBoss, 
or another J2EE app server, or just Tomcat alone.

jujube wrote : - Is it necessary to understand J2EE/EJB programming in order to use 
Nukes
  | 
No.

jujube wrote : - Is it necessary to understand J2EE/EJB programming in order to use 
Nukes effectively?
  | 
Yes.

jujube wrote : Or can I get by with just knowledge of JSP/Servlets?
  | 

JSP/Servlet knowledge is largely irrelevant, unless and until you develop your own 
module(s) and choose JSP for front end (or become a hardcore contributor and get deep 
into the Nukes servlet) 

jujube wrote : - Can Nukes be used with Apache Struts? Would using them together 
require rewriting / modifying Nukes code?
  | 
Well, yes, kindof, if you study Sherman's wikis and forum posts about using JSPs with 
Nukes, and then do more integ/coding work... but planning on jumping from static web 
pages to Struts probably indicates that you are confused on your strategy. You should 
get really familiar with the existing Nukes modules at a user and admin level, before 
you even think about developing custom code. Do as much as you can just by configuring 
Nukes modules while logged-in as admin. Only after that, consider what modules should 
be modified to accomplish what else you want to do.

jujube wrote : - How difficult / easy is JBoss administration? Does using Nukes 
require a knowledgable JBoss administrator? Or is it pretty much maintenance free 
after installation? (We are administering our own web server.)
  | 

Just using nukes requires no programming at all; it's developing modules  blocks  
themes (and soon, portlets) that requires programming.

Administering nukes requires no programming... and vanilla usage doesn't require 
knowing much about JBoss even... but the more you know about the world of development 
and deployment, the better off you are. 

Any portal or CMS requires much more admin maint work than a simple static webserver 
does, for the simple reason that users not only can receive content, but also can 
contribute content. You have to manage at least who is allowed to do what, and what to 
do with growing databases of contributed content.

jujube wrote : In short, Nukes looks attractive but I am a little leery of having to 
jump straight into administering (and possibly programming) a full blown J2EE server.
  | 
Nolan Bushnell, the founder of Atari and father of videogaming famously replied to the 
question What are the characteristics of a good game? with these words: Easy to 
learn, difficult to master.  JBoss is the best game in town, for exactly this reason. 
 JBoss is much easier to setup than Nukes... grab the binary, unpack, cd to the bin 
directory and type run. But it's impossible to master, and getting harder; not even 
the core developers can know every nook and cranny anymore. To be very effective in 
developing for Nukes at the module (application) level, you only have to understand ~ 
5-10% of JBoss; to just administer Nukes and customize some modules, probably only 1% 
of JBoss.

jujube wrote : 
  |  Is it worth it?
  | 
Yes.


jujube wrote : 
  | - Can anyone offer a comparison with OpenCMS or any other open source Java-based 
CMS?
  | 
Yes.

But nobody who can has yet gotten around to spending the time to do it.

So now it's your job.  :-)

Sharing answers to at least as many questions as you ask is good karma.  ;-)

Do some research, get a live Nukes up and runnking, work with it, and contribute back 
your comparison (via Forum or Wiki).

Next step: go to

http://jboss.org/wiki/Wiki.jsp?page=InstallUninstallUpgrade

and do what it says there; then play and get familiar; then share what you learn.

-- Howard


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834056#3834056

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834056


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread jburugupalli
HI,
I have an idea, better write some class similar to NestedPrincipal which holds 
information other than the principal and set this Pricipal in the ClientLoginModule 
instead of SimplePrincipal.

 SecurityAssociation.setPrincipal(new SimplePrincipal(username));

But you should write your own databaseserverloginmodule with minimal chnages and also 
yous hould override one or two methods from the UserNamePasswrodLoginModule...

i hope this helps...bur if any one has better solution

regards
JB


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834057#3834057

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834057


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Socket connections in stateful session bean

2004-05-07 Thread darranl
Unless you are happy ignoring the J2EE specification session beans must not open 
socket connections.

You should be looking at JCA or possible MBeans to handle the connections.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834058#3834058

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834058


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Mbean dependency resolution

2004-05-07 Thread aseembansal
Thanks. That was what I was looking for. 

-Aseem

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834059#3834059

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834059


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Very Very Urgent !! Multiple User

2004-05-07 Thread anbenham
Hi,

Here are my details:

RuntimeEnvironment:
JBoss 3.2.3 with Tomcat 4.1

Configuration:
1-Single Sign On in Tomcat enabled
2-I Use my own Implementation for the LoginModule
3-I use my own Implementation of the Principal

Implementation:

LoginModule


  | public boolean commit() throws LoginException {
  |if (!loginOk) return false;
  |Set principals = subject.getPrincipals();
  |//add Principal  
  |principals.add(getIdentity());
  |// Add Roles
  |   Group[] roleSets = getRoleSets();
  |   for (int g = 0; g  roleSets.length; g++) {
  |  Group group = roleSets[g];
  |  String name = group.getName();
  |  Group subjectGroup = createGroup(name, principals);
  |  if (subjectGroup instanceof NestableGroup) {
  |SimpleGroup tmp = new SimpleGroup  (Roles);
  | subjectGroup.addMember(tmp);
  | subjectGroup = tmp;
  |   }
  |  // Copy the group members to the Subject group
  | Enumeration members = group.members();
  | while (members.hasMoreElements()) {
  | Principal role = (Principal) members.nextElement();
  | subjectGroup.addMember(role);
  | }
  | }
  | return true;
  | }
  | 
  | public Group[] getRoleSets() throws LoginException {
  | 
  | SimpleGroup userRoles = new SimpleGroup(Roles);
  | SimpleGroup callerPrincipalGroup = new SimpleGroup(CallerPrincipal);
  | 
  | Set set = new HashSet();
  | //Roles to Group Roles
  | try {
  |   set = (Set) bereMgr.getBenutzerrollen();
  | } catch (DzException e) {
  |   throw new LoginException(e.getMessage());
  | }
  | Iterator it = set.iterator();
  | while (it.hasNext()) {
  |   String rolle = (String) it.next();
  |   //Add each role to the Roles principal
  |   userRoles.addMember(new BereFunktion(rolle));
  | }
  | 
  | //Principal ins Group CallerPrincipal
  | callerPrincipalGroup.addMember(getIdentity());
  | Group[] roleSets = { userRoles, callerPrincipalGroup };
  | return roleSets;
  | }
  | 

Getting my Implementation of the principal DZPrincipal


  | Principal principal = SecurityAssociation.getPrincipal();
  | if (principal instanceof DZPrincipal)
  |   return (DZPrincipal) principal;
  | else{
  |   Subject subject = SecurityAssociation.getSubject();
  |   Set principals = subject.getPrincipals();
  |   Iterator i = principals.iterator();
  |   while (i.hasNext()) {
  |Principal p = (Principal) i.next();
  |if (p instanceof DZPrincipal)
  |   return (DZPrincipal)p;
  | }   
  | }
  | 
  | 
 I use this methode to get my Principal, because request.getUserPrincipal() sometimes 
returns an Instance of SimplePrincipal.


Is this Information sufficient?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834060#3834060

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834060


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - JbossMQ Error at Heavly load

2004-05-07 Thread jmer
Hi list;
   Im using jboss-3.2.2 as server. Im doing a load testing my MDB using Jmeter.My 
MDB does is read a Object message from a queue and query a stored procedure on sql 
server(select) and  dump the result to a mysql database and finally create a message 
and send to another on which another application listened. Having configured my Thread 
threshold to 100 and 0 ramp-up period on Jmeter, i notice that i exncounter error 
during the testing. Attached is the error

.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: 
(java.io.IOException: ping timeout.)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at org.jboss.mq.Connection$PingTask.run(Connection.java:1311)
at 
EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.IOException: ping timeout.
at org.jboss.mq.Connection$PingTask.run(Connection.java:1303)
... 2 more
2004-05-07 17:37:23,242 WARN  [org.jboss.mq.Connection] Connection failure:
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: 
(java.io.EOFException)
at org.jboss.mq.Connection.asynchFailure(Connection.java:718)
at 
org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:145)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:394)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:331)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.io.EOFException
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2591)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:278)
... 1 more

below are my *-ds.xml config 

no-tx-datasource
jndi-nameMSSQLDS/jndi-name

connection-urljdbc:microsoft:sqlserver://192.168.40.166:1433;SelectMethod=cursor;DatabaseName=Blackberry/connection-url

driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class
user-namesa/user-name

!-- sql to call when connection is created
new-connection-sqlsome arbitrary sql/new-connection-sql
--
!-- sql to call on an existing pooled connection when it is obtained 
from pool 
check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql
--
/no-tx-datasource


 and 


no-tx-datasource
jndi-nameMySqlDS/jndi-name
connection-urljdbc:mysql://192.168.80.211:3306/smart/connection-url
driver-classorg.gjt.mm.mysql.Driver/driver-class
user-nameopenjms/user-name
openjms
/no-tx-datasource
no-tx-datasource
jndi-nameMyUtil/jndi-name

connection-urljdbc:mysql://192.168.80.211:3306/SmartApp/connection-url
driver-classorg.gjt.mm.mysql.Driver/driver-class
user-nameopenjms/user-name
openjms
/no-tx-datasource


Help!!!

Many thanks;
joseph





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834062#3834062

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834062


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown-pk usage ?

2004-05-07 Thread sesques
Thanks very much Alex.
This is more clear for me.

Pascal


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834063#3834063

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834063


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - JBossLocalXAException

2004-05-07 Thread tkvarenes
Hello!
I'm having problem with inserting of data into my MS SQL 2000 database. I see that 
several others have had similar problems, but I haven't solve mine by looking at the 
forum, so here goes...

We are using JBoss 3.2.3 and MS SQL 2000. In the test environment everything works 
fine, but when moving to the production environment we get the excpetion shown below. 
The production environment should have the same set up as the test environment, I 
think... I think the exception occures when inserting in tables that have a one/zero 
to many relation to other tables. (The relations has not been set up in the database)

If we make the application on the production server use the database on the database 
server in the test environment, everyting works fine. If we make the test application 
use the database on the production server, it fails. So it seams to be the SQL 2000 
server in the production environment that is missing something(?)

We are using the Inet Merlia JDBC Driver for Microsoft SQL Server Databases.

Any ideas?

Regards Trond Kvarenes



The exception:

2004-05-07 08:20:22,107 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException in method: public abstract 
tcms.data.trim.actors.CompanyValue 
tcms.facade.ActorsFacade.insertCompany(tcms.data.trim.actors.CompanyValue) throws 
tcms.util.TcmsApplicationException,java.rmi.RemoteException, causedBy:
org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl 
[FormatId=257, GlobalId=cphjlapp//69, BranchQual=] status=STATUS_NO_TRANSACTION; - 
nested throwable: (org.jboss.resource.connectionmanager.JBossLocalXAException: wrong 
xid in rollback: expected: null, got: XidImpl [FormatId=257, GlobalId=cphjlapp//69, 
BranchQual=1])
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:413)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:277)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at 
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
at org.jboss.ejb.Container.invoke(Container.java:700)
at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy589.insertCompany(Unknown Source)
at tcms.service.ActorsEJBDelegate.insertCompany(ActorsEJBDelegate.java:292)
at com.tcms.refdata.CompanyExecute.doSave(CompanyExecute.java:123)
at com.tcms.refdata.CompanyAction.perform(CompanyAction.java:78)
at org.apache.struts.action.Action.execute(Action.java:420)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 

[JBoss-user] [Management, JMX/JBoss] - xmbean and jmxdoclet task

2004-05-07 Thread aseembansal
Hi, 

I have added the xdoclet tags (like @jmx:mbean) in my java code and am trying to 
generate the xmbean files using the following ant task. 

  !-- Generate mbeans with XDoclet --
  








  

The above ant task does not throw any error (even in debug mode), but also does not 
generate the *xmbean.xml files. 

However the same task (with   instead of ) is generating the Mbean interface. 

Any ideas?

-A



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834065#3834065

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834065


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: xmbean and jmxdoclet task

2004-05-07 Thread aseembansal
Here is the ant task 


  target name=xmbean 

 taskdef name=jmxdoclet classname=xdoclet.modules.jmx.JMXDocletTask

mkdir dir=xdoclet

jmxdoclet destdir=xdoclet excludedtags=@version,@author
fileset dir=${src.dir}
include name=**/*.java
fileset

jbossxmbean 
jmxdoclet
 target
  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834066#3834066

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834066


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Classloading problem

2004-05-07 Thread fburlet
Hi,

I have 3 ears that define modules A, B, C. These modules are dependent in the sense 
that for example, module B is using interfaces from module A to get compiled (and even 
deployed without having A being deployed).
I would like to deploy/redeploy these modules at any time. So, to achieve my goal, I 
separated interfaces from bean in each module and put the interfaces to solve the 
dependency issues.

So schematically, the 3 ears looks like:

A :
 A.jar // only beans
 lib/A-client.jar // only interfaces from A
 META-INF - application.xml 
  // defines lib/A-client.jar as java module
  // defines A.jar as ejb module

in A.jar, the ejb-jar.xml file contains the tag 
ejb-client-jarlib/A-client.jar/ejb-client-jar and the Class-Path from its 
MANIFEST.MF contains lib/A-client.jar

B: //depends on A and C
 B.jar // an ejb module
 lib/A-client.jar // only interfaces from A
 lib/another-jar.jar // containing no beans
 lib/C-client.jar // only interfaces from C
 META-INF - application.xml

In B.jar, the ejb-jar.xml file contains tags ejb-client-jar that list all the jar 
from the lib dir, and the Class-Path from its MANIFEST.MF contains these libs.

C : // depends on A
 C.jar // only beans
 lib/C-client.jar // only interfaces from C
 lib/another-jar.jar // same that the one from B
 lib/A-client.jar // only interfaces from A
 META-INF - application.xml

In C.jar, the deployment descriptor contains tags ejb-client-jar that list all the 
jars from the lib dir and the Class-Path entry from its MANIFEST.MF also contains 
these libs.
 
All modules deploy correctly and the application runs correctly until I redeploy the 
modules... Once they are redeployed I got an IllegalAccessError on some beans (in fact 
it seems that each inner class are hitten by this error, I don't know for sure that 
there is a relation).
After having a look at the documentation, it seems that the error occurs because the 
same classe is loaded in different class loaders. I saw that to be able to use the 
same classe in different ear, we have to define tag loader-repository in the 
jboss-app.xml (near the application.xml). That what I did for each module: adding


  | loader-repository
  |  kiala:core=LoaderRepository
  |  loader-repository-config
  | java2ParentDelegation=false
  |  /loader-repository-config
  | /loader-repository
  | 

The application deploys very well, but I got a ClassCastException at runtime...

Any help would be welcome.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834067#3834067

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834067


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Socket connections in stateful session bean

2004-05-07 Thread tbrandt
An enterprise bean must not attempt to listen on a socket, accept connections on a 
socket, or use a socket for multicast.

This is what the ejb spec (2.1) says. I do not listen on a socket, nor do I accept 
connections nor do I use a socket for multicast. I am connecting to a socket 
(Socket.connect).

Is there a way how the container can provide me with a persistent socket connection to 
a specific machine on a specific port? Or do I have to write and configure my own 
resource adapter to handle these connections properly?

Regards,
Tobias

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834068#3834068

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834068


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: dependancy of modules and hot (re)deployment

2004-05-07 Thread fburlet
I finally find out a solution for my problem:

I did the following:

EAR contains 
 A.jar // jar containing beans, 
 lib/A-client.jar // jar containing interfaces only
 META-INF/application.xml
 // containing references to A.jar as ejb module, lib/A-client.jar as java module

The deployment description of A.jar (ejb-jar.xml) must contain a tag ejb-client-jar 
referencing the client jar and this jar must be specified in the Class-Path entry of 
the MANIFEST.MF.

The client jar might be used in other ear files by doing the same trick.

The ear file is redeployable.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834069#3834069

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834069


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: ejbSelect with MAX()

2004-05-07 Thread timkk
It's nice to know, that JBoss returns always double. 
I have searched it in the documentation but I haven't found something.

I don't use xdoclet, so i can't help you, sorry. I have written the part of the 
descriptor by hand, because i have made a migration from weblogic to jboss.

But I will learn xdoclet, can you give me a tip, how i can do this best or where i can 
find good examples or tutorials?

caio

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834071#3834071

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834071


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Installing JBOSS on SGI Irix

2004-05-07 Thread Hustenbolschen
Hello,

I tried to install JBOSS 3.2.3 on the IRIX and failed.

When I start run.sh, I get the message VM is not supported.

There is a JDK 1.4.1_03 installed and path and JAVA_HOME is set.

But I think SGI builds its own JDK

any idea what to do?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834070#3834070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834070


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Converting a static mulit-language site to nukes

2004-05-07 Thread chrissearle
Am evaluating nukes at the moment - looks interesting. However - I'm not sure of the 
best approach for the language handling.

The current site is multilingual (well bi-lingual) with the ability to switch language 
on the fly on each page.

By this I mean a link (currently in the heading at the top) on each page where the 
user can click on the language they want and then the system will return the same page 
but in the correct language variant.

Each article therefore has two versions - one for each language (altho the mechanism 
could cope with more).

Is there a good way to achieve this in nukes as it stands or should I be looking into 
customizing and/or new modules?

I'm currently looking into using the news, html, newsletter and polls modules.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834072#3834072

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834072


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Connecting MDB to topics registered under Pramati applicatio

2004-05-07 Thread giada
I'm interested to know if it is possible to deploy a MDB (message driven bean) in 
JBOSS that is listening to a topic that has been created under pramati application 
server.

Reading around the web I found that I should implement the interface 
JMSProviderAdapter. Do I really have to do that or there is a work around based on 
some sort of file configuration?
If I have to implement JMSProvideAdapter where can I find documentation concerning 
this activity?

I'm using JBOSS 3.0.4. Do I have to upgrade to a later version?

Thanks for your help.

Paolo Mosna.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834074#3834074

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834074


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: New LoginContext for each request...

2004-05-07 Thread nivek

 That is the expected behavior in 3.2.3. 3.2.1 could leak credentials back to the 
request thread pool and allow unauthenticated users to access secured content using 
someone else's credentials. 

Will this continue to be the same sort of behavior with 3.2.4? Thanks..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834075#3834075

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834075


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: deploying Duke's Bank application

2004-05-07 Thread magog
probably everybody! use the build.xml in the /bank dir. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834076#3834076

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834076


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - CMR field with dbindex/

2004-05-07 Thread ithehorrible
I'm using CMP 2.0 having 2 EJBs related with one PK thought CMR.  Under  
jbosscmp-jdbc.xml I have specified indexing with dbindex in main bean as PK but in 
the related bean FK column is NOT created with indexing.  I need that to be indexed as 
well, I know I can manually alter the table but its more convinient if the EJB 
deployer does it for me when tables are created. Is this a bug or there is some 
workaround?

Thanks in advance!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834077#3834077

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834077


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: tomcat not working in jboss-3.0.8_tomcat-4.1.24

2004-05-07 Thread darranl
Your question is answered at the bottom of page 2 of the getting started documentation.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834078#3834078

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834078


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Does Javassist really support the parameter variables $1

2004-05-07 Thread chiba
Is the source code given to setBody
a block surrounded by {}?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834079#3834079

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834079


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread morenito9000
Thank you Jburugupalli,

 I have an idea, better write some class similar to NestedPrincipal 
 which holds information other than the principal and set this 
 Pricipal in the ClientLoginModule instead of SimplePrincipal. 

SecurityAssociation.setPrincipal(new SimplePrincipal(username)); 

If I understood well,
I can change SimplePrincipal (creating a ModifiedSimplePrincipal)
adding the company attribute, with related method:

private String company;
public String getCompany()

and changing equals() and hashCode() methods.

I need to change ClientLoginModule in this instruction:

SecurityAssociation.setPrincipal(new ModifiedSimplePrincipal(username, company)); 

But you should write your own databaseserverloginmodule 
with minimal chnages and also yous hould override one 
or two methods from the UserNamePasswrodLoginModule... 

Here I must change getRoleSets() method of DatabaseServerLoginModule
retrieving company from the Principal and changing rolesQuery
that this LoginModule execute.

When I compile MyDatabaseServerLoginModule I have to put it
(tha class or a jar file) in the DEPLOY directory of my server instance ?
The only changes, in configuration, are inside login-config.xml
file ?

application-policy name = XMALF-policy
 
  login-module code=xxx.yyy.zzz.MyDatabaseServerLoginModule flag = required
module-option name=dsJndiNamejava:/PostgresDS/module-option
module-option name=principalsQueryselect password from utente username where 
username=?/module-option
module-option name=rolesQueryselect ente, 'Roles' from prod_ute_ente where 
username=? AND company=?/module-option
   /login-module
 
/application-policy

Hi,
Moreno



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834081#3834081

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834081


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Use JBOSS with Microsoft Access

2004-05-07 Thread qh
How can I configure an Microsfot Access databse for use by a CMP Entity Bean?  I don't 
know the correct database mapping.  Thanks.  

[EMAIL PROTECTED]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834082#3834082

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834082


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - JBoss transaction deadlock

2004-05-07 Thread fabinhu
Guys,

  i have a little problem with my application (JSP/Servlet/JBoss/JTA).
  I made some stress test, simulating 6 users with threads and make request to my 
application for access database using JTA.
  But when the transaction finish, the tables access for one user continue blocked. 
That's mean DEADLOCK. And the other users can't access and the application stops.

  Means that the transaction don't commit.

  Anyone here can help me to configure my JBoss with transaction ???

[]'s

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834083#3834083

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834083


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss transaction deadlock

2004-05-07 Thread darranl
Which JBoss version are you using?

Which database?  I have had a similar situation with some databases but not others.

What is in your *-ds.xml for the data source?

Have you changed any of the transaction settings in your deployment descriptors?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834084#3834084

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834084


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: HOW-TO - JSP/struts Flash integration ??

2004-05-07 Thread darranl
JSP with Struts is no problem (Just standard Java web app stuff).

Never done anything with Flash although isn't that just a case of packaging so it can 
be downloaded by the client.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834085#3834085

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834085


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Security and C# clients

2004-05-07 Thread JAYARAM, Sujay, FM

Hi all,

We are currently exposing session beans within JBoss as web services (using
axis) to C# clients. We want to use the declarative syntax provided by J2EE
within our beans' deployment descriptors and to use JAAS/JBoss security
features - the problem is that there seems to be no standard mechanism for a
C# client to provide it's credentials (that we know of) so that any beans
with restricted role access can never be called (or rather these calls will
return with security exception).

Have other people solved this problem in any form? One thing we have looked
at is writing an Interceptor which uses known 'user'/'password' parameters
from the C# client and attempts to do a JAAS logon at a point in the call
stack prior to the SecurityInterceptor, so as to assume the roles required
by the bean we mean to call. However this still seems to fail :-(

Any help with this would be appreciated.

Thanks
Sujay



***
The Royal Bank of Scotland plc. Registered in Scotland No 90312.   Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB.  
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the  
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender  
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The   
Royal Bank of Scotland plc does not accept responsibility for  
changes made to this message after it was sent.  
   
 
Whilst all reasonable care has been taken to avoid the   
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its   
systems or data.  No responsibility is accepted by The Royal   
Bank of Scotland plc in this regard and the recipient should carry   
out such virus and other checks as it considers appropriate.   
   
Visit our websites at: 
 
http://www.rbs.co.uk/CBFM
http://www.rbsmarkets.com 
   





---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss transaction deadlock

2004-05-07 Thread fabinhu
Th version of JBoss is 3.2.3

My application runs in Oracle, SQL Server, Postgresql...and all i had deadlock.

In my mssql-ds.xml:


  local-tx-datasource
jndi-namejdbc/XSCXPLAN/jndi-name

connection-urljdbc:microsoft:sqlserver://xplsvr01:1433;SelectMethod=cursor/connection-url
driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class
user-nameuser1/user-name
passworduser1/password
prepared-statement-cache-size0/prepared-statement-cache-size
transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation
blocking-timeout-millis1000/blocking-timeout-millis
  /local-tx-datasource



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834086#3834086

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834086


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Authentication problem, jaas, postgres,JBOSS

2004-05-07 Thread tradingbr
I did solved the problem of the error message but as I thought it wasnt much related 
to that. I already set on LOG4j.xml to set to trace level the jobss security, but I 
doest show me a error message EVER, why???
I doest give me access to the resource,  the only message I receive is:
Created securityMgr=org.jboss.plugins.JassSecurityManager
setCachePolicy, c=org.jboss.util.TimedCachePolicy
Added PlSecurity org.jboss.security.plugins.SecurityDomainContext
as Soon as I start browsing the war, but I when I attempt to login
with wrong or correct password it doest say anything.
I think the problem is not related to the client anyone can help?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834087#3834087

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834087


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Many problems, few answers

2004-05-07 Thread curtraddatz
I am trying to get JBoss running on a legacy system (non-Windows, non-Unix) which is 
running Java 1.3.1.  To verify the proper operation on our system, I am running the 
test suite that comes with JBoss.  The overwheling majority of the failures I 
encounter have the following error.

  java.lang.reflect.InvocationTargetException: javax.naming.CommunicationException: 
Receive timed out.  Root exception is java.io.InterruptedIOException: Receive timed 
out at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:392)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1192)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jboss.test.JBossTestServices.init(JBossTestServices.java:406)
at org.jboss.test.JBossTestSetup.(JBossTestSetup.java:57)
at org.jboss.test.JBossTestCase$1.(JBossTestCase.java:231)
at org.jboss.test.JBossTestCase.getDeploySetup(JBossTestCase.java:211)
at org.jboss.test.JBossTestCase.getDeploySetup(JBossTestCase.java:247)
at 
org.jboss.test.bank.test.BankEJB20StressTestCase.suite(BankEJB20StressTestCase.java:11)
at java.math.BigInteger.(BigInteger.java:0)


The receive timeout seems to be on a multicast message that is being sent out that the 
legacy system doesn't support.  There is a way to disable this using an option called 
jnp.disableDiscovery but only found one reference in all the documentation so I cannot 
determine how this gets set.  I then changed the code in the NamingContext class to 
work as if this option was set and I get the following error:

  java.lang.reflect.InvocationTargetException: javax.naming.CommunicationException: 
Could not obtain connection to any of these urls: localhost:1099at 
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1194)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at org.jboss.test.JBossTestServices.init(JBossTestServices.java:406)
at org.jboss.test.JBossTestSetup.(JBossTestSetup.java:57)
at org.jboss.test.JBossTestCase$1.(JBossTestCase.java:231)
at org.jboss.test.JBossTestCase.getDeploySetup(JBossTestCase.java:211)
at org.jboss.test.JBossTestCase.getDeploySetup(JBossTestCase.java:247)
at org.jboss.test.bmp.test.BmpUnitTestCase.suite(BmpUnitTestCase.java:130)
at java.math.BigInteger.(BigInteger.java:0)


It says it can't find this URL but if I go to a browser and enter the URL, I get a 
response.  I changed it from localhost to the actual hostname but that made no 
difference.

In that section of code there is a log method that is referenced called 
isTraceEnabled().  There is no documentation that I can find on how to set this option 
to true so it will log more information and hopefully help me with my problems.

I would appreciate any help that anyone can offer.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834088#3834088

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834088


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] Security and C# clients

2004-05-07 Thread spohl
Hi there,

Good news: I have authenticated webservice clients (in addition through HTTPS) with 
JBoss in production for several months.
The integration of axis into jboss consists of some classes that propagate BASIC HTTP 
authentication information (username/password)
to the EJB layer. You only have to secure your webservices via BASIC auth method and a 
security realm (axis has a web.xml and
jboss-web.xml somewhere under deploy/jboss-net) and find a way in your client to set 
the HTTP BASIC authentication headers.
If you find Basic auth too unsecure, use it through HTTPS.

Good luck,
S. Pohl

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von JAYARAM,
 Sujay, FM
 Gesendet: Freitag, 7. Mai 2004 15:01
 An: '[EMAIL PROTECTED]'
 Cc: BENVENUTTO, Simon, FM
 Betreff: [JBoss-user] Security and C# clients



 Hi all,

 We are currently exposing session beans within JBoss as web
 services (using
 axis) to C# clients. We want to use the declarative syntax
 provided by J2EE
 within our beans' deployment descriptors and to use
 JAAS/JBoss security
 features - the problem is that there seems to be no standard
 mechanism for a
 C# client to provide it's credentials (that we know of) so
 that any beans
 with restricted role access can never be called (or rather
 these calls will
 return with security exception).

 Have other people solved this problem in any form? One thing
 we have looked
 at is writing an Interceptor which uses known
 'user'/'password' parameters
 from the C# client and attempts to do a JAAS logon at a point
 in the call
 stack prior to the SecurityInterceptor, so as to assume the
 roles required
 by the bean we mean to call. However this still seems to fail :-(

 Any help with this would be appreciated.

 Thanks
 Sujay



 **
 *
 The Royal Bank of Scotland plc. Registered in Scotland No
 90312.   Registered Office: 36 St Andrew Square,
 Edinburgh EH2 2YB.
 Authorised and regulated by the Financial Services Authority

 This e-mail message is confidential and for use by the

 addressee only. If the message is received by anyone other

 than the addressee, please return the message to the sender
 by replying to it and then delete the message from your

 computer. Internet e-mails are not necessarily secure. The

 Royal Bank of Scotland plc does not accept responsibility for

 changes made to this message after it was sent.



 Whilst all reasonable care has been taken to avoid the

 transmission of viruses, it is the responsibility of the
 recipient to
 ensure that the onward transmission, opening or use of this

 message and any attachments will not adversely affect its

 systems or data.  No responsibility is accepted by The Royal

 Bank of Scotland plc in this regard and the recipient should carry
 out such virus and other checks as it considers appropriate.


  Visit our
 websites at:

 http://www.rbs.co.uk/CBFM

 http://www.rbsmarkets.com



 **
 **



 ---
 This SF.Net email is sponsored by Sleepycat Software
 Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
 deliver higher performing products faster, at low TCO.
 http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Port already in use - Jboss 3.2.3 Problem

2004-05-07 Thread Ulf.Klaas
Hi,

i found a solution for the problem:
:)

http://www.jsiinc.com/SUBO/tip7000/rh7082.htm

The same problem occurs with Proxy 2.0 Server from Microsoft. So look in the Knowledge 
Base or Google for more Information.

Hope, this will help the community!

Greetings,
Ulf

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834089#3834089

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834089


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Updating entity bean fields using BeanUtils

2004-05-07 Thread roger_cmu
Thanks. I'll try that.

- Roger

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834090#3834090

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834090


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Change rolesQuery in DatabaseServerLoginModule

2004-05-07 Thread jburugupalli
Yes exactly, i tried every thing exceot writing my own Principal class , and it should 
not be a problem, in my case i assign a valid session after the user logs in, and this 
session ID is set as a credential and checked every time if it has expired,

Please put all of your own classes in a separate jar file and put it in the 
server/mode(default)/lib directory

thats it 

regards
Jani

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834091#3834091

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834091


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Which JAR is needed to use org.jboss.security.auth.callback.

2004-05-07 Thread tradingbr
jboss-jaas.jar doest seem to be, which one should I put on my classpath?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834092#3834092

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834092


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Using Password Hashing problem !!???

2004-05-07 Thread pagomen
Hi all,

In my database I have the following table in order to keep users and each roles :


  | CREATE TABLE public.jboss_users
  | (
  |   id bigserial NOT NULL,
  |   name varchar(64),
  |   passwd varchar(100),
  |   therole varchar(100),
  |   CONSTRAINT jboss_users_pkey PRIMARY KEY (id)
  | ) 
  | 

and my login-config.xml :

  | application-policy name=sms
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option name=dsJndiNamejava:/PostgresDS/module-option
  | module-option name=principalsQuery select passwd from Jboss_users 
where name=?/module-option
  | module-option name=rolesQuery select therole,'Roles' from 
Jboss_users where name=?/module-option
  | /login-module
  | /authentication
  | 
  | /application-policy
  | 
Until now all goes fine BUT when I tried to use password hashing technique I get a 
login error.
I change my login-config.xml to 

  | application-policy name=sms
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option name=dsJndiNamejava:/PostgresDS/module-option
  | module-option name=hashAlgorithmMD5/module-option
  | module-option name=hashEncodingbase64/module-option
  | module-option name=principalsQuery select passwd from Jboss_users 
where name=?/module-option
  | module-option name=rolesQuery select therole,'Roles' from 
Jboss_users where name=?/module-option
  | /login-module
  | /authentication
  | /application-policy
  | 

Also in database the password is stored in MD5 format:


  | java -classpath ./jbosssx.jar org.jboss.security.Base64Encoder passwd MD5
  | 

Did I miss something ??
Does anyone succeed setting up this password hashing feature ??

Thanks in advance 
George

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834093#3834093

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834093


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss transaction deadlock

2004-05-07 Thread fabinhu
And...

That's the exception:

[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Transaction (Process ID 68) was 
deadlocked on {lock} resources with another process and has been chosen as the 
deadlock victim. Rerun the transaction.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834094#3834094

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834094


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - jboss-4.0.0DR3: could not load class: JDBCKeyGeneratorCreate

2004-05-07 Thread Dirlewanger_Klaus
Hello together,

im just trying to migrate to JBoss version 4 (jboss-4.0.0DR3). I installed it, 
started ist, set up an initial server configuration, started it again, all works fine.

But now I deployed an EAR-File that works fine on JBoss version 3 
(jboss-3.2.0RC3_tomcat-4.1.18), started it and the server has some problems:


  | org.jboss.deployment.DeploymentException: Could not load class: 
org.jboss.ejb.plugins.cmp.jdbc.JDBCKeyGeneratorCreateCommand
  | at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.init(JDBCEntityCommandMetaData.java:62)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.init(JDBCEntityMetaData.java:799)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.init(JDBCApplicationMetaData.java:311)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:81)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:710)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:408)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:356)
  | at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)
  | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:344)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
  | at $Proxy17.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:360)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | at $Proxy47.start(Unknown Source)
  | at org.jboss.ejb.EjbModule.startService(EjbModule.java:344)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:828)
  | at $Proxy17.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:360)
  | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
  | at 

[JBoss-user] [Security JAAS/JBoss] - Re: Form-based Login question

2004-05-07 Thread anbenham
Hi, Here is an example:


  | import java.io.IOException;
  | 
  | import javax.servlet.*;
  | import javax.servlet.http.*;
  | 
  | 
  | public class InitFilter implements Filter {
  | 
  | private FilterConfig config;
  | 
  | /**Init.
  |  * @see javax.servlet.Filter#init(javax.servlet.FilterConfig)
  |  */
  | public void init(FilterConfig config) throws ServletException {
  | this.config = config;
  | }
  | 
  | /[EMAIL PROTECTED] javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, 
  |  * javax.servlet.ServletResponse, javax.servlet.FilterChain)
  |  */
  | public void doFilter(ServletRequest request, ServletResponse response, FilterChain 
chain) throws IOException, ServletException {
  |
  | HttpServletRequest req = (HttpServletRequest) request;
  | HttpServletResponse resp = (HttpServletResponse) response;
  | if(this.isInitialized())
  | chain.doFilter(request, response);
  | else
  |resp.sendRedirect(resp.encodeRedirectURL(req.getContextPath() + 
/initServlet));
  | 
  | }
  | 
  | private boolean isInitialized(HttpServletRequest requets){
  |   //check 
  | return result;
  | }
  | 

Maybe you wont need the initSevlet anymore, just start the initialization from the 
filter

Hope could help

ciao
anis

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834096#3834096

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834096


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Table not found

2004-05-07 Thread aquafresh
Hello, 

I have a problem when I want to access a database via my session bean 

I use:
- Jboss3.2.3 on Windows XP pro
-  postgresql 7.4 db on linux mandrake 9.1
- jdk1.4

I have got a MDB that listening on a topic, when it receives a message a session bean 
is instanciated and this one gets records from a database. But after deploying my 
beans and start my publisher I have got the following error display in Jboss console: 
16:30:07,808 ERROR [STDERR] java.sql.SQLException: Table not found: IS_DBCLEANING in 
statement [select lastcleandate from is_dbcleaning]

My xml files are: 
AdminDB-ds.xml 


local-tx-datasource 
jndi-nameAdminDB/jndi-name 
connection-urljdbc:postgresql://svt-lmk91:5432/AdminDB/connection-url 
driver-classorg.postgresql.Driver/driver-class 
user-namepostgres/user-name 


new-connection-sqlselect * from is_protocol/new-connection-sql  

check-valid-connection-sqlselect * from is_protocol/check-valid-connection-sql 

/local-tx-datasource 



ejb-jar.xml: 
?xml version=1.0 encoding=ISO-8859-1? 
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN 
http://java.sun.com/dtd/ejb-jar_2_0.dtd; 

ejb-jar 

Deployment descriptor for the MDBTest 
display-nameXferAgent/display-name 
enterprise-beans 

message-driven 
Mdb for messages recieved about the test 
display-nameMessage Driven Bean MdbTest/display-name 
ejb-nameMdbTest2/ejb-name 
ejb-classcom.iratensolutions.mdbDB.MdbTest2/ejb-class 
transaction-typeBean/transaction-type 
acknowledge-modeAuto-acknowledge/acknowledge-mode 
message-driven-destination 
destination-typejavax.jms.Topic/destination-type 
subscription-durabilityNotDurable/subscription-durability 
/message-driven-destination 

ejb-local-ref 
ejb-ref-nameejb/SessionTestLocalHome/ejb-ref-name 
ejb-ref-typeSession/ejb-ref-type 
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home 
com.iratensolutions.mdbDB.SessionTestLocal 
ejb-linkSessionTestBean/ejb-link 
/ejb-local-ref 
/message-driven 


ejb-nameSessionTestBean/ejb-name 
local-homecom.iratensolutions.mdbDB.SessionTestLocalHome/local-home 
com.iratensolutions.mdbDB.SessionTestLocal 
ejb-classcom.iratensolutions.mdbDB.SessionTestBean/ejb-class 
session-typeStateless/session-type 
transaction-typeBean/transaction-type 

resource-ref 
res-ref-namejdbc/AdminDB/res-ref-name 
res-typejavax.sql.DataSource/res-type 
res-authContainer/res-auth 
/resource-ref 



/enterprise-beans 
/ejb-jar 

jboss.xml: 

?xml version=1.0 encoding=UTF-8? 

!DOCTYPE jboss PUBLIC 
-//JBoss//DTD JBOSS 3.2//EN 
http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd; 


enterprise-beans 
message-driven 
ejb-nameMdbTest2/ejb-name 
destination-jndi-nametopic/testTopic/destination-jndi-name 
/message-driven 



ejb-nameSessionTestBean/ejb-name 
local-jndi-nameSessionLocalHome/local-jndi-name 
jndi-nameSessionLocalHome/jndi-name 
resource-ref 
res-ref-namejdbc/AdminDB/res-ref-name 
resource-nameAdminDB/resource-name 
jndi-namejava:/AdminDB/jndi-name 
/resource-ref 

/enterprise-beans 



Thanks for any help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834097#3834097

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834097


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: SQLException: table not found

2004-05-07 Thread aquafresh
unfortunately I obtain still the same error.
I have try a lot of way to specify the jndi but still get the same error.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834099#3834099

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834099


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - error de execution of tagLib

2004-05-07 Thread carlosgyn
Hi,
 I am executing one tagLib in the Jboss-3.2.3 and in the hour of the execution of 
doStartTag() and the following error it appears:

11:16:51,219 ERROR [Engine] ApplicationDispatcher[/sibnc] Servlet.service() for 
servlet jsp threw exception

It sees stretch of metodo:

public int doStartTag() throws JspException{
try{
   strBuffer.append(EN \n);
   strBuffer.append( \n);
   ...
   ...
   bodyContent.print(strBuffer.toString());
   bodyContent.writeOut(getPreviousOut());
}catch(IOException ex){
throw new JspException(ex.getMessage());
}
  return  SKIP_BODY; 
}

public int doEndTag() throws JspException{
   return (EVAL_PAGE);
}





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834100#3834100

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834100


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: ejbSelect with MAX()

2004-05-07 Thread [EMAIL PROTECTED]
Hi timkk,

Please have a look on my reply here:

http://www.jboss.org/index.html?module=bbop=viewtopict=47782

Cheers,
Frank

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834101#3834101

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834101


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - error de execution of tagLib

2004-05-07 Thread carlosgyn
Hi, 
I am executing one tagLib in the Jboss-3.2.3 and in the hour of the execution of 
doStartTag() and the following error it appears: 

11:16:51,219 ERROR [Engine] ApplicationDispatcher[/sibnc] Servlet.service() for 
servlet jsp threw exception 

It sees stretch of metodo: 
public int doStartTag() throws JspException{
try{
strBuffer.append(EN);
strBuffer.append();
 
bodyContent.print(strBuffer.toString());
bodyContent.writeOut(getPreviousOut());
  


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834102#3834102

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834102


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] Security and C# clients

2004-05-07 Thread Sreedhar, Dantam
Hi,

In one of our applications we have used the following architecture (this
works only in *intranet*)

1) Expose a servlet called authenticate using jCIFS
(http://jcifs.samba.org/). This servlet gets the NTLM user credentials
and check for authentication against database. If the user is allowed,
then returns a sessionId, else returns a error message.
2) All SOAP methods expect session id as one of the arguments. The
server code checks the submitted sessionId against stored list of
sessionIds. If the submitted sessionId is valid, then proceed to do the
business logic, else return an error.
3) C# client calls authenticate servlet and gets a valid session Id and
the client submits this session for each SOAP method call.
4) The server should also have own implementation of expiring the
session after certain duration.

We have used this logic in two of our projects and they are working fine
with out any problem.

-Sreedhar

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JAYARAM,
Sujay, FM
Sent: Friday, May 07, 2004 6:31 PM
To: '[EMAIL PROTECTED]'
Cc: BENVENUTTO, Simon, FM
Subject: [JBoss-user] Security and C# clients



Hi all,

We are currently exposing session beans within JBoss as web services
(using
axis) to C# clients. We want to use the declarative syntax provided by
J2EE
within our beans' deployment descriptors and to use JAAS/JBoss security
features - the problem is that there seems to be no standard mechanism
for a
C# client to provide it's credentials (that we know of) so that any
beans
with restricted role access can never be called (or rather these calls
will
return with security exception).

Have other people solved this problem in any form? One thing we have
looked
at is writing an Interceptor which uses known 'user'/'password'
parameters
from the C# client and attempts to do a JAAS logon at a point in the
call
stack prior to the SecurityInterceptor, so as to assume the roles
required
by the bean we mean to call. However this still seems to fail :-(

Any help with this would be appreciated.

Thanks
Sujay




***
The Royal Bank of Scotland plc. Registered in Scotland No 90312.
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.

Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the

addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender  
by replying to it and then delete the message from your

computer. Internet e-mails are not necessarily secure. The

Royal Bank of Scotland plc does not accept responsibility for  
changes made to this message after it was sent.

 

Whilst all reasonable care has been taken to avoid the

transmission of viruses, it is the responsibility of the recipient to

ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its   
systems or data.  No responsibility is accepted by The Royal   
Bank of Scotland plc in this regard and the recipient should carry   
out such virus and other checks as it considers appropriate.   
 
Visit our websites at:

http://www.rbs.co.uk/CBFM

http://www.rbsmarkets.com

 





---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] [Beginners Corner] - Using Password Hashing problem !!???

2004-05-07 Thread Janardhan Burugupalli
it works fine for me

Did u check if the database really contains a MD5 enrypted and Base64
encoded stringas u specified it is only md5 encrypted ...just check it
if not remove the Base64 propertybut it is better to save then base64
encoded in the database if not

regards
JB

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von pagomen
Gesendet: Freitag, 7. Mai 2004 15:27
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] [Beginners Corner] - Using Password Hashing
problem !!???


Hi all,

In my database I have the following table in order to keep users and each
roles :


  | CREATE TABLE public.jboss_users
  | (
  |   id bigserial NOT NULL,
  |   name varchar(64),
  |   passwd varchar(100),
  |   therole varchar(100),
  |   CONSTRAINT jboss_users_pkey PRIMARY KEY (id)
  | )
  |

and my login-config.xml :

  | application-policy name=sms
  | authentication
  | login-module
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option name=dsJndiNamejava:/PostgresDS/module-option
  | module-option name=principalsQuery select passwd from Jboss_users
where name=?/module-option
  | module-option name=rolesQuery select therole,'Roles' from
Jboss_users where name=?/module-option
  | /login-module
  | /authentication
  |
  | /application-policy
  |
Until now all goes fine BUT when I tried to use password hashing technique I
get a login error.
I change my login-config.xml to

  | application-policy name=sms
  | authentication
  | login-module
code=org.jboss.security.auth.spi.DatabaseServerLoginModule
  | flag=required
  | module-option name=dsJndiNamejava:/PostgresDS/module-option
  | module-option name=hashAlgorithmMD5/module-option
  | module-option name=hashEncodingbase64/module-option
  | module-option name=principalsQuery select passwd from Jboss_users
where name=?/module-option
  | module-option name=rolesQuery select therole,'Roles' from
Jboss_users where name=?/module-option
  | /login-module
  | /authentication
  | /application-policy
  |

Also in database the password is stored in MD5 format:


  | java -classpath ./jbosssx.jar org.jboss.security.Base64Encoder passwd
MD5
  |

Did I miss something ??
Does anyone succeed setting up this password hashing feature ??

Thanks in advance
George

View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834093#3834093

Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834093


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - DB2 hangs when remove invoked.

2004-05-07 Thread ebrain13
Hello,

I am using jboss 3.2.1 and DB2 as database, on invoking remove of an ejb (CMP 2.0) 
sometimes the query formed to load the ejb by the jboss server is as shown below where 
PK is the primary key field of the entity.

SELECT PK,WORKING_DAY_NUMBER, CALENDAR_DATE, COMPANY_PK, OWNER_PK, PROPERTY, 
FIXED_HOLIDAY_PK, DAY_PK, OVERRIDDEN_DAY_PK, FIXED_HOLIDAY_PK, OVERRIDDEN_DAY_PK, 
DAY_PK FROM CALENDARDATE WHERE (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR 
(PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) 
OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?) OR (PK=?)

And after this the database hangs, the transaction times out and i have to reboot the 
machine. 

Please comment.

thanks  regards,
Vikram Naik

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834103#3834103

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834103


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: SQLException: table not found

2004-05-07 Thread darranl
Have you had a look at JNDI View to see what is bound?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834104#3834104

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834104


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-07 Thread ebrain13
hi,

I think the ejb-ql should look like 

ejb-qlSELECT OBJECT(o) FROM CifCommon AS o WHERE o.custNr = ?1/ejb-ql

You were missing AS in the query.

HTH

Vikram Naik


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834105#3834105

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834105


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - passowrd protecting web page(Need help)

2004-05-07 Thread justsree

Hai all, I am new to Jboss and want to configure my jboss server to protect my web 
pages with password protection
 
i need the complete example how to protect.

and my database server is mysql server

thank u in advance



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834106#3834106

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834106


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Form-based Login question

2004-05-07 Thread mwallner
Thanks a lot!
- Markus

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834107#3834107

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834107


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


AW: [JBoss-user] Security and C# clients

2004-05-07 Thread spohl
Hi again,

the problem with NTLM is that is has to be 'spoken' by the client. Currently only IE 
supports NTLM natively, so only webservice
client stubs that uses the HTTP libraries of the local installed IE will work 
properly!!! We have encountered problems with using
the IE-stack (in some intranet configurations there are download options configured: 
such as setting the proxy and configuration
locally with a template from a domain controller or so... If such a configuration is 
broken you'll have to wait for a timeout [15-30
seconds] and will encounter this time on every webservice invocation:-((( ) BEWARE of 
using IE (and it's configuration settings)
behind the scenes! There are several postings about this phenomenon (waiting 15-20 
secs before a ws-invocation starts) in the jboss
and other forums.
I prefer to integrate a whole HTTP stack in applications, not relying on local 
configurations. Then it's the question what this
stack supports, whether you can enhance it with the NTLM protocol (if u have to use 
it) or so.
Another hint: You can implement the JCIFS servlet as Tomcat Valve, so that no extra 
login servlet step is needed: In intranet
environments you won't have to supply login/password and over the internet/out of 
domain you could be asked for login credentials by
your application because of the BASIC auth fallback in the JCIFS servlet. Anyone 
interested in the valve code?

PS: What about opening a thread in the jboss forums so that other people can search 
for this?

Kind regards,
S. Pohl

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von 
 Sreedhar,
 Dantam
 Gesendet: Freitag, 7. Mai 2004 17:06
 An: [EMAIL PROTECTED]
 Betreff: RE: [JBoss-user] Security and C# clients
 
 
 Hi,
 
 In one of our applications we have used the following 
 architecture (this
 works only in *intranet*)
 
 1) Expose a servlet called authenticate using jCIFS
 (http://jcifs.samba.org/). This servlet gets the NTLM user credentials
 and check for authentication against database. If the user is allowed,
 then returns a sessionId, else returns a error message.
 2) All SOAP methods expect session id as one of the arguments. The
 server code checks the submitted sessionId against stored list of
 sessionIds. If the submitted sessionId is valid, then proceed 
 to do the
 business logic, else return an error.
 3) C# client calls authenticate servlet and gets a valid 
 session Id and
 the client submits this session for each SOAP method call.
 4) The server should also have own implementation of expiring the
 session after certain duration.
 
 We have used this logic in two of our projects and they are 
 working fine
 with out any problem.
 
 -Sreedhar
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of JAYARAM,
 Sujay, FM
 Sent: Friday, May 07, 2004 6:31 PM
 To: '[EMAIL PROTECTED]'
 Cc: BENVENUTTO, Simon, FM
 Subject: [JBoss-user] Security and C# clients
 
 
 
 Hi all,
 
 We are currently exposing session beans within JBoss as web services
 (using
 axis) to C# clients. We want to use the declarative syntax provided by
 J2EE
 within our beans' deployment descriptors and to use 
 JAAS/JBoss security
 features - the problem is that there seems to be no standard mechanism
 for a
 C# client to provide it's credentials (that we know of) so that any
 beans
 with restricted role access can never be called (or rather these calls
 will
 return with security exception).
 
 Have other people solved this problem in any form? One thing we have
 looked
 at is writing an Interceptor which uses known 'user'/'password'
 parameters
 from the C# client and attempts to do a JAAS logon at a point in the
 call
 stack prior to the SecurityInterceptor, so as to assume the roles
 required
 by the bean we mean to call. However this still seems to fail :-(
 
 Any help with this would be appreciated.
 
 Thanks
 Sujay
 
 
 
 **
 **
 ***
 The Royal Bank of Scotland plc. Registered in Scotland No 90312.
 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
 
 Authorised and regulated by the Financial Services Authority 
  
 This e-mail message is confidential and for use by the
 
 addressee only. If the message is received by anyone other
  
 than the addressee, please return the message to the sender  
 by replying to it and then delete the message from your
 
 computer. Internet e-mails are not necessarily secure. The
 
 Royal Bank of Scotland plc does not accept responsibility for 
  
 changes made to this message after it was sent.
 
  
 
 Whilst all reasonable care has been taken to avoid the
 
 transmission of viruses, it is the responsibility of the recipient to
 
 ensure that the onward transmission, opening or use of this   
   
 message and any attachments will not adversely affect its 
   
 systems or data.  No 

[JBoss-user] [Beginners Corner] - Re: SQLException: table not found

2004-05-07 Thread [EMAIL PROTECTED]
I have deleted your cross post to the JBoss/JCA forum.
I already posted you a link on how to behave properly in public forums.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834108#3834108

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834108


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBossLocalXAException

2004-05-07 Thread [EMAIL PROTECTED]
Can you post the TRACE logging mentioned in the READ THIS FIRST

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834109#3834109

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834109


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Connecting MDB to topics registered under Pramati applic

2004-05-07 Thread [EMAIL PROTECTED]
The simplist mechanism is to bind Pramati's connection factories and queues
into JBoss's JNDI using the ExternalContextMBean

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834111#3834111

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834111


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - stop directory listing

2004-05-07 Thread aanand
Hi, 
Iam using jboss 3.2.3/Apache Tomcat/4.0.6 
How do I disable directory listing for example when I enter this URL I can all 
contents under the directory .. 

http://localhost:/test 

Where is the tomcat conf file. I know this is doable in Apache but how to do this in 
Jboss/Tomcat environment. 

Thanks. 
--Anand

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834112#3834112

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834112


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - datasource and singleton

2004-05-07 Thread greiff
simple question:

to avoid expensive JNDI lookups to datasource is it possible to use the singleton 
pattern for datasources ?

Torsten


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834113#3834113

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834113


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JbossMQ Error at Heavly load

2004-05-07 Thread [EMAIL PROTECTED]
The error says the server is not responding to pings.
Unless this is due to a network failure, it would have to be unresponsive for 60
seconds (the default PingPeriod).

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834114#3834114

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834114


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB to talk to remote queue via HTTP tunelling

2004-05-07 Thread [EMAIL PROTECTED]
You will have to implement a new version of JBossMQProvider.

The default implementation assumes uses the jnp/rmi factory.
http://cvs.sourceforge.net/viewcvs.py/jboss/jboss/src/main/org/jboss/jms/jndi/JBossMQProvider.java?rev=1.9view=auto


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834115#3834115

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834115


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: passowrd protecting web page(Need help)

2004-05-07 Thread kabkhan
There's an example in the Getting Started docs. IIRC in the wiki as well.

Cheers,

Kab

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834116#3834116

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834116


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to fill the pool due to timeout!

2004-05-07 Thread [EMAIL PROTECTED]
Please read READ THIS FIRST.
You are unlikely to get a response unless you at least post the full error message.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834117#3834117

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834117


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: datasource and singleton

2004-05-07 Thread [EMAIL PROTECTED]
Yes, the DataSource is a factory. Singleton caching works with any factory that has
been coded correctly (i.e. it is thread safe).

In fact, the JBossCMP engine does this.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834118#3834118

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834118


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: datasource and singleton

2004-05-07 Thread greiff
thanks for your quick reply adrion
it's a helpful information

Torsten

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834119#3834119

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834119


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss transaction deadlock

2004-05-07 Thread stscit04
Hi,

when does the lock ocour ? on 
ejbFind or on the first invokation of an beans getXX / setXXX method ?

Stefan

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834120#3834120

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834120


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: New LoginContext for each request...

2004-05-07 Thread vphagura
Thanks to Jani for the code. Of course, Tomcat valve would be also helpful. Looking 
forward to an answer to nivek's query !!

Vijay

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834122#3834122

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834122


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: [AbstractInstanceCache] failed to passivate

2004-05-07 Thread afleet
Hi Adrian,
   I thought this may be the issue, so I checked the spec prior to
posting.  On page 77, when listing the data types that are valid
for passivation it says..

 A reference to the environment naming context 
(that is, the java:comp/env JNDI context)  or any of its subcontexts. 

Since my instance variable is set thus;

myInitialContext = new InitialContext();
myInitialContext =(Context)myInitialContext.lookup(java:comp/env);

I thought I was OK - have I misunderstood?

Thanks,

Andy

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834123#3834123

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834123


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: stop directory listing

2004-05-07 Thread jlward4
Check out the web.xml file in your deploy/jbossweb-tomcat41.sar dir (Or similar 
depending on your version of JBoss).  Look for listings.  I think this is documented 
pretty well in that file.

I hope that helps.

-James

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834124#3834124

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834124


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Unable to fill the pool due to timeout!

2004-05-07 Thread aboudank
Adrian, 

Thank u for your response.

I have been trying to get the failure again and I could not! It scares me because I 
have not changed anything and I re-ran the test several times without the error. I did 
search for the error message in JBoss 3.2.3 source and I found it in 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool module:

   public void fillToMin()
  |{
  |   boolean gotPermit = false;
  |   try
  |   {
  |  if (permits.attempt(poolParams.blockingTimeout))
  |  {
  | gotPermit = true;
  | while (true)
  | {
  |synchronized (cls)
  |{
  |   if (shutdown)
  |  return;
  | 
  |   // We have enough connections now
  |   if (getMinSize() - connectionCounter.getGuaranteedCount() = 0)
  |  return;
  | 
  |   try
  |   {
  |  ConnectionListener cl = 
createConnectionEventListener(defaultSubject, defaultCri);
  |  cls[++currentPoolIndex] = cl;
  |   }
  |   catch (ResourceException re)
  |   {
  |  log.warn(Unable to fill pool , re);
  |  return;
  |   }
  |}
  | }
  |  }
  |  else
  |  {
  | // we timed out
  | log.warn(Unable to fill the pool due to timeout (  +
  |   poolParams.blockingTimeout +  [ms] ));
  |  }
  |   }
  |   catch (InterruptedException ie)
  |   {
  |  log.warn(Interrupted while requesting permit!);
  |   }
  |   finally
  |   {
  |  if (gotPermit)
  | permits.release();
  |   }
  |} 

This is the first time that I look into JBoss code so it is going to take me a while 
to know what is going on...therefore I would appreciate any extra help to expedite the 
process. 

Thank you again.

Regards,
aboudank


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834125#3834125

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834125


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Remote administration

2004-05-07 Thread emibap
Thanks a Lot!!!

Another one... how do I password protect them?

Emiliano Angelini
Panarea Inc.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834126#3834126

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834126


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >