[JBoss-user] [Beginners Corner] - Re: session values

2005-08-01 Thread sriramp_here
Hi, 
Try deleting the contents under the folder work and tmp. This may help but not 
sure ;-)

Sriram.P


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: SSL js_security_check problem

2005-08-01 Thread tquas
Scott,

thanks for following up. I don't really get the message, though. Yes, 
j_security_check is a special alias used by the system. Using it from HTML 
forms is common practice. So what's wrong with redirecting from a JSP?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Login Module Configuration

2005-08-01 Thread schrouf
This might be an indication that a JMS user hasn't specified user/pwd 
credentials (e.g. simply calling getTopicConnection() instead of 
getTopicConnection(user,pwd)). Try to identify the causing consumer/producer 
and check if he's providing propper credentials.

Regards
Ulf



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Instatiating portlet from another portal

2005-08-01 Thread marec
Is there a way how can I instantiate portlets from another portal? 

I have created new WAR file containing portlet-instances.xml as well as 
refproj-portal.xml. I wanted to instatiate ContentPortlet (defined in default 
portal - portal-core.war) with different URI property, therefore I wrote this 
into portlet-instances.xml:
   instance
  |   instance-nameMyContentPortletInstance/instance-name
  |   component-refContentPortlet/component-ref
  |   preferences
  |  preference
  | nameuri/name
  | value/refproj/page2/index.html/value
  |  /preference
  |   /preferences
  |/instance

Than I used this MyContentPortletInstance in my portal page, but when I 
browsed the page, the Portlet was not rendered. I found that the 
ViewInterceptor doesn't put window containing this Portlet into list of windows 
to render, because it's state is REGISTERED (and not STARTED).

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - After my restarting DB Server,throwes javax.ejb.CreateExcept

2005-08-01 Thread sunsong
My Database server is not stable,and I must restart it  sometimes .
Every time I restart it,my web application on JBoss cannot work.
I checked the code,when the ejb's create() method is called ,it throws 
Exception :

javax.ejb.CreateException: Error checking if entity 
exists:java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for 
JDBC]Connection reset by peer: socket write error

then I had to restart the jboss server and incrupt the custom's browse and 
transaction.

So I ask the question:How to keep the Jboss server working well in this 
situation? 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Is this forum moniter by JBoss??

2005-08-01 Thread schrouf
anonymous wrote : 
  | I know genman, schrouf and darranl drop in regularly as well. 
  | 
  | They are more tolerant of lazy users... 
  | 

No, we don't like lazy users either... but maybe it just reminds us of our own 
'dumb' questions while struggling to get started :-)

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Queue Reliable Message Delivery

2005-08-01 Thread schrouf
Guaranteed message delivery for queues just requires sending 
[bold]persistent[/bold] messages. As simple as that :-)

Regards
Ulf

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: A CMR collection may only be used within the transction

2005-08-01 Thread schrouf
Make sure that both beans ( the session bean and the entity bean) declare that 
a transaction is required. Then all of the 'internal' CMP entity bean 
operations should run in the same transaction of the 'outer' session bean. The 
container will create a transaction before invokation of your session bean 
method and will reuse this transaction for all embeded entity operations.

Regards
Ulf

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: Exception: CMR field value is already loaded

2005-08-01 Thread schrouf
Even if a version upgrade always requires some work I would strongly recommend 
an upgrade to a JBoss version  3.2.6 as there is a  connection pool leak in 
earlier JBoss versions under heavy load. 

Regards
Ulf 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Static Initialization at server startup

2005-08-01 Thread halkw
I strongly advise you to use 'Service Locator Pattern'  by using Singleton 
Pattern. If you had done this methodolgy, you could have make the module more 
efficiency. 

---
reference docs

http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB

2005-08-01 Thread halkw
I think that it's concerned at the MDB in duplicate. 
I recommend that you certain whether the Bean is Binded 

For example, You can check whether the thread prosess is running or aborted as 
the sample code below

--

...

if( cache.containKey(JNDIName) )
{
queueFactory=(QueueConnectionFactory)cache.get(JNDIName);
}
else
{
queueFactory=(QueueConnectionFactory)initialContext.lookup(JNDIName);
}

...

--

plz refer to this docs

http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB

2005-08-01 Thread halkw
Sorry I maybe guess wrong; I understood it in error;

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: JBoss 4.0.2 EJB3 Problem catching exception while persis

2005-08-01 Thread Jonefun
Yes it makes sense for the EntityManager to throw the exception after a flush 
executes. However it appears that in this situation an exception is not being 
thrown by the EntityManager. 

Question : Is this a bug ? If it is, how do I flag it to the powers that be ?

Jonathan

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Progressnotification

2005-08-01 Thread [EMAIL PROTECTED]
Hi everyone,

I've a question about progressnotification.

I have a standalone java client app which should invoke an long running 
calculation on an enterprise java bean. The calculation is realy heavy work 
which will take maybe hours. While work is in progress I want to show some kind 
of progressbar in the app client, which updates to the current state every 10 
seconds or so. 

How can I implement such a cenario? Do I need a message queue and the 
calculator bean posts its current state into it and the clients reads the 
current state out of it? Or is there a type of listener I can use?

I want to implement this cenario with EJB3.

Please help,

thx Meikel

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-01 Thread darranl
Don't dig up old posts and just add a ME TOO style comment at the end.

Start a new thread showing YOUR code samples and the exceptions YOU are getting.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustering EJB3 JBoss 4.0.3

2005-08-01 Thread amenra
I have a Problem concerning clustering ejbs. Searching did not lead me to a 
result so I am asking in this Forum:

I was using the installer and chose the all config in the installer to 
install the AS.

Now I am trying to experiment a little bit with clustered beans and immediately 
had a problem which I think I did not have with previous releases + EJB3 .

When deploying it did not find LoadBalancePolicy:

[ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,name=info.seraphim.tests.stateful.CalculatorBean
java.lang.RuntimeException: java.lang.TypeNotPresentException: Type 
org.jboss.ha.framework.interfaces.LoadBalancePolicy not present

The code (Taken from the trail and slightly modified):

  | import javax.ejb.*;
  | import java.util.*;
  | import java.io.Serializable;
  | import org.jboss.annotation.ejb.Clustered;
  | 
  | 
  | @Stateful
  | @Clustered
  | @Remote(CalculatorRemote.class)
  | public class CalculatorBean implements Calculator, CalculatorRemote, 
Serializable {

I guess it has something to do with the ejb3 installer's version not beeing 
fully cluster-ready. What should I do to get a clustered 4.0.3 wit ejb3 
support?

Thank you in advance!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Jboss 3.2.6 works with jdk 1.5 update 4?

2005-08-01 Thread josep_fornies
Hi, I'm beginner in a JBoss technology , I tried to install a Jboss 3.2.6 
version but i 've this error

java.lang.NoSuchMethodError
at org.jboss.Main.boot(Main.java:98)
at org.jboss.Main$1.run(Main.java:399)
at java.lang.Thread.run(Unknown Source)

Why?

I tried 3.2.2 version and it's running ok.

Thanks in advance

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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-01 Thread drzewo
I checked what you wanted me to and confirm that the TreeCache is up and 
running.

Here is what I get on the stdout (Sorry for the huge log)


  | 
===
  | .
  |   JBoss Bootstrap Environment
  | .
  |   JBOSS_HOME: D:\java\jboss-4.0.1sp1\bin\\..
  | .
  |   JAVA: c:\java\jdk1.5.0\bin\java
  | .
  |   JAVA_OPTS:  -Dprogram.name=run.bat -Dcom.sun.management.jmxremote -Xms32m 
-Xmx128m
  | .
  |   CLASSPATH: 
c:\java\jdk1.5.0\lib\tools.jar;D:\java\jboss-4.0.1sp1\bin\\run.jar
  | .
  |   CMD PARAMS: -c all1 -b node1
  | .
  | 
===
  | .
  | 12:11:27,171 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 12:11:27,233 INFO  [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: 
CVSTag=JBoss_4_0_1_SP1 date=200502160314)
  | 12:11:27,296 INFO  [Server] Home Dir: D:\java\jboss-4.0.1sp1
  | 12:11:27,374 INFO  [Server] Home URL: file:/D:/java/jboss-4.0.1sp1/
  | 12:11:27,389 INFO  [Server] Library URL: file:/D:/java/jboss-4.0.1sp1/lib/
  | 12:11:27,405 INFO  [Server] Patch URL: null
  | 12:11:27,421 INFO  [Server] Server Name: all1
  | 12:11:27,436 INFO  [Server] Server Home Dir: 
D:\java\jboss-4.0.1sp1\server\all1
  | 12:11:27,436 INFO  [Server] Server Home URL: 
file:/D:/java/jboss-4.0.1sp1/server/all1/
  | 12:11:27,468 INFO  [Server] Server Data Dir: 
D:\java\jboss-4.0.1sp1\server\all1\data
  | 12:11:27,483 INFO  [Server] Server Temp Dir: 
D:\java\jboss-4.0.1sp1\server\all1\tmp
  | 12:11:27,499 INFO  [Server] Server Config URL: 
file:/D:/java/jboss-4.0.1sp1/server/all1/conf/
  | 12:11:27,499 INFO  [Server] Server Library URL: 
file:/D:/java/jboss-4.0.1sp1/server/all1/lib/
  | 12:11:27,514 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 12:11:27,530 INFO  [Server] Starting General Purpose Architecture (GPA)...
  | 12:11:28,155 INFO  [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
  | 12:11:28,171 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
1.5.0_04-b05,Sun Microsystems Inc.
  | 12:11:28,186 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
  | 12:11:28,936 INFO  [Server] Core system initialized
  | 12:11:33,030 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 12:11:33,202 INFO  [WebService] Using RMI server codebase: 
http://node1:8083/
  | 12:11:33,499 INFO  [NamingService] Started jndi bootstrap 
jnpPort=1099,rmiPort=1098, backlog=50, bindAddress=node1/10.0.0.1, Client 
SocketFactory=null, Server [EMAIL PROTECTED]
  | 12:11:43,529 INFO  [DefaultPartition] Initializing
  | 12:11:43,701 INFO  [STDOUT]
  | ---
  | GMS: address is node1:2403 (additional data: 13 bytes)
  | ---
  | 12:11:45,764 INFO  [DefaultPartition] Number of cluster members: 1
  | 12:11:45,779 INFO  [DefaultPartition] Other members: 0
  | 12:11:45,795 INFO  [DefaultPartition] New cluster view for partition 
DefaultPartition (id: 0, delta: 0) : [10.0.0.1:1099]
  | 12:11:45,811 INFO  [DefaultPartition] Fetching state (will wait for 3 
milliseconds):
  | 12:11:45,842 INFO  [DefaultPartition] I am (10.0.0.1:1099) received 
membershipChanged event:
  | 12:11:45,858 INFO  [DefaultPartition] Dead members: 0 ([])
  | 12:11:45,873 INFO  [DefaultPartition] New Members : 0 ([])
  | 12:11:45,889 INFO  [DefaultPartition] All Members : 1 ([10.0.0.1:1099])
  | 12:11:46,154 INFO  [HANamingService] Listening on node1/10.0.0.1:1100
  | 12:11:46,170 INFO  [DetachedHANamingService$AutomaticDiscovery] Listening 
on /10.0.0.1:1102, group=230.0.0.4, HA-JNDI ad
  | dress=10.0.0.1:1100
  | 12:11:49,873 INFO  [MailService] Mail Service bound to java:/Mail
  | 12:11:50,514 INFO  [BlockingServer] Remoting 'async' protocol clients will 
connect to: InvokerLocator 
[async://10.160.32.251:8085/?compression=-1tcp.nodelay=true]
  | 12:11:51,029 INFO  [TreeCache] setting cluster properties from xml to: 
UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=230.1.2.3;mcast_port=45577;mcast_recv_buf_size=8;mcast_send_buf_size=15;ucast_recv_buf_size=8;ucast_send_buf_size=15):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=2;min_interval=1):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=2;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
  | 12:11:51,170 INFO  [TreeCache] interceptor chain is:
  | class org.jboss.cache.interceptors.CallInterceptor
  | 

[JBoss-user] [Security JAAS/JBoss] - Logging login activity within JBoss login using SRP

2005-08-01 Thread wolfhard
Hi, 
Does anybody knows a method to log failed login attempts in JBoss using SRP 
protocol (Secure Remote Password)?
Something like the Login Module described in 
http://www.quepublishing.com/articles/article.asp?p=389111  (Building a Custom 
JBoss Login Module)
would be perfect.


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Please Help! ERROR: Service endpoint bean class not set

2005-08-01 Thread Christy
Hi,
I have an error and I don't know what to do. I wrote a clienr to test my web 
service, but at the line : 
 System.out.println(output: + (String)call.invoke(argum));
I have an error:

Retrieving document at 'http://debug/testws/Test?wsdl'.
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Service endpoint bean class not set
 faultActor: 
 faultNode: 
 faultDetail: 

org.jboss.axis.AxisFault: Service endpoint bean class not set
at 
org.jboss.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:303)
at 
org.jboss.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:142)
at 
org.jboss.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1249)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at 
org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:257)
at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
at org.jboss.axis.client.Call.invokeEngine(Call.java:3077)
at org.jboss.axis.client.Call.invoke(Call.java:3039)
at org.jboss.axis.client.Call.invoke(Call.java:2629)
at org.jboss.axis.client.Call.invoke(Call.java:2538)
at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
at org.jboss.axis.client.Call.invoke(Call.java:1914)
at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
at TestWSClient.main(TestWSClient.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

Does anybody know what is this?
Thank you!


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Mapping file generation with JWSDP-1.6?

2005-08-01 Thread Christy
Hi, I have JWSDP 1.6 and everything works fine. I generated mapping file and 
WSDL file wuth this command:
C:\Sun\jwsdp-1.6\jaxrpc\bin\wscompile -classpath E:\cod\oceaninfo\build\classes 
-gen:server -f:rpcliteral -f:searchschema -mapping mapping.xml config.xml

Good luck, 
Kristina


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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-01 Thread drzewo
I kept investigating the problem and found the difference betweeen the machine 
where Clustered SSO works for me and the one where it doesn't. Moreover, I 
found the root of described the problem!

Apparently some time ago I wanted to be able to reach jboss JVM via sun's 
jconsole, therefore I modified the startup script run.bat, and appended 
-Dcom.sun.management.jmxremote system property. You can observe this in the 
provided log. The addition of this parameter rendered Clustered SSO unusable. 
The question is: why the heck this happens! The quicksimple resolution is the 
removal of -Dcom.sun.management.jmxremote. Again, is there any sensible reason 
why this affects ONLY Clustered SSO??

Now, finally, back to the drawing board...

cheers,
/dd

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - How do you set the number of retries on a MDB?

2005-08-01 Thread CWEAVER1321
I have been told that you can override the number of retires on a MDB. I cannot 
however find any documentation on how this is accomplished. Any help would be 
appreciated.

Thanks in advance!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Newbie: How to retrieve userid in servlet

2005-08-01 Thread bndct0
Hi,

Managed to get my JAAS+Tomcat SSO working with the BASIC authentication method. 
 Everything's working.  My question is how to retrieve the userid from the 
container?

Thanks.  Any help is appreciated.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Newbie: How to retrieve userid in servlet

2005-08-01 Thread tcherel
HttpServletRequest.getUserPrincipal

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: How do you set the number of retries on a MDB?

2005-08-01 Thread schrouf
This can be configured within your queue/topic descriptor


  | ?xml version=1.0 encoding=UTF-8 ?
  | server
  |   mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=MessengerService
  | 
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  | depends 
optional-attribute-name=SecurityManagerjboss.mq:service=SecurityManager/depends
  | attribute name=RedeliveryDelay1/attribute
  | attribute name=RedeliveryLimit10/attribute
  | attribute name=SecurityConf
  | security
  | role name=owner read=true write=true create=true/
  | /security
  | /attribute
  | 
  |   /mbean
  | /server
  | 
  | 

Regards
Ulf

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: How do you set the number of retries on a MDB?

2005-08-01 Thread CWEAVER1321
Thanks schrouf!!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Newbie: How to retrieve userid in servlet

2005-08-01 Thread bndct0
Thanks Thomas.  That did it.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - anonymous users display restrictions

2005-08-01 Thread lmc
Hi! i'm new in Jboss Portal, i wan't to know 
how to make a portlet invisible to anonymous users.

thanks for any answer

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Migrating from Weblogic to JBoss : problem with wepapp authe

2005-08-01 Thread djeanprost
Hello,


I'm currently trying to migrate a webapp from weblogic8.1 to JBoss, and I'm 
meeting a problem I hadn't with WLS.

My webapp has a security-constraint section with auth-constraint. I'm using 
Form authentication with DB Realm. My problem is that I can log in my webapp, 
but I get a 403 saying I'm not allowed to access ressources.

I checked several things :
- I can log in, ie login/password are checked against DB, so this part works. 
If I give a wrong password, I get form-error-page page.
- I added a piece of code in my 403.jsp. I added 3 lines :
0. System.out.println(request.getRemoteUser()); -- return djeanprost
1. System.out.println(request.isUserInRole(collaborateur)); where 
collaborateur is a group of my group table. -- Return true, which is normal to 
me.
2. System.out.println(request.isUserInRole(utilisateurCollaborateur)); -- 
false
utilisateurCollaborateur is a role I specified in the auth-constraint section 
in the web.xml. I also have a security-role section where I declare the 
utilisateurCollaborateur role name. In my jboss-web.xml, I have a 
security-role
  role-nameutilisateurCollaborateur/role-name
  principal-namecollaborateur/principal-name
  principal-namedjeanprost/principal-name
/security-role

where I map utilisateurCollaborateur to collaborateur and djeanprost. I added 
the principal name djeanprost to add a test : it does not work neither.

I conclude the mapping from utilisateurCollaborateur to collaborateur is not 
done.

Where am I wrong ?

Regards,
Dom

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Still getting exceptions when run.sh executed

2005-08-01 Thread adellechiaie
Beware of the fact that all the subdirectories under deploy the META-INF and 
WEB-INF directories are UPPERCASE
I've a HP-UX machine exporting some samba directories and I've found that if I 
copy a directory tree (like the http-invoker.sar) all the META-INF and WEB-INF 
directories are transformed in lowercase and so JBoss is (naturally) unable to 
start.
Hope this helps.
Ciao


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Snapshots can't be created...

2005-08-01 Thread shaamcom_83
Hi,
Am using jboss 4.0.2 and trying to create a snapshot view of a jmx 
attribute so that I get relevant details when I click the snapshot link in the 
applet tree of jboss web-console. Presently the link is numb for my 
installation. I explored in the jboss-service.xml(inside default/conf directory 
and tried in other modes too...) to uncomment the following lines...
(excerpt of jboss-service.xml)
   !-- Uncomment to enable JMX monitoring of the bean cache 
--

   !-- Uncomment to enable JMX monitoring of the entity bean locking
 --

I tried uncommenting those lines so as to monitor the JMX and hence to create 
the snapshot. But it doesnt seems to work.

I also found that there is no folder named snapshots inside the directory 
structure  jboss.home/server/default/deploy/management. 

Can anyone please tell me what am I missing out and suggest me in overcoming 
this situation.


TIA
Regards,
Shahul.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error while running Jboss:ERROR [org.jboss.mq.pm.jdbc2.Persi

2005-08-01 Thread gunjan_iitk
Hi,
While running Jboss I am getting an error Starting failed 
jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not found: BindName
Please see the error log below
Starting failed jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not found: BindName
at 
org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:320)
at 
org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1410)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at org.jboss.system.ServiceController.start(ServiceController.java:440)
at org.jboss.system.ServiceController.start(ServiceController.java:440)
at org.jboss.system.ServiceController.start(ServiceController.java:440)
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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
at $Proxy35.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:229)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at 

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Class not found in HAR

