[JBoss-user] [JBossWS] - Re: Namespace problem with JBossWS generated SOAP

2005-08-07 Thread dietmarposselt
Hi there,

Unfortunately the soap has been treated as html...

so again:

The working soap (by JBossNet/AXIS)

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  < QuickOrder xmlns="http://api.company.com/webtrust/order";>
< Request>


The bad SOAP (by wscompile/JBoss-AXIS):

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

  http://api.company.com/webtrust/order";>
   < Request>

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=347#347

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=347


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: What jar file contains org.jboss.jmx.adaptor.model.MBean

2005-08-07 Thread vinaypurohit
Its part of the jmx-console web application.

see JBOSS_HOME/server/default/deploy/jmx-console.war/WEB-INF/classes

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=345#345

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=345


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-07 Thread bstansberry
"drzewo" wrote : I'll try to convince Remy (that might be tough though and 
might take some time, AFAIK Remy is off for vacation till August 16th) to 
enhance the SingleSignOn valve with optional logic, as a the described by me 
use case, I believe is a common scenario for those who use SSO.

I'm curious about your use case (always like to know the different ways things 
are used).  Typically when I've written webapps, if a user has not accessed the 
app for a while, I want their session to invalidate so I can free resources.  
Obviously I don't want the timeout of one session to affect others, but the SSO 
valve is designed to prevent that.  I can imagine scenarios where keeping all 
sessions alive would be useful, but would be interested to know a real one.

"drzewo" wrote : To be precise, to me, it would be much more appropriate and in 
the spirit of Remy's point of view if the logout action (session.invalidate() 
on one of the federeated sessions) removed an entry in the SSO cache only, 
leaving non-invalidated sessions untouched. Now, if another request arrived 
with the SSO id, the valve would do nothing as there's no such entry in the SSO 
cache, therefore user would heave to reauthenticate. Of course I might miss 
something.

If the user accessed an app for which the session was not invalidated, they 
would not have to authenticate (and so you'd have single sign on but not single 
sign out).  The Authenticator for each web app caches the credentials for the 
user in the session itself and uses them to reauthenticate users with valid 
sessions.  The SSO valve caches credentials presented to one web app and makes 
them available to other webapps, but its support is not needed once the user 
has authenticated to an app.

Best regards,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=344#344

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=344


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Threads, sessions, connections, and XA

2005-08-07 Thread javajedi
I've got an app that has been using non-XA JMS.  I use a single JMS connection, 
with several sessions, each of which runs in its own thread.  When I switched 
the app to us XA JMS, I started seeing the various sessions use the same 
thread.  Does this sound like expected behavior?  Is there any way to get XA 
JMS to give each session its own thread?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=343#343

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=343


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-07 Thread bstansberry
I've thought about your problem more and realize my suggestion will not be 
reliable with the clustered version of SSO.

As you've seen, there are two areas where ClusteredSingleSignOn maintains 
information about sessions associated with a sign-on.  The first is the set of 
session id's maintained in the SSO's node in the TreeCache.  This is used to 
provide global information to all nodes in the cluster about the complete set 
of sessions associated with the SSO.  If a node removes the last entry from the 
set (due to session timeout), it invalidates the SSO.  Really this set is just 
used for this purpose.  The SSO node in the TreeCache only maintains session 
id's, not the sessions themselves because 1) the session id is all that's 
needed; the session is too heavy for the purpose and 2) session replication is 
a complex business, far beyond the scope of the SSO valve.

Each node that has been accessed by a user also maintains a SingleSignOnEntry 
cached in the valve itself.  This object maintains an array of sessions that 
have been accessed on that node.  This array is used so the node can invalidate 
any sessions active on that node if a logout occurs.  If other sessions exist 
on other nodes, it is the responsibility of those other nodes to invalidate 
those sessions.