2005-08-01 Thread artemis
There is the source of the problem if anyone is interested:

Class files along with ...hbm.xml files have to be JARed, insted of expanded 
within the .HAR file.

A similar bug has been known but this one must be new.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello,

I tried to deploy the EJB3Trail.ear and my own ear archive as well but I get 
always the same error message:

15:56:34,185 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
[EMAIL PROTECTED] { 
url=file:/opt/jboss-4.0.3RC1/server/all/deploy/EJB3Trail.ear }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/opt/jboss-4.0.3RC1/server/all/deploy/EJB3Trail.ear
  altDD: null
  lastDeployed: 1122908194183
  lastModified: 1122908194000
  mbeans:

--- Incompletely deployed packages ---
[EMAIL PROTECTED] { 
url=file:/opt/jboss-4.0.3RC1/server/all/deploy/EJB3Trail.ear }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/opt/jboss-4.0.3RC1/server/all/deploy/EJB3Trail.ear
  altDD: null
  lastDeployed: 1122908194183
  lastModified: 1122908194000
  mbeans:


It is also the same error message for my own archive.

The structure of my app.ear is:
---
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
web.war


application.xml:

application xmlns=http://java.sun.com/xml/ns/j2ee; 
version=1.4 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com /xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd;
display-nameCalculatorTest/display-name


web-uriweb.war/web-uri
context-root/Calculator/context-root



--

JBoss version: JBoss4.0.3RC1 

The other thing is if I deploy the archives individually(e.g. web.war and 
ejb.ejb3) there is no error message then.

What is the problem here? I hope the informations are enough!

I appreciate any help!

Thanks,
Thomas


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ Login Module Configuration

2005-08-01 Thread Denisius
I modified only login-config.xml by replacing existing application-policy with 
name=jbossmq to:
application-policy name = jbossmq
   
  login-module code = 
org.jboss.security.auth.spi.UsersRolesLoginModule
 flag = required
 module-option 
name=usersPropertiesweb-users.properties/module-option
 module-option 
name=rolesPropertiesweb-roles.properties/module-option
   /login-module
   
/application-policy

An exception appears during ear deployment

18:14:58,030 ERROR [DLQHandler] Initialization failed DLQHandler
javax.jms.JMSSecurityException: User: null is NOT authenticated
at 
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:781)
at 
org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:287)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:204)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:369)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:534)
18:14:58,030 INFO  [STDOUT] 461257 
[JMSContainerInvoker(NotificationAggregationServerMDB) Reconnect] ERROR 
org.jboss.ejb
.plugins.jms.DLQHandler DLQHandler - Initialization failed DLQHandler
javax.jms.JMSSecurityException: User: null is NOT authenticated
at 
org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:215)
at 
org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:51)
at 
org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:781)
at 
org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:287)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:204)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:369)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:534)
18:14:58,030 INFO  [STDOUT] 461257 [UIL2.SocketManager.WriteTask#143 
client=10.6.4.20:8093] DEBUG org.jboss.mq.il.uil2.S
ocketManager  - End WriteTask.run

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Creating Jboss xml with Jdeveloper 10.1.2

2005-08-01 Thread Abriah
Hello: I want to create the Jboss ejb descriptors from within Jdeveloper 
10.1.2, I see that Jdev can create descriptors for Orion weblogic and OC4j. 

When using the CPM Entity Beans Wizard Jdev asks for the persistence Manager 
but Jboss is not among them how can I add it?

Can somebody give me any hint?

Thanks

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Problem with SwiftMQ integration

2005-08-01 Thread [EMAIL PROTECTED]
iit wrote : 
  | I guess you are wrong, Adrian. You might check the examples for the JCA 1.5 
spec, section 12.7:
  | 

I am not wrong, since the examples are non-normative.
I guess we will have kludge our way around it, not because of the examples,
but because of the standard properties mentioned in the spec that are
normative.

Incidently, your example of DestinationType is clearly wrong since the jca spec
(which actually defines these properties) uses lower case.


  |   The connector architecture defines a set of well-defined
  |   properties all of type java.lang.String. These are as
  |   follows.
  | 
  |ServerName
  |PortNumber
  |UserName
  |Password
  |ConnectionURL
  | 

It should be (according to the javabean spec)
public void setDestination(String destination) - property name destination
public void setURL(String url) - property name URL

i.e. only repeated use of upper case letters causes the first character to be 
capitalized.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Deserializing parameter error

2005-08-01 Thread Jaec95
Hi, I have exactly the same problem as you, anybody how help us??

Thanks in advance.

JAEC

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Cannot deploy ear containing wlclient.jar

2005-08-01 Thread dmcdonald
We have an application that makes remote EJB calls to a WebLogic 8.1 server.  
The wlclient.jar for WebLogic is contained in the ear and is referenced through 
the class path entry in the manifest file for the EJB jar.  This application 
works perfectly in WebSphere 5.1, but when we try to deploy it to JBoss 4.0.2 
(J2SDK 1.4.2_06, Win2K), we get the following error:

Initialization failed 
jboss.j2ee:jndiName=ejb/com/ihcfs/events/EventsAdminHome,service=EJB
java.lang.NoSuchMethodException: 
org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle)
at java.lang.Class.getMethod(Class.java:986)
at 
org.jboss.ejb.StatelessSessionContainer.setupHomeMapping(StatelessSessionContainer.java:125)
at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:153)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

I discovered that if I removed all of the javax.* packages from the 
wlclient.jar, then the application would deploy successfully.  Unfortunately 
when it came time for the container to do a remote lookup of the WebLogic EJB, 
a different error occurs:

javax.naming.InvalidNameException: Couldn't resolve initial reference: 
NameService [Root exception is org.omg.CORBA.ORBPackage.InvalidName]
at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:50)
at 
weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:499)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:465)
at 
weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
at 
weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
at 
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)

It appears to me that the wlclient.jar requires its own javax.* packages in 
order to work correctly.  But JBoss seems to be having some class loader 
issues, even though I have it configured to use a different class loader per 
ear.

Just to rule out any problems with the application itself, I did create an 
empty test ear that included the wlclient.jar, and reproduced the same error 
(the first error listed above).

I am very curious to know if others have seen this issue in JBoss, and if 
anyone has found a work-around for it.

Thanks.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
I have been playing around with EJB on 4.0.1SP1 and just moved to 4.0.3rc1.  I 
added the persistance.xml in place of the hibernate.properties.  I have a very 
simple test with one Entity and one stateless Session.  Everything is running 
in a single VM.  No changes to default configuration were made to the 
server=all.

The server starts up fine, creates or updates the db table behind the Entity.  
JNDI works to the exent I can do this:
  InitialContext ctx = new InitialContext();
  Object o = ctx.lookup(java:/testDS);
  System.out.print(o);

However, if I do this:
PersonSessionLocal dao = (PersonSessionLocal) 
ctx.lookup(PersonSessionLocal.class.getName());
  
I get this:

  javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1115)
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223)


I have tried running the app outside eclipse(doesnt help), trying a fresh 
install of jboss (using the installer).

Does anyone have any ideas?



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: How to use my own Principal class?

2005-08-01 Thread alxll
tcherel wrote : This is definitely the way to make it work to get the custom 
principal in the session code, but I did not think that this was also working 
for the web container.
  | Which JBoss version are you using?
  | 
  | Thomas

I'm using JBoss AS 4.0.2


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: could not find deserializer for type

2005-08-01 Thread raygeeknyc
[EMAIL PROTECTED] wrote : You could read the wiki on DII clients.
  | 
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientDII

Thomas 
  I am struggling with this same issue; I think that full source of the classes 
that are excerpted in the Wiki page would go a long way to helping. (to provide 
example values for the parameters and such)
Thanks
---Raymond

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: communication Exception

2005-08-01 Thread abitha
Thanks for the reply. When I try with localhost it works perfectly. I 
intentionally put in bocalhost, because I want to capture the exception. There 
is no machine called bocal host and my debug log shows the naming exception 
being thrown - but not from my code even though I am catching it. Thats the 
problem. I need to handle the case of getting a naming exception.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Download lomboz21_02

2005-08-01 Thread jbossM3
Hello All!
I am a newbie and would like to know where to down load this zip file. Please 
help!
Thanks

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss-4.0.2 + Redhat linuc installation problem

2005-08-01 Thread boussic
Hi, 
gcj in the target of symbolic link java  in your  $PATH .
you have to install new jdk and update symbolics link in /usr/bin, like:
ln -s /usr/java/jdk/bin/java  /usr/bin

best regards.
cedric

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Co-located HA JNDI and EJB Clients

2005-08-01 Thread skand
I have been having some trouble with the HA JNDI configuration. I did get it to 
work, but I am hoping to find a better way to do what I need. I believe I am 
missing something pretty basic and simple, but I have failed miserably to find 
any documented hints in this regard. Hence, this post.

My 'architecture' has a SLSB that writes a message to an HA JMS Queue which 
results in triggering an MDB. This MDB calls another SLSB which again does the 
same - write a message to an HA JMS Queue and so on.

All this works as expected on a standalone system. The trouble begins with HA 
configuration. The initial setup is pretty straightforward once I use the 'all' 
server config as my starting point. So, I have two machines nodes with the 
'all' config and the JMS queues are deployed in the ha-singleton. On startup, 
one of them is indeed the master.

Now, I understand that to ensure that I am using HA JNDI to get to the queues I 
have to create the InitialContext with the HA JNDI port 1100. I, of course, do 
not want to hard code this 1100 in my app. Actually, I do not want to worry 
about it at dev time at all. So, I use the server/all/conf/jndi.properties file 
and set the provider url to use :1100. But, as soon as I do this, the AS does 
not startup as cleanly as it did without this change. My guess is that the AS 
does need the default 1099 (non HA JNDI) for bootstrapping and me chaning the 
provider url basically masks the access to the regular JNDI.

This appears like a chicken-n-egg -- to ensure that the AS startsup cleanly I 
cannot change conf/jndi.properties to include the HA JNDI provider url. But, 
without the HA JNDI provider url, I cannot get my queue via the HA JNDI.

So, as a solution (this is hokey) I change the jndi.properteis file AFTER the 
AS as started up and BEFORE I deploy my application in the farm directory of 
one node. This works just fine. But, this really makes the hot deployment 
pretty messy since there is this config in jndi.properties that I have to 
ensure that I undo and do before I restart any AS instance. Though, this is 
trivially done using a script to start/stop it seems a hard sell for the ops 
guys to use my scripts over JBoss Inc's.

I already feel dumb asking this question - any ideas what I might be missing? 
Is there an easier way to deploy an application (EAR in my case) specific 
jndi.properties that is not part of the EAR file. The ops guys argue that it is 
pretty inconvenient to unpack the EAR file then add a new config file and pack 
it again for every deployment. 

Thanks and apologies for this long post.
-shree



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Well I'm working on this small test app:

Basically I have a secured SessionBean I'd like to call.
Now I have my Servlet setup to 
have 

lc = new LoginContext(d,new UsernamePasswordHandler(u,p.toCharArray()));