So, within the context of ClusteredSingleSignOn, on an individual node there is 
no place where all sessions associated with the SSO are guaranteed to be 
accessible.  If all the apps that use SSO are distributable, then all the 
session data will be in the tree cache, but to access the sessions you would 
need to be able to find the Manager instance associated with each app.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=341#341

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=341


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Accessing the JBossBossManagedConnectionPool MBean

2005-08-07 Thread vinaypurohit
Hi, 

I have an application deployed on Weblogic that I am migrating to JBOSS 4.0.2. 

As part of the application, I access the Weblogic MBean Server to access 
connection pool information and perform operations on the connection pool 
programatically. 

Psuedo Code: 
// Get Inital context 
// Get the MBeanHome using IntialContext 
// Get the weblogic.management.configuration.JDBCConnectionPoolMBean and 
weblogic.management.runtime.JDBCConnectionPoolRuntimeMBean
// from the MBeanHome 
// Call either the shrink() or the reset() methods on the 
JDBCConnectionPoolRuntimeMBean 
// Call the methods on the JDBCConnectionPoolMBean to get pool properties

I would like to migrate this functionality to JBOSS
For Jboss, I had a look at the JMX Console (ManagedConnectionPool). 

Right now, I am accessing the JBOSS Mbean Server though a utility class that 
makes use of the JMX-Console classes (org.jboss.jmx.adaptor.control.Server, 
org.jboss.jmx.adaptor.control.OpResultInfo etc.)

I pass the the names as "jboss.jca:service=ManagedConnectionPool,*" to retrieve 
connection pool information 
and perform operations (flush, stop etc.) on the pools by calling the 
Server.invokeOpByName method, to which I pass the operation names.

The question is, like in Weblogic- Is there a way I can directly access the 
object of
org.jboss.resource.connectionmanager.JBossManagedConnectionPool  and call 
operations on the same

Psuedo Code: 
//JBossManagedConnectionPool pool = //get access to the object
//pool.flush()
or
//pool.stop()

cheers 
vinay

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=337#337

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=337


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Implementation of mandate-type access

2005-08-07 Thread niwhsa
Seems like you have to define a custom implementation of the RealmMapping 
interface. The interface defines a method 
anonymous wrote : 
  | /** Validates the application domain roles to which the operational
  | environment Principal belongs.
  | @param principal the caller principal as known in the operation 
environment.
  | @param roles The Set for the application domain roles that the
  |  principal is to be validated against.
  | @return true if the principal has at least one of the roles in the 
roles set,
  | false otherwise.
  |  */
  | public boolean doesUserHaveRole(Principal principal, Set roles);
  | 

Your implementation can return true/false based on the mandate level. You might 
also need to define a custom login module (only your requirements will define 
this need) that gets the mandate value into the subject.

On complete details on how to implement a custom security manager and custom 
login modules (for the JAAS security manager) please read
anonymous wrote : 
  | http://docs.jboss.org/jbossas/admindevel326/html/ch8.chapter.html
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=336#336

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=336


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP Authentication

2005-08-07 Thread niwhsa
any exceptions?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=335#335

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=335


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: has anyone managed to run the program in the top entry o

2005-08-07 Thread niwhsa
Seems like you dont ahve a auth.conf file for your client application. Try 
providing the system property -D while calling java as follows.
anonymous wrote : 
  | -Djava.security.auth.login.config=${full_path_to_auth.conf}
  | 

There is a more detailed thread on this available in the same forum.
anonymous wrote : 
  | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=66605
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=334#334

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=334


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Error: detached entity passed to persist

2005-08-07 Thread sumit_chawla
Never mind, it's working now.

See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=331#331 
for what I changed to make it work.

Can someone please fix the JBoss IDE tutorial?

While we are at it, can someone please fix the JBoss IDE so it works with 
Eclipse 3.1? I am using the bundled Eclipse build; the plug-in gives some 
problems with latest Eclipse, as you may already be aware.

This is great stuff btw! Keep it up!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=332#332

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=332


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Jboss Administration

2005-08-07 Thread sunilbhoriwal
Hi,
Could anybody please tell me about a parameter which can limit the post request 
size. I know Websphere does provide a parameter (LimitRequestBody) but does 
JBoss has such parameter. I searched all the cinfiguration files but could not 
find any parameter.