after that I do something like:
TestUtil.getLocalHome().create();

I get a securityexception. Because I do not have the required roles. 
To the Bean I seem to be Guest. Wich is the fallback account. And the one I
logged in with was root

I did verfy that my login did work and containd all the required roles.
So, do I have missed somthing?

here's the code

  | protected void doGet(HttpServletRequest req, HttpServletResponse resp)
  | throws ServletException,
  | IOException {
  | LoginContext lc = null;
  | resp.setContentType(text/html);
  | resp.getWriter().println(htmlheadtitleStub 
Test/title/headbody);
  | resp.getWriter().println(h1JAAS / ACL Test/h1);
  | try {
  | // LOGIN
  | 
  | try {
  | lc = new LoginContext(domain,new 
UsernamePasswordHandler(root,password.toCharArray()));
  | lc.login();
  | TestUtil.getLocalHome().create();
  | lc.logout();
  | } catch (LoginException e) {
  | System.out.println(login Failed);
  | }
  | } catch (CreateException e) {
  | e.printStackTrace(resp.getWriter());
  | } catch (NamingException e) {
  | e.printStackTrace(resp.getWriter());
  | } catch (FinderException e) {
  | e.printStackTrace(resp.getWriter());
  | } catch (Exception e) {
  | e.printStackTrace(resp.getWriter());
  | }
  | resp.getWriter().println(/body/html);
  | }
  | 

kindest regards,
 Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Ohh forgot: I'm using 4.0.2+jbas-1875-patch

kindest regards,
 Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
OK, Im an idiot.  I had some jars in my classpath that were contaminating 
classpath (older jta stuff).  However, I am stull getting errors. I can now do 
a lookup and get a $Proxy object that appears (looking at the debugger) to 
proxy the PersonSession class but I get a classCastException when casting it.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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-01 Thread bstansberry
I think there was a problem with how TreeCacheSSOClusterManager was finding the 
JMX server -- I'm expecting your command line switch caused another JMX server 
to start and TreeCacheSSOClusterManager was finding that (sorry -- at work now 
and can't confirm).  

Last night I committed a patch to Branch_4_0 CVS that should fix this.

Earlier today I replied to the e-mail you sent me with the config files.  Email 
included a zip with the latest version and compiled classes, which if you want 
you can integrate to see if it solves your problem.

Tonight I'll try using the -Dcom.sun.management.jmxremote switch and see if my 
patch resolves the problem.

BTW, thanks for the very clear report.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-08-01 Thread aberezin
I am seeing a similar problem. If you get an answer, please let me know at 
[EMAIL PROTECTED] If I find out, Ill post the answer here.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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-01 Thread [EMAIL PROTECTED]
The -Dcom.sun.management.jmxremote does cause a second MBeanServer to be 
created so unless you are querying the for the jboss specific one you may be 
getting the jdk platform MBeanServer which will have no jboss mbeans registered.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: jndi problem with 4.0.3rc1 and EJB3

2005-08-01 Thread aberezin
This ClassCastException problem was expained in 
http://www.jboss.com/index.html?module=bbop=viewtopict=66651

You cannot have the interface classes in the webapp classpath.  However, I am 
trying to run the whole thing in one VM under eclipse so I had to play around 
with separate trees for the ejb code to keep it out of the web-inf tree.  It 
all seems to work now.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-08-01 Thread aberezin
See http://www.jboss.com/index.html?module=bbop=viewtopict=67287 for my 
solution.  Instead of packaging an EAR, I got it all running out of eclipse 
using 2 source (and build) paths.  This keeps the interfaces out of the 
web-inf/classes path.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Queue location in JNDI tree

2005-08-01 Thread malmit
Curious question can a queue be created and placed in branch other than queue 
or in a sub branch of queue?  For example if I had a destination named 
TestQueue, could the queue be created under customqueue/TestQueue or 
queue/jms/TestQueue?

Thanks.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Local EJB Lookup Error

2005-08-01 Thread jcorbin4607
I wanted to follow up with more information

The test case I am running is inside a main function.  Does this mean it is 
truly running in its own JVM?  If so, that would explain my errors.  I still 
would appreciate some feedback.

J.D.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: communication Exception

2005-08-01 Thread jcorbin4607
Okay, I wondered if that was intentional or just a typo. :)

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread tterm
Hello folks,

I solved the problem by myself. 

The ear deployer is missing what means that the EARDeployer MBean is not 
registered so you can deploy no ear archives. 
There should be an ear-deployer.xml file in the deploy folder. Not sure if it 
is a bug or deliberate. 

Thanks to the JBoss developer for the good architecture and the very good jmx 
management console.

Thomas

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel

There are tons of threads on this subject in the forum.

If you are doing you own JAAS login in your servlet code, you will need to make 
sure that ClientLoginModule is part of the JAAS configuration you are using 
(domain according to your code below) for the propagation to happen.

But you also need to realize that you will have to do the JAAS login at every 
requests if you write it by yourself.

It is much better to let the container do the authentication for you (using 
BASIC or FORM based authentication for your web app) as it will associate the 
security context with the HTTP session.

Thomas

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - support in wscompile for using a predefined schema

2005-08-01 Thread chaseja
When running wscompile and going from Java to WSDL, is there any wscompile 
support for recognizing/utilizing existing schemas when generating artifacts, 
without creating everything from scratch?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Failover problem

2005-08-01 Thread vignesh76
Hi,

We have two clustered JBoss instances in cluster configuration containing 
clustered SLSBs. Web applications deployed in a third JBoss instance access 
these clustered SLSBs. I was testing failover by stopping the current active 
clustered instance and each time testing the functionality of the web app to 
ensure that the failover has successfully taken place to the other clustered 
instance. Initially the failover works fine but at some point the failover 
breaks and the web app starts throwing Service Unavilable exception even 
though one of the nodes is available to accept requests . To recover from this 
the jboss instance running the web application has to be restarted. Can anyone 
clarify whether this is a JBoss issue and also provide a solution to this 
problem? Thanks in advance.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Thanks for the answer Tomas.
Well I tried to look it all up running google queries all over the place... 
hmm...
What I wanted was:

#1 login
#2 call methods
#3 logout

so the natural way seemd to use the JAAS login when the user arrivs and logging 
him out once he goes.

The thing i wanted to implements was some soft-user-tracking.
so the user has no password and is idientified by his id (stored in a cookie) 
only. I know I have to watch out for buggy browser and XSS. But this is 
supposed to not be implemented on any *harmful* cases anyway.

Thanks for the answer I'll look into the BASIC and FORM base auth. 

It whould be nice though if you could elaborate on that ClientLoginModule part 
a bit or hint me to a thread I did not find.

kindest regards,
 Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - rewriterule in jboss

2005-08-01 Thread asif_technical
Hi , 

I done rewritecondition and rewriterule in APAche[httpd.conf] and Tomacat. 
Presently i am using JBoss.How Can I use Rewriterule in Jboss. 

Thanks

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel
Basically, your servlet is a client to your EJBs.
With JBoss, if a client is doing an explicit JAAS login, the established 
security context is propagated to the backend EJBs only if you have the JBoss 
ClientLoginModule as part of your JAAS configuration.

I am assuming that you edited the login-config.xml fo JBoss to create your 
domain JAAS configuration.
This configuration needs to look like that:

domain {
   .. //Any other login module that you might require.
   org.jboss.security.ClientLoginModule  required;
};

The ClientLoginModule at the end of your JAAS module stack will basically make 
sure that the security context is propagated to backend EJBs.

In your scenario:

#1 login
#2 call methods
#3 logout

If this is all one single HTTP request, then what you are doing is fine.
If the #2 must spawn multiple HTTP requests, it is definitely better to let the 
container (Tomcat/JBoss) do the authentication for you through BASIC or FORM 
based authentication.

Thomas


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Interceptor