Sunil

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=330#330

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=330


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - My server can't follow my deployement map from Bean to table

2005-08-07 Thread gberish
Hi,

Can anyone help?

I put my deployment code for a simple test app to create an entity bean below.

My problem is that I have two database resources:
  DefaultDS (database named jbossdb) and
  ejbTestDS (database named ejbtestdb)

I thought the code below would mapped my OneBean class to the ejbtestdb.members 
table.

But the server keeps trying to persist it in DefalutDS (the jbossdb database) 
where there is no members table.

Can anyone point me to where I went wrong?

[JBoss Home]/server/default/deploy/mysql-ds.xml
  |   
  | DefaultDS
  | jdbc:mysql://localhost:3306/jbossdb
  | com.mysql.jdbc.Driver
  | 
  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  |   mySQL
  | 
  |   
  | 
  |   
  | ejbTestDS
  | jdbc:mysql://localhost:3306/ejbtestdb
  | com.mysql.jdbc.Driver
  | 
  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  |   mySQL
  | 
  |   
  | [JBoss Home]/server/default/conf/standardjbosscmp-jndi.xml
  | 
  |   
  | java:/DefaultDS
  | mySQL
  | ...
  |   
  | 
  |   
  | 
  |   mySQL
  |   ...
  | 
  |   
  | [app.ear/app-ejb.jar/META-INF/jboss.xml
  | 
  |   
  |   
  | OneBeanEJB
  | ...
  | 
  |   ejbTestDS
  |   java:/xDS
  | 
  |   
  | 
  |  [app.ear/app-ejb.jar/META-INF/jbosscmp-jndi.xmljbosscmp-jdbc>
  |   
  | 
  | 
  |   OneBeanEJB
  |   false
  |   members
  | 
  |   
  | pk
  | ID
  | 
  | 
  |   
  |   ...
  | 
  |   
  | [app.ear/app-ejb.jar/META-INF/ejb-jar.xml
  |   
  | 
  | 
  |   OneBeanEJB
  |   ...
  |   Container
  |   ...
  |   java.lang.Integer
  |   ...
  |   OneBeanSchema
  |   pk
  |   userId
  |   ...
  |   pk
  |   
  | ejbTestDS
  | javax.sql.DataSource
  | Container
  | Shareable
  |   
  | 
  |   
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=328#328

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=328


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Is this A dumb Question -- How to map table name to bean

2005-08-07 Thread gberish
Thanx, but I I couldn't  set the table name in jboss.xml and had to use do it 
in jbosscmp-jdbc.xml.

However, now server keeps looking for its table (members) in the DefaulDS 
resource (jbossdb database) instead of in the ejbTestDS resource (ejbtestdb 
database) where I created members.

I can't figue out why.

In case anyone can use what I found so far or is willing to tell me where the 
server gets pointed to the DefautDs in error, here is my deployment structure.

It is from top (server) to down (my ejb-jar.xml) -- it sure seems to track from 
the bean  to the ejbTestDs resource  (ejbtestdb database) to the members table.

Can anyone tell me where it gets lost?

[JBoss Home]/server/default/deploy/mysql-ds.xml
  |   
  | DefaultDS
  | jdbc:mysql://localhost:3306/jbossdb
  | com.mysql.jdbc.Driver
  | 
  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  | 
  |   mySQL
  | 
  |   
  | 
  |   
  | ejbTestDS
  | jdbc:mysql://localhost:3306/ejbtestdb
  | com.mysql.jdbc.Driver
  | 
  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
  | 
  |   mySQL
  | 
  |   
  | [JBoss Home]/server/default/conf/standardjbosscmp-jndi.xml
  | 
  |   
  | java:/DefaultDS
  | mySQL
  | ...
  |   
  | 
  |   
  | 
  |   mySQL
  |   ...
  | 
  |   
  | [app.ear/app-ejb.jar/META-INF/jboss.xml
  | 
  |   
  |   
  | OneBeanEJB
  | ...
  | 
  |   ejbTestDS
  |   java:/xDS
  | 
  |   
  | 
  |  [app.ear/app-ejb.jar/META-INF/jbosscmp-jndi.xmljbosscmp-jdbc>
  |   
  | 
  | 
  |   OneBeanEJB
  |   false
  |   members
  | 
  |   
  | pk
  | ID
  | 
  | 
  |   
  |   ...
  | 
  |   
  | [app.ear/app-ejb.jar/META-INF/ejb-jar.xml
  |   
  | 
  | 
  |   OneBeanEJB
  |   ...
  |   Container
  |   ...
  |   java.lang.Integer
  |   ...
  |   OneBeanSchema
  |   pk
  |   userId
  |   ...
  |   pk
  |   
  | ejbTestDS
  | javax.sql.DataSource
  | Container
  | Shareable
  |   
  | 
  |   
  | 




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=327#327

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=327


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Error: detached entity passed to persist

2005-08-07 Thread sumit_chawla
Getting the same error. Can anyone help? 

Here are the steps I have taken:
1. Download JBoss 4.0.3 RC1 ("all" config, installed using GUI installer) and 
JBoss IDE 1.5M2
2. Download the code for JBoss IDE trailblazer 'articles' application
3. Modified the code to replace @Inject with @PersistenceContext in 
AuthorsBean.java
4. Tried to run the app, by going to http://localhost:8080/authors-web/authors 
and hitting "Create Articles". I get:

19:46:43,312 ERROR [[Authors]] Servlet.service() for servlet Authors threw 
exception
  | javax.ejb.EJBException: null; CausedByException is:
  | detached entity passed to persist: org.jboss.ejb3demo.Author
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:72)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:93)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:183)
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
  | at 
org.jboss.aspects.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:30)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:79)
  | at $Proxy73.addArticle(Unknown Source)
  | at 
org.jboss.ejb3demo.web.AuthorServlet.createArticles(AuthorServlet.java:54)
  | at org.jboss.ejb3demo.web.AuthorServlet.doPost(AuthorServlet.java:42)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | org.hibernate.PersistentObjectException: detached entity passed to persist: 
org.jboss.ejb3demo.Author
  | at 
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:79)
  | at 
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
  | at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:531)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:129)
  | at 