2005-08-01 Thread patrickdalla
How do I create an Interceptor?

Where do I configure an interceptor?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread [EMAIL PROTECTED]
we have 2 kinds of interceptors so far in jboss portal, server scoped and 
component scoped.

in 2.0 both of them use the same based interface, in 2.2 they have each a 
specific subclass.

you create your own by inheriting the base class of interface and you specify 
them in an xml file in conf either in standardjboss-portlet.xml or 
jboss-container.xml

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - distributed transactions -- are they or are they not support

2005-08-01 Thread Gregg_Saffell
I've read many postings suggesting JBoss 4 has a full distributed transaction 
manager which I take to mean a TM that provides for transactions that span 
multiple JVMs.  

The JBoss 4.x documentation does not support this. It makes reference only to 
the fast in-memory TM that does not propagate transaction context outside of 
the JVM.  

There are many and varied postings that talk about using tyrex and jotm but 
none of those inspire much confidence.

So does JBoss 4.x include a transaction manager that supports distributed 
transactions? 

Thanks,
Gregg

P.S. Here are some links suggesting this is included with 4.x:

- This posting says JBoss 4.0 has a full distributed transaction manager -- 
http://www.theserverside.com/news/thread.tss?thread_id=19615

- This posting says 4.0 has a full implementation of J2EE 1.4 and distributed 
transactions -- 
http://computerworld.com/developmenttopics/development/java/story/0,10801,83555,00.html

- This posting suggests that distributed transactions are part of J2EE 1.4: 
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/ 

- As does this one: http://www.theserverside.com/articles/article.tss?l=J2EE1_4 
(the jboss site says JBoss 4.0 is J2EE 1.4 certified)

[/url]

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
That you Very much.
I'm writing a blog system (just for fun and learning).
So I'll have my dispatch servlet wich will do all requests. that need 
autorithation.
and care for login only in case the required actions need auth.

Btw: is there a way I can ship my login-config with my ear? or do I have to 
edit the one in server/default/config over and over?

Another question: though not completely JAAS related.
I have my setup of a User-Group-Role database schema with CMP EJB's...
now say I have 3 projects. I could a) extend them to include the 'domain' 
field. or put them into different tables. But Jboss doesn't allow me to have 2 
ear's with the same Beans. :( So I must name them UserBean or something.

thank you.
 kindest regards,
  Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Failover problem

2005-08-01 Thread [EMAIL PROTECTED]
If you keep having this probelm, you can open up a Jira issue under 
JBossAS/clustering component. Please attach your test case as well.

Thanks,

-Bem

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread tcherel

For the login config, take a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig.
The JBossSX Wiki pages are actually a good JBoss security resource for 
documentation.

Not sure I understand the second question. I am not Entity bean expert but Iw 
ill be surprised that you can not use the same entity beans between two ears 
(but may you can't, I really do not know).

Thomas


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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Ask yourself, how many of those links are from the actual JBoss site?

And while you are at it, ask yourself what the JBoss site actually says:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossJTS

You can be J2EE certified without supporting JTS.
EJB-2.1 Section 19.6.2:
Interoperability The requirements in this subsection are designed to ensure 
that when a J2EE container does not support transaction interoperability, the 
failure modes are well defined so that the integrity of an application s data 
is not compromised: at worst the transaction is rolled back...

JTS Work In Progress:
http://jira.jboss.com/jira/browse/JBAS-1421

JBoss with JTS from a partner NOW
http://www.arjuna.com/products/jboss/index.html

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - JBoss temporary directories

2005-08-01 Thread jhart-ppcn
First of, let me say sorry if I botch any of the terminology here.

I'm having a problem relating to permissions of the JBOSS_HOME and subsequent 
subdirectories.  Previously, the entire JBOSS_HOME was owned by user foo:foo 
and that was the user that ran JBoss.  I've since changed this and only allowed 
the foo user to have control over the 
$JBOSS_HOME/server/blah/{work,tmp,deploy,data} directories.

This seems to work fine in that JBoss starts up without complaints.  However, 
when I go to visit one of our JSPs, the compilation process fails because the 
foo user does  not have permission to write to $JBOSS_HOME (specifically, 
$JBOSS_HOME/files1854029287).

I did a bunch of searching and apparently this is an ant related problem that 
JBoss triggers:

http://issues.apache.org/bugzilla/show_bug.cgi?id=19765

The relevant errors that I'm getting are:


  | Error creating temporary file
  | java.io.FileNotFoundException: /apps/jboss/files1854029287 (Permission 
denied)
  | 

I thought the scratchdir parameter for the jsp server in web.xml was the fix, 
but it is not.  I've changed all web.xmls that I can get my hands on.  

Is there way around this?  If I'm leaving anything out, please let me know and 
I'd be happy to provide it.

Thanks in advance!

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: unable to deploy an ear archive in JBoss4.0.3RC1

2005-08-01 Thread darranl
How did you install JBoss?  Did you use the installer or did you just unzip a 
distribution?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Local EJB Lookup Error

2005-08-01 Thread darranl
jcorbin4607 wrote : 
  | The test case I am running is inside a main function.  Does this mean it is 
truly running in its own JVM?

It depends on how the main method is being called.

Also how is the InitialContext obtained?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
Thanks for the quick reply. Having a definitive answer means more than you know.

The postings regarding tyrex seem to suggest that it was included/recommended 
at some point in JBoss's history but was subsequently removed/deprecated.

The postings regarding JOTM seem to suggest that it is the recommended open 
source alternative but I've found no postings that suggest it has been 
successfully integrated. 

I need distributed transaction support in the near term.  Are either of the 
above viable with JBoss 3.2.x or 4.x?

(I'm not averse to doing a little work to make it happen, I'd just like to 
avoid spending a lot of time only to learn it was never viable to begin with. 
Also, I'm not talking about a high volume application, just a few concurrent 
transactions at any given time.)

Thanks again.

Gregg



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Failover problem

2005-08-01 Thread darranl
Does your web application cache the interfaces that are being used or do you 
perform the lookups each time?

As part of your testing did you make sure at least one of the nodes was up all 
the time so when each node is started it can join the original cluster or at 
some points were all of the nodes shut down?

Finally for the next  access from the web application was one of the nodes up 
during the previous request still available?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - OperationDesc for myMethod was not synchronized to a method.

2005-08-01 Thread sudkampf
I am creating a web service to send alert messages by email and after following 
the documentation I found at 
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch12.html I am still getting 
an error as follows:

anonymous wrote : java.lang.Exception: The OperationDesc for sendAlert was not 
synchronized to a method of com.cc.infrastructure.services.AlertServiceEndpoint.
  | at org.jboss.axis.InternalException.(InternalException.java:106)
  | at 
org.jboss.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:870)
  | at 
org.jboss.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:1217)
  | at 
org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:1063)
  | at 
org.jboss.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:984)
  | at 
org.jboss.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:732)
  | at 
org.jboss.webservice.server.InvokerProvider.initServiceDesc(InvokerProvider.java:95)
  | at 
org.jboss.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:388)
  | at 
org.jboss.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:560)
  | at 
org.jboss.axis.deployment.wsdd.WSDDDeployment.getDeployedServices(WSDDDeployment.java:617)
  | at 
org.jboss.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:356)
  | at 
org.jboss.webservice.server.AbstractServlet.reportAvailableServices(AbstractServlet.java:94)
  | at 
org.jboss.webservice.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:69)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 

I get this error when I try to view http://localhost:8080/ws4ee/services.

My AlertServiceEndpoint interface:
package com.cc.infrastructure.services;
  | 
  | import java.rmi.Remote;
  | 
  | /**
  |  * @author f.sudkamp
  |  *
  |  */
  | public interface AlertServiceEndpoint extends Remote {
  | public int sendAlert(int msgType,
  |  int msgAction,
  |  String to,
  |  String subject,
  |  int contactID,
  |  String firstName,
  |  String lastName,
  |  int alertSubscriptionID,
  |  String urlDocID,
  |  String docID,
  |  int alertID,
  |  String formattedMsg,
  |  String contentType) throws java.rmi.RemoteException;
  | }
  | 

My AlertService class file:
package com.cc.infrastructure.services;
  | 
  | import java.sql.Timestamp;
  | import com.cc.infrastructure.FrameworkController;
  | import com.cc.infrastructure.Exception.ExceptionType;
  | import com.cc.infrastructure.Exception.CCException;
  | import com.cc.infrastructure.alert.TRUEAlert;
  | import com.cc.infrastructure.datatypes.documents.GMBIAlertJMS;
  | 
  | import javax.xml.rpc.ServiceException;
  | import javax.xml.rpc.server.ServletEndpointContext;
  | 
  | /**
  |  * @author f.sudkamp
  |  *
  |  */
  | public class AlertService implements AlertServiceEndpoint
  | {
  | private static final boolean VERBOSE = false;
  | private ServletEndpointContext ctx;
  | 
  | public AlertService() {}
  | 
  | public int sendAlert(int msgType,
  |  int msgAction,
  |  String to,
  |  String subject,
  |  int contactID,
  |  String firstName,
  |  String lastName,
  |  int alertSubscriptionID,
  |  String urlDocID,
  |  String docID,
  |  int alertID,
  |  String formattedMsg,
  |  String contentType)
  | {
  | int result = 0;
  | Timestamp createDate = null;
  | try
  | {
  | FrameworkController fc = 
FrameworkController.getInstance();
  | createDate = new Timestamp(System.currentTimeMillis());
  | TRUEAlert.write(GMBIAlertJMS.getAlertXML(formattedMsg,
  | msgType,
  | msgAction,
  | to,
  | subject,
  | contactID,
  | 

[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Tyrex is broken and does not do transaction recovery. 
Even the original coder said NOT to use it in production.
Although you can still find the code in the cvs archive, I doubt it even 
compiles.

JOTM is based upon HOWL of which most people I've spoken to have a low opinion.

I know of posts (which you can find using search) where people have tried to 
integrate JOTM and asked for help, but then gave up because:

* They couldn't get it to work
* Got it to work, but didn't give any feedback to tell us
* Gave up trying with no conclusion

If like these other users you go for JOTM and aren't prepared to 
contribute the integration back to JBoss, you are on your own.

Useful link:
http://wiki.jboss.org/wiki/Wiki.jsp?page=3rdPartyTM

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
If we go for it, I'll be sure to post the results--good, bad, or inconclusive. 

Thank you very much both for the reply and for the application server.

Gregg



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Mapping

2005-08-01 Thread artemis
Build .har, and deployed.
This is my hbm.xml file.

?xml version=1.0 encoding=UTF-8?
!DOCTYPE hibernate-mapping PUBLIC =//Hinernate Mapping DTD 3.0//EN
http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd;
hibernate-mapping package=com.ssi.listener.bean







/hibernate-mapping

Built a .war and in a sevlet, had following code:


InitialContext ctx  = new InitialContext();
SessionFactory factory  = (SessionFactory)
ctx.lookup(java:/org/hibernate/SessionFactory);
Sessionhsession = factory.openSession();
CWsmType wsmtype = new 
CWsmType();
wsmtype.setTypeId(123);
wsmtype.setWsmDefaultName(myType);
try {
Transaction 
transaction=hsession.beginTransaction();

hsession.save(wsmtype);
   transaction.commit();
} finally {
hsession.close();
}  
Deployed the .war.

At runtime, that is what  I see. 


14:53:56,312 INFO  [STDOUT] org.hibernate.MappingException: Unknown entity: 
com.ssi.listener.bean.CWsmType
at 
org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:555)
at 
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1070)
Why doesnt the session see the persistece object?

Any ideas, inputs? Thanks.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Gregg_Saffell wrote : I need distributed transaction

It is very seldom you actually need DTM (rather than just XA).
It usually points to bad design and nearly always leads to poor performance.
Besides being a pain to manage.

The only reason we are implementing JTS for JBoss is because people insist they 
need
it. They are usually wrong. I would never recommend that somebody actually uses 
it.

But people will always argue that we don't recommend it because we haven't got 
it.
The answer will be the same when we implement it.
Just like some of the other brain deaths in the spec...
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread darranl
Can you post your deployment descriptors wrapped with [ code ][ / code ] tags 
without the spaces and use the preview button.

Can you also execute the command 'jar -tf harname.har' and post the output here.

What messages are displayed when you deploy the har?

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
That it only points to bad design has been posted before and isn't true.  We 
have a distributed application that requires a record to be stored both locally 
and at a remote site. The redundant storage of the record allows both sites to 
do their thing even when they can't communicate. Should the two databases get 
out of sync, the app is compromised.  Lastly, they have to communicate over 
https. 

The http invoker servlet is awesome by the way, really came in handy.  That's 
the other piece the worries me though.  I'm concerned that even if we do 
successfully integrate JOTM we'll then only learn that the invoker servlet 
doesn't propagte the transaction context. Do you know if it will or won't?







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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: JBoss 4.0.2 wiyth Hibernate3 exception org.hibernate.Map

2005-08-01 Thread artemis
Here is what I see when I deploy the .har file:


15:34:51,203 INFO  [Hibernate] Using JDBC batch size : null
15:34:51,203 INFO  [Configuration] Searching for mapping documents in jar: 
listenerHAR.har
15:34:51,203 INFO  [Configuration] processing extends queue
15:34:51,203 INFO  [Configuration] processing collection mappings
15:34:51,203 INFO  [Configuration] processing association property references
15:34:51,203 INFO  [Configuration] processing foreign key constraints
15:34:51,203 INFO  [NamingHelper] JNDI InitialContext properties:{}
15:34:51,218 INFO  [DatasourceConnectionProvider] Using datasource: 
java:/PostgresDS
15:34:51,218 INFO  [SettingsFactory] RDBMS: PostgreSQL, version: 8.0.3
15:34:51,218 INFO  [SettingsFactory] JDBC driver: PostgreSQL Native Driver, 
version: PostgreSQL 8.0 JDBC3 with SSL (build 311)
15:34:51,218 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.PostgreSQLDialect
15:34:51,218 INFO  [SettingsFactory] JDBC batch size: 15
15:34:51,218 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
15:34:51,218 INFO  [SettingsFactory] Scrollable result sets: enabled
15:34:51,218 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
15:34:51,218 INFO  [SettingsFactory] Aggressive release : enabled
15:34:51,218 INFO  [SettingsFactory] Default batch fetch size: 1
15:34:51,218 INFO  [SettingsFactory] Generate SQL with comments: disabled
15:34:51,218 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
15:34:51,218 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
15:34:51,218 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
15:34:51,218 INFO  [SettingsFactory] Query language substitutions: {}
15:34:51,218 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.transaction.JTATransactionFactory
15:34:51,218 INFO  [NamingHelper] JNDI InitialContext properties:{}
15:34:51,218 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
15:34:51,218 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
15:34:51,218 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
15:34:51,218 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
15:34:51,218 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): 
enabled
15:34:51,218 INFO  [SettingsFactory] Automatic session close at end of 
transaction: enabled
15:34:51,218 INFO  [SettingsFactory] Second-level cache: enabled
15:34:51,218 INFO  [SettingsFactory] Query cache: disabled
15:34:51,218 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.HashtableCacheProvider
15:34:51,218 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
15:34:51,218 INFO  [SettingsFactory] Structured second-level cache entries: 
enabled
15:34:51,218 INFO  [SettingsFactory] Echoing all SQL to stdout
15:34:51,218 INFO  [SettingsFactory] Statistics: disabled
15:34:51,218 INFO  [SettingsFactory] Deleted entity synthetic identifier 
rollback: disabled
15:34:51,218 INFO  [SettingsFactory] Default entity-mode: pojo
15:34:51,218 INFO  [SessionFactoryImpl] building session factory
15:34:51,218 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, 
no JNDI name configured
15:34:51,218 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.PostgreSQLDialect
15:34:51,218 INFO  [Configuration] processing extends queue
15:34:51,218 INFO  [Configuration] processing collection mappings
15:34:51,218 INFO  [Configuration] processing association property references
15:34:51,218 INFO  [Configuration] processing foreign key constraints
15:34:51,218 INFO  [Configuration] processing extends queue
15:34:51,218 INFO  [Configuration] processing collection mappings
15:34:51,218 INFO  [Configuration] processing association property references
15:34:51,218 INFO  [Configuration] processing foreign key constraints
15:34:51,218 INFO  [SchemaExport] Running hbm2ddl schema export
15:34:51,218 INFO  [SchemaExport] exporting generated schema to database
15:34:51,218 INFO  [NamingHelper] JNDI InitialContext properties:{}
15:34:51,218 INFO  [DatasourceConnectionProvider] Using datasource: 
java:/PostgresDS
15:34:51,218 INFO  [SchemaExport] schema export complete
15:34:51,218 INFO  [NamingHelper] JNDI InitialContext properties:{}
15:34:51,218 INFO  [SessionFactoryImpl] Checking 0 named queries
15:34:51,218 INFO  [Hibernate] SessionFactory successfully built and bound into 
JNDI [java:/org/hibernate/SessionFactory]




Here is the hbm.xml completely:

hibernate-mapping package=com.ssi.listener.bean







/hibernate-mapping

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

Reply to the post : 

[JBoss-user] [Clustering/JBoss] - Re: clustering problems - nodes fail to cluster

2005-08-01 Thread spambob
Turns out the problem was a switch issue.   What made this especially hard to 
figure out is that org.jgroups.demos.ViewDemo shows the machines clustering 
correctly.  Fortunately, org.jgroups.tests.McastReceiverTest and 
org.jgroups.tests.McastSenderTest failed, which led me to investigate the 
switch settings.

I can now get the machines to cluster successfully in jboss 3.2.5, but they 
fail to cluster in 3.2.7.  
We'll launch with 3.2.5 for now.Perhaps removing -b 0.0.0.0 will fix it 
for 3.2.7?



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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread [EMAIL PROTECTED]
Gregg_Saffell wrote : That it only points to bad design has been posted 
before and isn't true.  We have a distributed application that requires a 
record to be stored both locally and at a remote site. The redundant storage of 
the record allows both sites to do their thing even when they can't 
communicate. Should the two databases get out of sync, the app is compromised.  

My point exactly. Why wouldn't two applications that can't communicate NOT get 
out of sync. And how are you going to recover them consistently when they can't 
communicate
with each other? etc.

I'm not going to go further down this road. Your application design is your 
problem.

anonymous wrote : 
  | Lastly, they have to communicate over https. 
  | 
  | The http invoker servlet is awesome by the way, really came in handy.  
That's the other piece the worries me though.  I'm concerned that even if we do 
successfully integrate JOTM we'll then only learn that the invoker servlet 
doesn't propagte the transaction context. Do you know if it will or won't?
  | 

Why would JOTM/JTS which is CORBA know anything about HTTPS or JBoss's invokers 
other than RMI/IIOP?
I think it is time you go back and re-read the specs and links that I gave you 
before,
rather than using me as your search engine.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: distributed transactions -- are they or are they not sup

2005-08-01 Thread Gregg_Saffell
I'll take that as a no.

Have a nice day.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
Thanks again Tomas. And sorry to bug you once more :/

well I now got the DynamicLoginConfig setup and my login-confix.xml too.

login-config.xml
?xml version='1.0'?
  | !DOCTYPE policy PUBLIC
  |   -//JBoss//DTD JBOSS Security Config 3.0//EN
  |   http://www.jboss.org/j2ee/dtd/security_config.dtd;
  | 
  | policy
  | !-- Security domain for mog/moog/stub --
  | application-policy name = stub
  |authentication
  |   login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required
  |  module-option name = 
unauthenticatedIdentityguest/module-option
  |  module-option name = dsJndiNamejava:/mogDS/module-option
  |  module-option name = principalsQuerySELECT password FROM 
mooguser WHERE name=?/module-option
  |  module-option name = rolesQuerySELECT r.name, 'Roles' FROM 
moogrole r LEFT JOIN group_role gr ON r.id=gr.role_id LEFT JOIN mooggroup 
  | g ON 
  | gr.group_id=g.id LEFT JOIN user_group ug ON g.id=ug.group_id LEFT JOIN 
user_role ur ON r.id=ur.role_id LEFT JOIN mooguser u ON (ug.user_id=u.id OR 
  | ur.user_id=u.id) WHERE u.name = ?/module-option
  |   /login-module
  |   login-module code =  org.jboss.security.ClientLoginModule flag 
= required/login-module
  |/authentication
  | /application-policy
  | /policy

And I know for sure it's loaded.
becase I can run lc.login from within my servlet and get a valid subject back.

now whenever I try to access a Bean I get:
[UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found

so somehow it's not picking up my domain :( // the UserRolesLoginModule is the 
one that is in the server login-config.xml

kindest regards,
 Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Using JAAS in a Servlet? No Pricipal propagation?!

2005-08-01 Thread MrMo
WH! It worked!
wow. that was tough ;)

thanks a ton Tomas.

was my mistake a spelling error in the jboss.xml

kindest regards,
 Moritz Angermann

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Interceptor

2005-08-01 Thread yxyang
But I found that there are three files for interceptors.

./core/src/resources/portal-core-sar/conf/jboss-container.xml
./core/src/resources/portal-core-sar/conf/standardjboss-page.xml
./core/src/resources/portal-core-sar/conf/standardjboss-portlet.xml

Does it mean both standardjboss-page.xml and standardjboss-portlet.xml are 
component scoped?

regards
yang

[EMAIL PROTECTED] wrote : we have 2 kinds of interceptors so far in jboss 
portal, server scoped and component scoped.
  | 
  | in 2.0 both of them use the same based interface, in 2.2 they have each a 
specific subclass.
  | 
  | you create your own by inheriting the base class of interface and you 
specify them in an xml file in conf either in standardjboss-portlet.xml or 
jboss-container.xml

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - the incomplete documentation

2005-08-01 Thread benzhang0001
I find the following documentation is one of them that you read it and you 
could not test it -- useless:

http://docs.jboss.org/ejb3/tutorial/stateless/stateless.html

My question is that:

1): the Calculator class refer @Stateless from javax.ejb.Stateless.  I checked 
jboss-j2ee.jar, there is no class (interface there),  which jar file I should 
put in my class path? I have  AS 4.0.3?

2):   in the Building Running section mentioned use
Unix:$ export JBOSS_HOME=where your jboss 4.0 distribution is
Windows: $ set JBOSS_HOME=where your jboss 4.0 distribution is
 $ ant
  $ ant run

WHere is the build.xml, which is distribute with 4.0.3CR1?  or some where?
Please give detail on this.  
 

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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-01 Thread bstansberry
I was able to reproduce the problem by setting the 
-Dcom.sun.management.jmxremote parameter, and confirmed that the patch I 
committed last night fixes the problem (by finding the JMX server by calling 
MBeanServerLocator.locateJBoss() instead of just locate()).  So, this issue is 
fixed in CVS.

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: Exception: CMR field value is already loaded

2005-08-01 Thread blackandwhite
Thanks Ulf.
I will upgrade to JBoss 3.2.7

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
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: A CMR collection may only be used within the transction

2005-08-01 Thread blackandwhite
Thanks Ulf.
I will upgrade to JBoss 3.2.7

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user