org.jboss.ejb3.entity.InjectedEntityManager.persist(InjectedEntityManager.java:92)
  |  

[JBoss-user] [Installation, Configuration & Deployment] - Management Console for JBoss

2005-08-07 Thread stevehines
The management cosole that comes with JBoss is crude at best, even the 
administration console for the Sun Java Application Server is 10x better than 
the JBoss.

My question is, is there a 3rd party administration tool that will let you do 
things like graphically navigate the JNDI tree, define data sources, define and 
manage web application (i.e., Tomcat) resources? 

Anything has got to be better than what comes with JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=325#325

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=325


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - HSQLDB 1.8 + SELECT * FROM SYSTEM_TABLES not working

2005-08-07 Thread lpiccoli
hi all, 

i am using jboss-4.0.3RC1 with HSQLDB 1.8. 

When deploying my apps now it complains about executing the 'select * from 
system_tables'. In HSQLDB1.8 the system tables moved into the 
information_schema and can on;t be address with the schema prefix. Fine so 
where does JBOSS get the config from for the select * from system_Tables. I 
check the hibernate HSQLdialect but there is no mention of the system_Tables. 

where is the config to change this erroneous sql? 

any help appreciated 

-lp 


  | 2005-08-05 10:07:19,964 DEBUG 
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] 
  | Using properties: {user=sa, password=--hidden--}
  | 2005-08-05 10:07:19,980 DEBUG 
[org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory] Star
  | ting failed jboss:service=KeyGeneratorFactory,type=HiLo
  | org.jboss.deployment.DeploymentException: Error while checking if table 
aleady exists HILOSEQUENCES;
  |  - nested throwable: (java.sql.SQLException: Table not found in statement 
[SELECT * FROM SYSTEM_TABL
  | ES])
  | at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:1002)
  | at 
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.dropTableIfExists(HiLoKeyGenerat
  | orFactory.java:308)
  | at 
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.startService(HiLoKeyGeneratorFac
  | tory.java:211)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267)
  | at   

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=321#321

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=321


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Failed to Deploy Duke's Bank org.jboss.deployment.Deploy

2005-08-07 Thread [EMAIL PROTECTED]
I also had the same error and downloaded from Sun and JBoss in June.  Anyone 
else still having this same problem? 

Excerpt:

18:05:58,845 ERROR [MainDeployer] could not create deployment: 
file:/C:/jboss-4.0.2/server/default/tmp/deploy/
tmp17633JBossDukesBank.ear-contents/bank-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error message
s.

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=320#320

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=320


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: JBoss effectively hangs due to massive context switching

2005-08-07 Thread nwc
"lafr" wrote : What are the memory settings for Xmx ?
  | When the JVM reaches this limit, garbage collections occur all the time and 
consume all available cpu time.
  | 

/usr/local/jdk/bin/java -server -Xms1024m -Xmx1536m -Djava.awt.headless=true 
-Dprogram.name=run.sh -XX:PermSize=256M -XX:MaxPermSize=256

This process runs as the jboss user, so if the CPU is spiking due to the 
garbage collector, why does vmstat report the CPU spike under the "sy" column 
and not the "us" column? Doesn't the garbage collector run inside the 
jboss-owned JVM?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=316#316

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=316


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: JBoss effectively hangs due to massive context switching

2005-08-07 Thread lafr
What are the memory settings for Xmx ?
When the JVM reaches this limit, garbage collections occur all the time and 
consume all available cpu time.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=312#312

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=312


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: unable to allocate xxx bytes of shared memory

2005-08-07 Thread lafr
Your oracle configuration has to be changed to work with JBoss.
anonymous wrote : 04031, 0, "unable to allocate %s bytes of shared memory 
(\"%s\",\"%s\",\"%s\",\"%s\")"
  | // *Cause:  More shared memory is needed than was allocated in the shared
  | //  pool.
  | // *Action: If the shared pool is out of memory, either use the
  | //  dbms_shared_pool package to pin large packages,
  | //  reduce your use of shared memory, or increase the amount of
  | //  available shared memory by increasing the value of the
  | //  INIT.ORA parameters "shared_pool_reserved_size" and 
  | //  "shared_pool_size".
  | //  If the large pool is out of memory, increase the INIT.ORA
  | //  parameter "large_pool_size".  
  | 

Or you may reduce the value for page-size from 1000 to 20 e.g. in 
$JBOSS_HOME/server/?/conf/standardjbosscmp-jdbc.xml:
  
  |  on-load
  |  20
  |  *
  |   
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=311#311

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=311


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: what's the error with such EJB-QL : SELECT Object(o) FRO

2005-08-07 Thread lafr
What's the exact definition of the finder ?
Collection findRoomWithCapacityGreaterThan( ???  )

What's the datatype for capacity in the entity bean: Integer ?
The parameter for the finder method has to be of the same type!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=309#309

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=309


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBOSS and Maxdb

2005-08-07 Thread bl4ck3lk
hello,

i have nearly the same problem with jboss jboss-4.0.3RC1 and sapdb 7.6 aka 
MaxDB. 
i tried to create my own sapdb-service.xml for jms but :


  | 21:07:03,533 WARN  [ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
  | org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable: 
(com.sap.dbtech.jdbc.exceptions.DatabaseException: [-3014] (at 21): Invalid end 
of SQL statement)
  | 

maybe someone found the solution during the time and can help ?
thank you !

stefan h.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=306#306

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=306


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Many-Many CMP Relationship

2005-08-07 Thread giscard_aioba
Hi guys

Well, I try to deploy my first CMP application, but I had a problem

When I have a Many-Many relationship where I indicate the fk names into the 
jbosscmp-jdbc.xml file?!?!

For 1-1 and 1-Many I already know how to do...but for Many-Many I don't find 
where to write it?!?! would anyone help me!??!

Thanks...

Giscard

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=305#305

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=305


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - JBoss and a Client in the Internet

2005-08-07 Thread farkarich
Hi @ all!

I have to develop a Application which uses JBoss as Server and a Java 
Application as Client

The Application should connect to the JBoss all over the Internet.

What would be the best way??
I don't think that connection with the normal RMI ports is a very good way 
beacuse these ports could be blocked from a firewall.

Is there any way to connect over HTTP Port 80??

If you have any suggestions, it would be very nice to post a link where i can 
see how i have to configure my jboss

best regards
bernd

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=303#303

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=303


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: client jmx through httpinvoker

2005-08-07 Thread nehring
If your JBoss server is running on a windows machine.   You may have to check 
the 'jboss-service.xml' file in the 'http-invoker.sar/META-INF' directory of 
your JBoss server configuration.

I've seen that a the windows server hostname may default to it's short name or 
DNS alias.  When the client asks the server for the Naming service the server 
responds with a URL containing the short name.   The client most likely can't 
resolve the short name into an IP address.

The 'jboss-service.xml' file has attributes named 'UseHostName' in the MBean 
definitions.  They are set to 'true' by default and I generally set them to 
'false' for windows machines that have this problem with host name.

If you use a network sniffer, i.e. ethereal, you can verify the behavior and 
see what the server is sending back to the client.

r,
Lance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=302#302

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=302


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot start using Red Hat Fedora 9 with gij

2005-08-07 Thread ckeilitz
Seems to be solved:  I installed  j2sdk1.4.2_08 
(j2sdk-1_4_2_08-linux-i586-rpm.bin), setup the JAVA_HOME, lauched the run.sh 
and it works fine.  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=301#301

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=301


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Cannot start using Red Hat Fedora 9 with gij

2005-08-07 Thread ckeilitz
I too am having the same problem.  I am running Fedora 4 and jre-1.4.2.   I am 
using the defalut JRE that came with Fedora 4.  I am going to try to reinstall 
the J2SDK   and see what happens.

Anyone solve this one already?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=300#300

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=300


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: send message only if not alredy in jms

2005-08-07 Thread tomerbd2
Hi

So... anyway can tell me regarding my previous message is the jmx console 
java.util.List listMessages()  (and the implementation that i used) is working 
or not?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888799#3888799

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888799


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Support for custom SOAP headers

2005-08-07 Thread spaak
I am currently working on a project to consume the Sabre Travel System 
webservices. I have generated stubs for the SessionCreateRQ service by using 
the wscompile tool (as explained in the WIKI - document style service client); 
unfortunately, this tool does not generate any code to customize the SOAP 
header element. The only way it provides some support for this is by the 
-f:explicitcontext option, but this only allows me to specify a SOAPElement to 
use as header; it does not generate any code to make header customization easy.

Now I think that the JAX-WS2 tools provide support for generating this kind of 
header interfaces, but I don't know if JBoss supports this. Does it? Or are 
there other tools for client stub generation I should know about (JBoss' own 
perhaps)?

I intend to deploy my EJB application on JBoss 4.0.2, and I am using the 
service-ref method to obtain my reference to the webservice.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888798#3888798

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888798


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: LoginContext retrieving

2005-08-07 Thread tremalnaik
I'm using jboss 4.0 beta, anyway. Yomorrow I'm going to test with the new 
stable 4.0.2, maybe it will behave differently.

Thanks for your help, anyway

TREMALNAIK

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888797#3888797

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888797


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - how to invoke a jboss Schdulable class Externally

2005-08-07 Thread sajeevvarghese
hi 
I am trying to get a info related to external invocation of jboss Schdulable 
class implements jboss.varia.scheduler.Schedulable.

i have  jboss Schdulable class which implements 
joss.varia.scheduler.Schedulable.
it works fine on specified time & interval . But if i have to invoke it 
externally through some program before the schedulled time ,what can be its 
sollution.

sajeev


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888795#3888795

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888795


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn - TreeCacheSSOClusterManager fails

2005-08-07 Thread drzewo
I'll try to convince Remy (that might be tough though and might take some time, 
AFAIK Remy is off for vacation till August 16th) to enhance the SingleSignOn 
valve with optional logic, as a the described by me use case, I believe is a 
common scenario for those who use SSO. I'd be more than happy if anyone for 
whom my arguments seem reasonable could support my point of view. Remy pointed 
out, that the applications should be as isolated as possible while the SSO 
Valve in it current implementaion denied this. To be precise, to me, it would 
be much more appropriate and in the spirit of Remy's point of view if the 
logout action (session.invalidate() on one of the federeated sessions) removed 
an entry in the SSO cache only, leaving non-invalidated sessions untouched. 
Now, if another request arrived with the SSO id, the valve would do nothing as 
there's no such entry in the SSO cache, therefore user would heave to 
reauthenticate. Of course I might miss something.

I'll dig into Authenicator stuff and try your suggestion.

cheers,
/dd

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888794#3888794

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888794


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Is this A dumb Question -- How to map table name to bean

2005-08-07 Thread darranl
The file you are looking for is called 'jboss.xml', the DTD for this file is in 
the {jboss.home}/docs/dtd folder of your JBoss installation.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888791#3888791

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888791


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Deployed as CLUSTERED but not a single clustered-invoker is

2005-08-07 Thread arvind_pv
Hi all,

I'm getting below given message on server startup.

deployed as CLUSTERED but not a single clustered-invoker is bound to container 

In jboss.xml, i have configured as


  | 
  | AuthenticationSLEJB
  | AuthenticationSLHome
  | LocalAuthenticationSLHome
  | Clustered Stateless 
SessionBean
  | true
  | 
Do i need to make any other changes to the server.

Please help me to solve this problem

thanks



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888790#3888790

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888790


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Custom JNDI elements

2005-08-07 Thread sumedh
hi all,

I've been doing this on Tomcat (5.5.4) standalone. I have a custom 
javax.naming.spi.ObjectFactory instance that I use to read custom  elements in 
tomcat...

for example...



So I have a class "ConnPool" which is an instance of ObjectFactory, it reads 
the above resource and returns me objects of type "Conn" using the 
"customvars". Is there any way to define such a resource and expose it to the 
application in JBoss?

I'm using JBoss 4.0.2. I've already tried putting such resources in the 
Context.xml present in the Tomcat SAR, this doesn't seem to work though.
I also put this resource in server.xml and get a "env" not bound exception from 
JBoss.

Thanks for any help.

Sumedh

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888789#3888789

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888789


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-08-07 Thread maheshkudva
Hi

The domain name is uniqui as test.com. I made some mistake in my earlier post.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888786#3888786

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888786


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-08-07 Thread maheshkudva
Hi Teej
I am also having the same problem. Can you let me know if you have any answers 
to this. In my case, the web apps are WAR files and I want to have the similar 
action. 

http://test.com/library (Works perfectly) 

http://library.test.com (never worked) 

My DNS points to the correct IP where JBoss 4.0 is hosted. 

I understand that I need to bind the WAR file to the virtual host and domain 
library.test.com. 


But the question is how. 

My server.xml: 

  | 
  | library.robosoft.co.in
  | 
  | 
 

My WEB-INF/jboss-web.xml: 


  | library.test.com
  | /library 
  | 


This is one set. I need to deploy at least 5 such WAR files. 


I also placed the jsp files as mentioned in the Web-Apps lib folder and jboss 
lib folder.

Still nothing rather it works in the following fashion:

http://test.com/library/library

How do I go about to make http://test.com/library work as 
http://library.test.com


Regards 
Mahesh S Kudva

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888785#3888785

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888785


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user