[JBoss-user] [Security & JAAS/JBoss] - LdapLoginModule and GSSAPI (Kerberos)

2005-08-02 Thread bpoweski
I have been trying to configure the JBoss LdapLoginModule to work with our 
openldap server.

Most of the examples i've seen are using simple with the Ldap server.  Our Ldap 
server only allows authentication via Kerberos.  I've seen the Sun GSSAPI login 
context class but i'm not sure if this will work.

Anyone have any experience setting this up in a similar environment?

>From looking at the code i'm not sure how the user ticket would be 
>retrieved.hmm

Thanks



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: @SoapBinding annotation

2005-08-02 Thread [EMAIL PROTECTED]

  | @SOAPBinding (style=SOAPBinding.Style.RPC,use=SOAPBinding.Use.LITERAL)
  | 

is the only one that should be supported.  As rpc/encoded is not ws-i compliant.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread [EMAIL PROTECTED]
I doubt it.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Remote exception

2005-08-02 Thread johnhelen
Hello

I have a Java server using JBoss and a database (mySQL). I also create an
application with some SessionBeans, entity beans. My application run OK.  
However,
sometime, the application does not run as there is a remote exception. The
error is:

Remote Exception : RemoteException occurred in server thread; nested
exception is:
 java.rmi.ServerException: EJBException:; nested exception is:
 javax.ejb.EJBException: null; CausedByException is:
 No ManagedConnections available within configured blocking timeout ( 3
[ms] ); - nested throwable: (javax.resource.ResourceException: No
ManagedConnections available within configured blocking timeout ( 3
[ms] ))
Remote Exception while generating myBean // myBean is a bean

Then I have to restart the server (JBoss) to make my application to run
again

I know that there are many reasons for this error. If you have any clue,
for this, please help!!!

Thank you
S.Hoa



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: what happen if I have two datasource files in deploy fol

2005-08-02 Thread johnhelen
Thanks
I think that there is JNDI name conflict if in the two files there are jndi 
names which are the same.

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

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


---
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=7477&alloc_id=16492&op=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-02 Thread sia
I have same problem on JBoss 4.0.2 under heavy load!!!
JDK is 1.5.0_4 for Linux

Is there any plans to fix it???

2005-08-02 22:59:48,498 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract java.util.List 
com.adigida.ejb.session.CompanyManagementLocal.getUsersOffices(java.lang.Long) 
throws javax.ejb.FinderException, causedBy:
  | javax.ejb.EJBException: CMR field value is already loaded
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge$FieldState.loadRelations(JDBCCMRFieldBridge.java:1979)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1417)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.load(JDBCCMRFieldBridge.java:1404)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:717)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
  | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
  | 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - remote notification problem

2005-08-02 Thread deedee
I am using RMI connector to add notification listener to an Mbean. (jboss 3.2.5)
All work well at startup. The client can receive all remote notification sent 
by Mbean. But after jboss run several hours, there is an exception while Mbean 
is sending out notification:

java.lang.reflect.UndeclaredThrowableException  
  
 at $Proxy42.handleNotification(Unknown Source) 
 
 at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98)
 
 at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:81)
 
 at test.NotificationMgr.sendNotification(Unknown Source)   
   
 at test.NotificationMgr.handleNotification(Unknown Source) 

 at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) 

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   
 at java.lang.reflect.Method.invokeMethod.java:324) 
  at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
  at 
$Proxy37.handleNotification(Unknown Source) 
 at 
javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98)
  at 
javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:81)
 Caused by: 
java.lang.reflect.InvocationTargetException 
  at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)   

   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at 
java.lang.reflect.Method.invoke(Method.java:324)
   at 
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
  ... 26 more   

  Caused by: org.jboss.util.NestedRuntimeException: Connection refused 
to host: 192.168.0.1; nested exception is:  java.net.ConnectException: 
Connection timed out; - nested throwable: (java.rmi.ConnectException: 
Connection refused to host: 192.168.0.1; nested exception is: 
java.net.ConnectException: Connection timed out)
 at 
org.jboss.jmx.connector.notification.RMINotificationListener.handleNotification(RMINotificationListener.java:74)
  ... 30 more   

  Caused by: java.rmi.ConnectException: Connection refused to host: 
192.168.0.1; nested exception is: java.net.ConnectException: Connection timed 
out 
at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)   
at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)  
 at 
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) 
  at 
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)   
   at 
org.jboss.jmx.connector.notification.RMIClientNotificationListener_Stub.handleNotification(Unknown
 Source)
  at 
org.jboss.jmx.connector.notification.RMINotificationListener.handleNotification(RMINotificationListener.java:71)
  ... 30 more   

  Caused by: java.net.ConnectException: Connection timed out

 at java.net.PlainSocketImpl.socketConnect(Native Method)   

   at java.net.PlainSocketImpl.doConnect(PlainSocketI

[JBoss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2005-08-02 Thread john_anderson_ii
Thanks for the tip!  Search first ask second really payed off this time.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Problem: SecurityAssociationValve Failed to determine servl

2005-08-02 Thread tu_gupta
Hi all,
 I am newbie to jboss AS. I have recently deployed web application on the JBoss 
Application Server. When I check the log files I see the following error 
infinite times. 
This error is not affecting any functionality of the web application. 

What possibly can be the cause of the error ? 
 
regards
Tushar

2005-08-03 09:00:40,812 DEBUG 
[org.jboss.web.tomcat.security.SecurityAssociationValve] Failed to determine 
servlet
java.lang.ClassCastException: org.apache.catalina.realm.GenericPrincipal
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:133)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)


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

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


---
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=7477&alloc_id=16492&op=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: HOW-TO obtain URL for Web Application

2005-08-02 Thread treespace
OK, there's jboss.bind.address so that will take care of the host name. That 
leaves the port number.  That reduces my question to the following:

I How can I programatically retrieve the port number the web container is 
listening on before my first request comes in. 

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

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


---
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=7477&alloc_id=16492&op=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: HOW-TO obtain URL for Web Application

2005-08-02 Thread treespace
The scheme is also dynamic (ftp, https, http, file...) so obviously I will have 
to assume that also.  That leaves the host and port number.  Is there a runtime 
config setting for those I can get at somewhere?





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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - HOW-TO obtain URL for Web Application

2005-08-02 Thread treespace
I frequently load URL based resources and I can get the URL using request 
attributes to generate a URL like this: https://acme:8443/portal

The code is dirt simple:


  | getURL( HTTPServletRequest r) 
  | {
  | return   r.getScheme() + "://" + r.getServerName() + ":" +
  | r.getServerPort() + r.getContextPath();
  | }
  | 

The problem is I need that URL before  a request is made and I do not want to 
hard-wire that. The ServletContext passed to Servlet.init() does not get me 
that information so I cannot use a load-on-start servlet, either. 

How can I get the scheme, host and port  at startup? The context path is not an 
issue since obviously there can be several of those and I can hard wire that 
one. 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How can I stop these warning messages ? [UDP] discarded

2005-08-02 Thread [EMAIL PROTECTED]
Starting 3.2.6, there is an additonal tc-cluster-service.xml for http session 
replication that uses JGroups. So you will need to segregated there as well.

-Ben

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: Problem in porting of Swing/ jboss app from Jboss-3.2.2

2005-08-02 Thread Biswojit
Hi Joseph,
Did you manage to find right jars?
If not could please post your client jar lists so that I can compare those
with mine. 

Thanks
Biswojit   

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.6 Clustering with JGroups Configuration Questi

2005-08-02 Thread rcostanzo
I am using Apache+mod_jk. The cluster is configured to use EJB cache 
invalidation and there is no session replication going on. The clients don't 
end up using RMI since the mod_jk delegates to Tomcat via AJP13, and then 
Tomcat makes a local EJB call. So we're not using HAJNDI. The reason for using 
a cluster is so our servers can fully cache (option A), and then rely on the 
cache invalidation events to keep the caches in sync.

I do see the session count even across all of our boxes. However, only one box 
begins to get bogged down and eventually stops responding to requests. So I 
then have to restart (bounce) that instance. When it comes back it starts to 
work fine, but another instance starts to get bogged down (i.e. high load 
average). Since the session load is even, there must be some internal overhead 
which causes the instance to become overwhelmed at high loads.

I think it has to do with clustering and more specifically JGroups due to this 
high load average moving from one instance to another after a bounce. And I do 
think JGroups uses the concept of a coordinator since I just had an issue 
restarting one of my servers and it gave an error message saying it couldn't 
determine who the coordinator was (apparantly my cluster ended up in a bad 
state with 2 instances thinking it was the coordinator, so I had to stop one of 
them to fix that issue).

Let me know if any other clarifications would be useful.

Again, if anybody knows when to use FD_SOCK over FD for JGroups and how JGroups 
uses the concept of a coordinator, or any other ideas as to what's going on, 
any info would be greatly appreciated.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.6 Clustering with JGroups Configuration Questi

2005-08-02 Thread vignesh76
Hi,

Are you using Apache+mod_jk and EJB clustering? I am curious to know that If 
the load is evenly distributed how can one particular node have excess load 
than the others? Did you check how many sessions are on each node? I believe 
there is no sort of co-ordinator at the EJB level, the client making the RMI 
call decides which node should be used if HA-JNDI is configured.

What do you mean by bounced? Is JBoss crashing with an exception or something? 
If so, please provide details.


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How can I stop these warning messages ? [UDP] discarded

2005-08-02 Thread jitubats
Change in log4j.xml


  |
  |   
  |

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: How can I stop these warning messages ? [UDP] discarded

2005-08-02 Thread ahahamyan
I have a related question. I was also getting the same messages because I 
started two jboss 4.0.2 instances on separate servers with different partition 
names (hence two separate clusters). I was able to assign a different 
mcast_port in cluster-service.xml for one of them, and the warning messages 
went away. However, even though both partitions are named differently, I still 
see a message such as 

2005-08-02 16:01:15,852 INFO  [org.jboss.cache.TreeCache] viewAccepted(): new 
members: [shwd03:64354, IT-3K65B21-XP:4189]

This is from the server IT-3K65B21-XP starting up, why is it seeing shwd03 even 
though partition names and mcast_ports are different?

Thanks for any help.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - restirct access to other IP addr

2005-08-02 Thread javcerty
How do I configue JBOSS to restrict acess to outside IP address except for my 
home IP ?

I know in Apache - httpd.conf it is done by

Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from ip_addresses


What is the equivalent way of doing this in Jboss?


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Re: Low CPU Utilization on Linux

2005-08-02 Thread nickman
jizzoe;

Can you provide more information ?

Is the application measurably slow ? If so, how do you know ? If the CPU utlil. 
is low, perhaps the load you are applying is simply insufficient to keep the 
boxes busy.

If the app is slow, you need to figure out where the botleneck is. Last time I 
saw this particular symptom, it was a misconfigured NIC on the database server. 
This was resulting in very slow DB queries, but no visible contention on the 
app servers or the DB server.

//Nicholas

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - JBoss 3.2.6 Clustering with JGroups Configuration Question

2005-08-02 Thread rcostanzo
My cluster of 5 JBoss 3.2.6 machines on Red Hat Linux has issues with members 
dropping in and out of the cluster under heavy load. I am looking for the most 
reliable method to keep my cluster in a steady state. Does anybody know what 
the cost/benefits are for switching from FD to FD_SOCK in the JGroups 
configuration? I am looking for examples for when each would be appropriate to 
use.

Also, I notice that only one of the members in the cluster starts rapidly 
degrading under heavy load (with an exceptionally high load average), and once 
that instance is bounced, another instance starts to degrade, like a virus. But 
the traffic is being evenly distributed to all boxes. Does anybody have any 
ideas as to the cause of this? My gut is that it has to do with the cluster 
coordinator being overloaded with work. Is there a good resource out there to 
find out what the cluster coordinator does and how to optimize it?

Thanks.

-Rob

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - @SoapBinding annotation

2005-08-02 Thread paper57
Is the @SOAPBinding annotation supported yet?  I cannot get any change in the 
generated WSDL by varying any of the parameters?

I've got the latest from CVS

@WebService { ... }
@SOAPBinding (style=SOAPBinding.Style.RPC,use=SOAPBinding.Use.ENCODED)
@Stateless
public class {  }

generates an RPC/literal WSDL file, similar results with document/*.



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Low CPU Utilization on Linux

2005-08-02 Thread jizzoe
I'm facing a problem where we are running JBoss 3.2.6 on Linux 9.0 in a 
clustered production environment that recieives very high traffic.  Each box 
has 4 processors.  

We are noticing that each CPU never goes above 25% CPU Utilization.  Even with 
high loads and after removing all but one box from the cluster.  

Has anyone experienced anything similar?  We moved to Red Hat Advanced Server, 
but to no avail.  I saw a BEA forum that says that if the thread count is too 
low (for WebLogic), the CPU will never reach 100% utilization.  Sounds 
reasonable.  Could the same be true for JBoss?  If so, how do you set the 
thread count?

Any help will be greatly appreciated.

Thanks!

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Performance problem with many senders

2005-08-02 Thread leandrolima
Hi,

I'm trying to perform stress tests on an application that uses JbossMQ, and 
i've found a problem when using many threads to make the requests.

A Stateless Session Bean method send a message with a "Long" (Long object type) 
content for a Queue, the messages are received and processed by a registered 
MDB.

In the tests, a client application lookup the session bean and call the 
apropriated method. 

When I'm using only 3 threads to test my client application, this works fine. 
But if i increase this number to 5 threads, jboss falls on long pauses between 
responses, and peformance really goes down.

I tried to change configurations like high memory mark, disable the persistence 
but nothing changes.

There are, no error messages, only the pauses between responses.

I'm using JVM-IL, the application is running on P4-2.8 HT, 2GbRAM, com 1024Mb 
for VM. The client application run on P4-2.4 HT, 2GbRAM

I've done a long search in Jboss forum and google, but can't find anything 
similar.

Someone can help me to find what configuration tunning can solve this problem.

Thanks.

Leandro

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Queue-Security

2005-08-02 Thread schachi
i try to add a access-control to a queue (only authenticated users should have 
read/write/create rights. other users should be blocked).
i read the jboss-documentation (jms, jaas) and i searched in the forum, but i 
didn't found the answer.

try:
ecollector-docImport-service.xml:

  | 
  |   
  |  jboss.mq:service=DestinationManager
  |  jboss.mq:service=SecurityManager
  |  
  | 
  |
  | 
  |  
  |   
  | 
  | 

deploy-exception:

  | org.jboss.deployment.DeploymentException: Error during queue setup; - 
nested throwable: 
  | (javax.jms.JMSSecurityException: Connection not authorized to subscribe to 
destination: eManager-DocImportQueue)
  | at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:898)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:922)
  | 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:585)
  | 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 $Proxy66.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:418)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | 


the following is working, but im not happy because unauthenticated users have 
read-rights

  | 
  |   
  |  jboss.mq:service=DestinationManager
  |  jboss.mq:service=SecurityManager
  |  
  | 
  |
  |
  | 
  |  
  |   
  | 
  | 


what would be the correct solution?

THANK YOU  for all hints in advance
marc

i'm using jboss-4.0.2

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread jitubats
Read the wiki  at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHA
It answers all your questions.

[/url]

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Setting up a JBoss Cluster with SSL On Red Hat Linux

2005-08-02 Thread [EMAIL PROTECTED]
Add it to the WIKI:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHA


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Setting up a JBoss Cluster with SSL On Red Hat Linux

2005-08-02 Thread jitubats
I don't know if this can be posted here.
I just made a blog for setting up a jboss cluster with https and oracle 
database client. 
It is here .. 
http://doppler.unl.edu/~jbatra/mt-static/000299.php
Do let me know if its inappropriate to put links here.. 
Thanks,
J



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Issue | Sequence Generator | 2 JBoss Instances Single Ma

2005-08-02 Thread nirvanas1979
This problem is only occuring with the sequence bean and other beans are 
working fine. Here is the code for the same:
public class SequenceStoreFacadeEJBean implements javax.ejb.SessionBean
{
/** The class name */
private static final String  CLASS_NAME   = 
SequenceStoreFacadeEJBean.class.getName ();
private javax.ejb.SessionContext mySessionCtx;
/**
 * Default Constructor
 */
public SequenceStoreFacadeEJBean ()
{

}
/**
 * DOCUMENT ME!
 *
 * @param   sequenceName  DOCUMENT ME!
 * @param   size  DOCUMENT ME!
 *
 * @return  DOCUMENT ME!
 *
 * @throws  EJBException   DOCUMENT ME!
 * @throws  SequenceException  DOCUMENT ME!
 */
public SequenceRange reserveRange (String sequenceName,
   intsize) throws EJBException,
   SequenceException
{
return reserveRange (sequenceName,
 size,
 false);

}


/**
 * DOCUMENT ME!
 *
 * @param   sequenceName  DOCUMENT ME!
 * @param   size  DOCUMENT ME!
 * @param   secondTimeDOCUMENT ME!
 *
 * @return  DOCUMENT ME!
 *
 * @throws  SequenceException   DOCUMENT ME!
 * @throws  SequenceIncrementException  DOCUMENT ME!
 */
protected SequenceRange reserveRange (String  sequenceName,
  int size,
  boolean secondTime) throws 
SequenceException
{
/** The method name */
final String METHOD_NAME = "reserveRange";


LoggingWrapper.debug (CLASS_NAME,
  METHOD_NAME,
  "SequenceStoreBean::reserveRange - Reserving [" + 
size + "] on sequence [" +
  sequenceName + "].");
PreparedStatement retrieveStmt = null;
ResultSetretrieveRSet = null;
PreparedStatement updateStmt   = null;
double   start= 0.0D;
SequenceRangerange= null;

Connection connection = null;

try
{
connection = DataAccessUtil.getConnection ();

retrieveStmt =
connection.prepareStatement("SELECT seq.sequence_value AS 
sequence_value FROM fw_mis_sequence seq WHERE seq.sequence_name = ?");

retrieveStmt.setString (1,
sequenceName);
retrieveRSet = retrieveStmt.executeQuery ();

if (retrieveRSet.next ())
{
start  = retrieveRSet.getDouble (1);

LoggingWrapper.debug (CLASS_NAME,
  METHOD_NAME,
  "Sequence value returned from the table 
is: " + start);

updateStmt = connection.prepareStatement ("UPDATE 
fw_mis_sequence SET sequence_value = (sequence_value + ?) WHERE sequence_name = 
?");
updateStmt.setInt (1,
   size);
updateStmt.setString (2,
  sequenceName);
int updates = updateStmt.executeUpdate ();


if (updates != 1)
{
LoggingWrapper.debug (CLASS_NAME,
  METHOD_NAME,
  "No database rows to be updated");

throw new SequenceIncrementException (sequenceName +
  
"SequenceStoreBean::reserveRange - Database updated no rows");

}

}

else
{
LoggingWrapper.debug (CLASS_NAME,
  METHOD_NAME,
  "Creating the new sequence for :" + 
sequenceName);

createSequence (sequenceName);
SequenceRange sequencerange = reserveRange (sequenceName,
size,
true);


return sequencerange;

}

range = new SequenceRange (start,
   (start + (double) size) - 1.0D);

}
catch (SQLException exception)
{
throw new SequenceIncrementException (sequenceName,
exception);

}
catch (Exception e)
{
e.printStackTrace();
}
finally
{
try
{
retrieveRSet.close ();
retrieveStmt.close ();
updateStmt.close ();
}
catch (Exception exception1)
{

}
try
{
/

[JBoss-user] [JBoss Portal] - Re: Portlet development with jboss eclipse IDE ?

2005-08-02 Thread sarvg
thanks for your answer. Can i use IBM Websphere studio too ? If yes, can i 
deploy my portlets (compatibly)?  Do you have experience with them ?

thanks again

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: LDAP: client-side authentication

2005-08-02 Thread schachi
thank you for reply.

here is an example (if someone else has the same problem... )

client:

  |  try {
  | 
  | System.setProperty("java.security.auth.login.config", 
"...pathtoauthconf\\auth.conf");
  | org.jboss.security.auth.callback.UsernamePasswordHandler handler = new 
org.jboss.security.auth.callback.UsernamePasswordHandler(userid, 
password.toCharArray());
  | final javax.security.auth.login.LoginContext lc =  new 
javax.security.auth.login.LoginContext("testPolicy", handler);
  | lc.login();
  |  }
  |  catch (Exception ex) {
  | // login failed
  |  }
  | 

auth.conf:

  | testPolicy {
  |org.jboss.security.ClientLoginModule  required;
  |org.jboss.security.auth.spi.LdapLoginModule required
  |java.naming.factory.initial="com.sun.jndi.ldap.LdapCtxFactory"
  |java.naming.provider.url="ldap://localhost:389/";
  |java.naming.security.authentication="simple";
  |rolesCtxDN="ou=Roles,dc=eactAG,dc=ch"
  |matchOnUserDN="true"
  |principalDNSuffix=",ou=People,dc=eactAG,dc=ch"
  |principalDNPrefix="uid="
  |uidAttributeID="userid"
  |roleAttributeID="roleName"
  |roleAttributeIsDN="false"
  | };  
  | 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Portlet development with jboss eclipse IDE ?

2005-08-02 Thread [EMAIL PROTECTED]
If you know xdoclete you can use xdoclet to have the portlet.xml generated for 
you.

However to write jboss specific descriptors you need to do them by hand. 
However you can use an XML editor like the free XMLSpy home edition.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Portlet development with jboss eclipse IDE ?

2005-08-02 Thread sarvg
Hi,
Is there any possibility to write portlets with jboss eclipse IDE ? How can i 
write my own portlet ? It is so difficult to create XML's.

thanks



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

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


---
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=7477&alloc_id=16492&op=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: Issue with jboss-app.xml and HAR deployment

2005-08-02 Thread kyle.bober
I forogt to mention that I am using JBoss 4.0.1 and the implementation of 
Hibernate it comes with.

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

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


---
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=7477&alloc_id=16492&op=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 temporary directories

2005-08-02 Thread jhart-ppcn
I've banged my head on this quite a bit more and have yet to find a solution.  
Well, I've found a few possible solutions but none of them are without bringing 
on more problems.

It turns out this is an Ant problem, as shown by this bug:

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

I thought to myself "I have Ant 1.6.5 installed. Why is this a problem?"  In 
talking this over with others here, having Ant installed locally means nothing 
in the context of jboss because JBoss bundles its own ant.jar anyway.  So, 
unless the particular JBoss I have installed (3.2.3) has an ant.jar that 
contains this fix, I'm out of luck.

One solution that was proposed and I'm testing now is setting the sticky bit on 
$JBOSS_HOME and ensure that it is owned by root:jboss (chown root:jboss 
$JBOSS_HOME; chmod 1770 $JBOSS_HOME).  This seems to work in that the pesky 
file gets created properly and the jboss user does not have full control over 
everything in $JBOSS_HOME.  

Another solution was to copy the new ant.jar to the appropriate place in the 
JBoss install.  This also seems to work though we are unsure what other bugs 
this may introduce.  

We are eventually going to migrate to the latest JBoss but that will require 
more testing.

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

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


---
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=7477&alloc_id=16492&op=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] - Issue with jboss-app.xml and HAR deployment

2005-08-02 Thread kyle.bober
I am having an issue with deploying a HAR archive within JBoss. I created a 
DemoApp.har file that has the following::

META-INF/hibernate-service.xml
com/vo/User/class
com/vo/Address.class
com/vo/User.hbm.xml
com/vo/Address.hbm.xml

I then created a jboss-app.xml file which looks like this::
http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd";>

   
  DemoApp.har
   


The jboss-app.xml has been placed in my META-INF directory in my *.ear as well 
as the HAR file and the associated ejb-jar, war, and associated deployment 
descriptor files.

When I attempt to deploy the EAR (which works fine without the HAR file and the 
jboss-app.xml) I recieve the following exceptions during deployment:: (I think 
I may be going crazy but I am sure I declared the har in the jboss-app.xml 
file!)

2005-08-02 14:10:33,560 INFO  [org.jboss.deployment.EARDeployer] Init J2EE 
application: file:/C:/jboss-4.0.0/server/default/deploy/DemoApp.ear

2005-08-02 14:10:33,590 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: 
File META-INF/jboss-app.xml process error. Line: 5. Error message: Element type 
"har" must be declared.

2005-08-02 14:10:33,590 ERROR [org.jboss.metadata.XmlFileLoader] XmlFileLoader: 
File META-INF/jboss-app.xml process error. Line: 6. Error message: The content 
of element type "module" must match "(service)".

2005-08-02 14:10:33,600 ERROR [org.jboss.deployment.MainDeployer] Could not 
initialise deployment: file:/C:/jboss-4.0.0/server/default/deploy/DemoApp.ear
org.jboss.deployment.DeploymentException: Invalid XML: 
file=META-INF/jboss-app.xml
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:257)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:138)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:727)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:664)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:230)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy7.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)



If anyone has any input on this I would appreciate it. It seems simple enough 
yet I am driving myself bananas trying to figure out why it says I haven't 
declared the har element... thanks in advance for anyone who responds.


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Web service (session) bean calling another entity bean

2005-08-02 Thread xtremebytes
Hi,

I have a session bean that exposes a Web service endpoint interface. I have 
generated WSDL, and all the necessary artefacts (using wscompile), packaged it 
and deployed it (on JBoss 4.0.2) all fine. This session bean makes some calls 
to another entity bean, which is also deployed on the same server but as a 
different enterprise application. While compiling my code for the web service 
session bean, I have used a JAR to reference the entity bean that is called. If 
I place this JAR in the server's lib (and restart), an EJBException (invalid 
invocation) is thrown when I call a method on the web service, which 
communicates with the entity bean in the other application. If I do not put the 
JAR in the lib directory, then a NoClassDefFoundError is thrown for the local 
interface of the entity bean I am trying to access. How do I get this 
deployment right.

Generalizing the situation, the question is more like: how does a session bean 
from one enterprise application access an entity bean or a session bean in 
another enterprise application given that it meets the security constraint 
requirements and is deployed in the same server (so should be able to access 
local interfaces?)?

Thanks in advance.

Xtremebytes

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Need plug-in that delivers HTTP on the back-end

2005-08-02 Thread ashok777
We use Apache to front-end a JBoss App Server. All browser accesses go through 
Apache.

For one of our applications, we have a need to keep a  persistent connection 
between a logged in browser client and the server app. The server app needs to 
send chunks of  data to the browser client periodically without requiring the 
browser client to issue a new request. In WebLogic and Webphere we are able to 
do this reliably by sending an application message as a chunk without 
delimiting it by a end-of-message marker. The proxy plug-ins for WebLogic and 
Websphere deliver the chunk to the browser without expecting the 
end-of-message-marker. Unfortunately the Apache proxy plug-in buffers a chunk 
and does not pass it along to the browser in real-time. If the server app sends 
the end-of-message marker with a chunk, the proxy delivers the message but also 
closes the connection.
 
We are not in a position to use the other alternative, namely mod jk, which 
also acts as a plug-in, but delivers messages to the back-end  in ajp13 
protocol. We need it delivered in HTTP /1.1 since we have our own socket 
listener to handle messages in the channel. 

We are therefore looking for an alternative to Apache mod proxy and mod jk to 
deliver HTTP on the back-end and to deliver HTTP responses without buffering 
chunks.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - how to activate logging

2005-08-02 Thread bambambam
hi

I've set up a Treecache in a clustered environment and everything seems to be 
working fine. I can add and remove items from the cache. What bothers me though 
is that i cant seem to figure out how to enable the logging. This makes me feel 
stupid but oh well.. 

Could someone please show a simple code-example of how to enable the logging to 
for example a file on disk?



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread marcey
I have run into a similar issue.  I have my own EJBs deployed in a local 
installation of JBoss, but behind those EJBs is a service layer which calls 
remote EJBs installed in Weblogic (not sure which version).  

When I DO include wclient.jar in my EAR, the result is that my own (JBoss) EJBs 
will not deploy and I get the same error you are getting.

However, if I DO NOT include wclient.jar, then obviously failure occurs when I 
attempt to get initial context where: 
INITIAL_CONTEXT_FACTORY = "weblogic.jndi.WLInitialContextFactory"

I believe it comes down to wlclient.jar being seen as overriding JBoss's naming 
factory, which causes problems with the local EJB deployment. And it may be a 
matter of WHERE wlclilent.jar gets put in the EAR and some other settings, but 
I am certainly no expert in that matter! 

Any other ideas?  I have seen several posts on other sites as well with this 
JBoss-Weblogic issue, but so far no real replies.



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Accessing EJB through HTTPS Invoker...

2005-08-02 Thread benoitx
Hello

I am stuck on a problem with accessing an EJB through a firewall via HTTP 
tunnelling.

Our client application is accessing the JNDI service using HTTPS and I seem to 
get the HOME interface.  Unfortunately when I call create() on it to create the 
remote interface, I get the following exception:


  | java.rmi.ConnectException: Connection refused to host: myServer.com; nested
  |  exception is:
  |   java.net.ConnectException: Connection refused: connect
  |   at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
  |   at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185
  | )
  |   at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
  |   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
  |   at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
  |   at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
  | kerProxy.java:118)
  |   at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerIntercep
  | tor.java:227)
  |   at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
  | a:167)
  |   at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
  | java:46)
  | 
  | 

Which PORT is it trying to use?  Only port 8443 is open! I have assumed, may be 
incorrectly, that by using JNDI over HTTPs, the EJB references would also go 
through the same port??? Is it the case?

How is a client supposed to be access the EJBs via HTTPs?  Could anyone post an 
example? end-to-end? Many thanks!!!

Here my client code:

When I run it, I can see:

  | About to connect to JNDI HTTPS
  | Got the HOME interface
  | 
but not "Got the REMOTE interface"!


  | System.out.println("Connect HTTPS");
  | Properties prop = System.getProperties();
  | 
  | 
prop.put("java.naming.factory.initial","org.jboss.naming.HttpNamingContextFactory");
  | prop.put("org.jboss.security.ignoreHttpsHost","true");
  | final int newPort = ConsoleMenu.getInt("Enter the port (current:" + 8443 
+")", 8443);
  | 
prop.put("java.naming.provider.url","https://"+host+":"+newPort+"/invoker/JNDIFactory";);
  | 
  | // Create a trust manager that does not validate certificate chains
  | TrustManager[] trustAllCerts = new TrustManager[]{
  | new X509TrustManager() {
  | public java.security.cert.X509Certificate[] getAcceptedIssuers() {
  | return null;
  | }
  | public void checkClientTrusted(
  | java.security.cert.X509Certificate[] certs, String authType) {
  | }
  | public void checkServerTrusted(
  | java.security.cert.X509Certificate[] certs, String authType) {
  | }
  | }
  | };
  | 
  | // Install the all-trusting trust manager
  | try {
  | SSLContext sc = SSLContext.getInstance("SSL");
  | sc.init(null, trustAllCerts, new java.security.SecureRandom());
  | HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
  | } catch (Exception e) {
  | }
  | 
  | try {
  | System.err.println("About to connect to JNDI HTTPS");
  | InitialContext context = new InitialContext(prop);
  | 
  | final Object objref = context.lookup("RefBean");
  | EJBHome anEJBHome = (EJBHome) PortableRemoteObject
  | .narrow(objref, RefBean.class);
  | System.err.println("Got the HOME interface");
  | remote = anEJBHome.create();
  | System.err.println("Got the REMOTE interface");
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | } catch (RemoteException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | } catch (CreateException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | 

The server expose the Naming service via http, here is the config for 
jboss-4.0.3RC1/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml

  | 
  | 
  |  
  |  jboss:service=Naming
  |  
  |  https://
  |  :8443/invoker/JMXInvokerServlet
  |  true
  |  org.jnp.interfaces.Naming
  |  
  |  
  |   
  |  org.jboss.proxy.ClientMethodInterceptor
  |  org.jboss.proxy.SecurityInterceptor
  |  
org.jboss.naming.interceptors.ExceptionInterceptor
  |  org.jboss.invocation.InvokerInterceptor
  |   
  |  
  | 
  | 

and Tomcat is configured to have a https connector in 
jboss-4.0.3RC1/server/default/deploy/jbossweb-tomcat55.sar/server.xml

  |   
  |   
  |   
  | 

Furthermore, JBoss is started with the following properties:
-Djava.rmi.server.hostname=myServer.com -Djava.rmi.server.useLocalHostname=false

This is to ensure that the server responds with its external address.

The main question is must I open extra ports in the firewall?, is there any way 
to use only HTTP over 8443?
How to access the EJB via https?

Any help would be greatly appreciated!
Thanks

Benoit

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

Reply to the post : 

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss not setting up application-policy entries

2005-08-02 Thread ahardy66
Hi Scott,
thanks for the info. 

However even with trace level logging configured, there is no information being 
logged that might reveal why my Realm is not being set up. 

I dislike reading posts myself that have huge amounts of logging output, but I 
can't think of what else to do.

I reduced a bit of the output by filtering out 
o.j.security.jacc.JBossPolicyConfiguration and 
o.j.security.plugins.JaasSecurityManager.HsqlDbRealm which produced over 100 
lines on their own.


  | =
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/java/jboss-4.0.2
  | 
  |   JAVA: /home/java/jdk1.5.0_03/bin/java
  | 
  |   JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
  | 
  |   CLASSPATH: 
/home/java/jboss-4.0.2/bin/run.jar:/home/java/jdk1.5.0_03/lib/tools.jar
  | 
  | =
  | 
  | 17:05:45,459 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 17:05:45,460 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: 
CVSTag=JBoss_4_0_2 date=200505022023)
  | 17:05:45,461 INFO  [Server] Home Dir: /home/java/jboss-4.0.2
  | 17:05:45,589 INFO  [Server] Home URL: file:/home/java/jboss-4.0.2/
  | 17:05:45,590 INFO  [Server] Library URL: file:/home/java/jboss-4.0.2/lib/
  | 17:05:45,591 INFO  [Server] Patch URL: null
  | 17:05:45,724 INFO  [Server] Server Name: default
  | 17:05:45,725 INFO  [Server] Server Home Dir: 
/home/java/jboss-4.0.2/server/default
  | 17:05:45,725 INFO  [Server] Server Home URL: 
file:/home/java/jboss-4.0.2/server/default/
  | 17:05:45,857 INFO  [Server] Server Data Dir: 
/home/java/jboss-4.0.2/server/default/data
  | 17:05:45,857 INFO  [Server] Server Temp Dir: 
/home/java/jboss-4.0.2/server/default/tmp
  | 17:05:45,858 INFO  [Server] Server Config URL: 
file:/home/java/jboss-4.0.2/server/default/conf/
  | 17:05:45,858 INFO  [Server] Server Library URL: 
file:/home/java/jboss-4.0.2/server/default/lib/
  | 17:05:45,991 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 17:05:46,125 INFO  [Server] Starting General Purpose Architecture (GPA)...
  | 17:05:47,368 INFO  [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
  | 17:05:47,368 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_03-b07,Sun Microsystems Inc.
  | 17:05:47,369 INFO  [ServerInfo] OS-System: Linux 2.6.12.3,i386
  | 17:05:48,964 INFO  [Server] Core system initialized
  | 17:05:55,049 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | INFO  [org.jboss.web.WebService] Using RMI server codebase: 
http://gondor:8083/
  | DEBUG [org.jboss.security.plugins.SecurityConfig] Creating 
jboss.security:service=SecurityConfig
  | DEBUG [org.jboss.security.plugins.SecurityConfig] Created 
jboss.security:service=SecurityConfig
  | DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Creating 
jboss.security:service=XMLLoginConfig
  | DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Created 
jboss.security:service=XMLLoginConfig
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Creating 
jboss.security:service=JaasSecurityManager
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created 
jboss.security:service=JaasSecurityManager
  | DEBUG [org.jboss.security.plugins.SecurityConfig] Starting 
jboss.security:service=SecurityConfig
  | DEBUG [org.jboss.security.plugins.SecurityConfig] Installed JAAS 
Configuration service=jboss.security:service=XMLLoginConfig, [EMAIL PROTECTED]
  | DEBUG [org.jboss.security.plugins.SecurityConfig] Started 
jboss.security:service=SecurityConfig
  | DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Starting 
jboss.security:service=XMLLoginConfig
  | TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] Begin loadConfig, 
loginConfigURL=file:/home/java/jboss-4.0.2/server/default/conf/login-config.xml
  | DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config 
as XML, url=file:/home/java/jboss-4.0.2/server/default/conf/login-config.xml
  | TRACE [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, 
loginConfigURL=file:/home/java/jboss-4.0.2/server/default/conf/login-config.xml
  | DEBUG [org.jboss.security.auth.login.XMLLoginConfig] Started 
jboss.security:service=XMLLoginConfig
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Starting 
jboss.security:service=JaasSecurityManager
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] 
securityMgrCtxPath=java:/jaas
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] 
cachePolicyCtxPath=java:/timedCacheFactory
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] [EMAIL 
PROTECTED]
  | DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Started 
jboss.security:service=JaasSecurityManager
  | INFO  [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web
  | TRACE [org.jboss.security.jacc.Delegatin

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - How to get better error logging for a JSP exception in Jetty

2005-08-02 Thread alchemista
Is there any way to get a better error message out of Jetty 4 integrated with 
Jboss 3.2.5?

When I get a JSP error I only get:
HTTP ERROR: 500 
JSP+has+thrown+a+ServletException%2E++Cannot+forward+response+to+specified+JSP%2E

However, I'd like to see any additional information like which tag is causing a 
problem, or which location of the file, etc.

I tried looking at the Jboss/Jetty FAQ but that did not help.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: OperationDesc for myMethod was not synchronized to a met

2005-08-02 Thread sudkampf
It is fixed.  I am not sure what I did to correct this issue but I am not 
getting the error anymore and I can get the wsdl using 
http://localhost:8080/jaxrpc-AlertService-raw/alert?wsdl now.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI over HTTPS

2005-08-02 Thread benoitx
We had to add some code...


  | System.out.println("Connect HTTPS");
  | Properties prop = System.getProperties();
  | 
  | 
prop.put("java.naming.factory.initial","org.jboss.naming.HttpNamingContextFactory");
  | prop.put("org.jboss.security.ignoreHttpsHost","true");
  | final int newPort = ConsoleMenu.getInt("Enter the port (current:" + 
8443 +")", 8443);
  | 
prop.put("java.naming.provider.url","https://"+host+":"+newPort+"/invoker/JNDIFactory";);
  | 
  | // Create a trust manager that does not validate certificate chains
  | TrustManager[] trustAllCerts = new TrustManager[]{
  | new X509TrustManager() {
  | public java.security.cert.X509Certificate[] 
getAcceptedIssuers() {
  | return null;
  | }
  | public void checkClientTrusted(
  | java.security.cert.X509Certificate[] certs, String 
authType) {
  | }
  | public void checkServerTrusted(
  | java.security.cert.X509Certificate[] certs, String 
authType) {
  | }
  | }
  | };
  | 
  | // Install the all-trusting trust manager
  | try {
  | SSLContext sc = SSLContext.getInstance("SSL");
  | sc.init(null, trustAllCerts, new java.security.SecureRandom());
  | 
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
  | } catch (Exception e) {
  | }
  | 
  | RefDataProviderHome home;
  | try {
  | System.err.println("About to connect to JNDI HTTPS");
  | InitialContext context = new InitialContext(prop);
  | 
  | final Object objref = context.lookup("RefDataProviderBean");
  | EJBHome anEJBHome = (EJBHome) PortableRemoteObject
  | .narrow(objref, RefDataProviderHome.class);
  | ...
  | 

Hope this helps!

Benoti

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread ptournet
Hi, you should have picked module called jboss-portal-2.0
You can find the way I managed to do it here : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=67347
Hope this helps

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Server's failing to join cluster after restart

2005-08-02 Thread lordsteve_666
Hi folks,

I've got a serious problem at hand: My production cluster consists of 4 JBoss 
4.0.2 servers (tat-01,tat-02,tat-03,tat-04). The cluster ran stable and 
undisturbed for the last few weeks. Due to a deployment problem, I had to kill 
and restart one of the cluster servers, and now it refuses to
a) join the cluster and
b) startup properly

I tried to restart one of the remaining servers without killing it, and ran 
into the same problem.

All I get to see in the log file are the messages I've posted below. With this, 
JBoss hangs and those errors and warnings are repeated over and over in the log.

Any help or insight is highly appreciated!

- Stefan

---
GMS: address is tat01:43229
---
2005-08-02 08:32:26,500 INFO  [org.jboss.cache.TreeCache] state could not be 
retrieved (must be first member in group)
2005-08-02 08:32:26,501 INFO  [org.jboss.cache.TreeCache] viewAccepted(): new 
members: [tat01:43229]
2005-08-02 08:32:26,501 INFO  [org.jboss.cache.TreeCache] new cache is null 
(maybe first member in cluster)
2005-08-02 08:32:26,696 INFO  [org.apache.catalina.startup.Embedded] Catalina 
naming disabled
2005-08-02 08:32:27,083 INFO  [org.apache.coyote.http11.Http11Protocol] 
Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
2005-08-02 08:32:27,085 INFO  [org.apache.catalina.startup.Catalina] 
Initialization processed in 325 ms
2005-08-02 08:32:27,087 INFO  [org.jboss.web.tomcat.tc5.StandardService] 
Starting service jboss.web
2005-08-02 08:32:27,091 INFO  [org.apache.catalina.core.StandardEngine] 
Starting Servlet Engine: Apache Tomcat/5.5.9
2005-08-02 08:32:27,154 INFO  [org.apache.catalina.core.StandardHost] XML 
validation disabled
2005-08-02 08:32:28,258 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33038 is not a member !
2005-08-02 08:32:28,782 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33031 (additional data: 18 bytes) is not a member !
2005-08-02 08:32:28,783 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.TatPartition] 
Suspected member: tat-04:33031 (additional data: 18 bytes)
2005-08-02 08:32:31,504 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
[tat01:43229] discarded message from non-member tat-03:48594
2005-08-02 08:32:33,254 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33038 is not a member !
2005-08-02 08:32:33,783 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33031 (additional data: 18 bytes) is not a member !
2005-08-02 08:32:33,783 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.TatPartition] 
Suspected member: tat-04:33031 (additional data: 18 bytes)
2005-08-02 08:32:38,255 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33038 is not a member !
2005-08-02 08:32:38,786 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33031 (additional data: 18 bytes) is not a member !
2005-08-02 08:32:38,787 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.TatPartition] 
Suspected member: tat-04:33031 (additional data: 18 bytes)
2005-08-02 08:32:43,255 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33038 is not a member !
2005-08-02 08:32:43,788 ERROR [org.jgroups.protocols.pbcast.CoordGmsImpl] mbr 
tat-04:33031 (additional data: 18 bytes) is not a member !
2005-08-02 08:32:43,789 INFO  
[org.jboss.ha.framework.interfaces.HAPartition.lifecycle.TatPartition] 
Suspected member: tat-04:33031 (additional data: 18 bytes)
2005-08-02 08:32:44,736 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
[tat01:43229] discarded message from non-member tat-03:48594
2005-08-02 08:32:44,737 WARN  [org.jgroups.protocols.pbcast.NAKACK] 
[tat01:43229] discarded message from non-member tat-03:48594


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Migrating from Weblogic to JBoss : problem with weapp au

2005-08-02 Thread djeanprost
I made a dump of the request.getUserPrincipal(). Here it is :

14:53:46,846 INFO  [STDOUT] 
  name = djeanprost
  password = null
  realm = [EMAIL PROTECTED]
  roles =
   
EPArchitectureSI
EPEncadrementIntermediaire
EPPoleCompetences
LorisIntranet
absenteismeIntranet
ameliorationpermanenteIntranet
barGEDIntranet
basedocCMECDPIntranet
basedocCMEIntranet
basedocGRHIntranet
basedocPHSIntranet
basedocPSOIntranet
basedocQCOIntranet
collaborateur
collaborateurUtilisateurVersions
declarationAbsenteismeIntranet
dossiersStatistiquesIntranet
ficheAbsenteisme
intendance
outilsCommerciaux
outilsPedagogiquesIntranet
utilisateurRelancesIntranet
   
  authPrincipal = djeanprost
  callerPrincipal = djeanprost
  credentials = password1
  subject = Objet :
Principal : djeanprost
Principal : 
Roles(members:absenteismeIntranet,basedocCMECDPIntranet,utilisateurRelancesIntranet,outilsCommerciaux,collaborateurUtilisateurVers
ions,outilsPedagogiquesIntranet,ficheAbsenteisme,basedocPHSIntranet,basedocCMEIntranet,intendance,dossiersStatistiquesIntranet,EPEncadrementIntermedia
ire,basedocGRHIntranet,basedocPSOIntranet,declarationAbsenteismeIntranet,barGEDIntranet,EPPoleCompetences,EPArchitectureSI,LorisIntranet,ameliorationp
ermanenteIntranet,collaborateur,basedocQCOIntranet)

  userRoles =
   
absenteismeIntranet
basedocCMECDPIntranet
utilisateurRelancesIntranet
outilsCommerciaux
collaborateurUtilisateurVersions
outilsPedagogiquesIntranet
ficheAbsenteisme
basedocPHSIntranet
basedocCMEIntranet
intendance
dossiersStatistiquesIntranet
EPEncadrementIntermediaire
basedocGRHIntranet
basedocPSOIntranet
barGEDIntranet
declarationAbsenteismeIntranet
EPPoleCompetences
EPArchitectureSI
LorisIntranet
ameliorationpermanenteIntranet
basedocQCOIntranet
collaborateur
   



You can see that my principal doesn't have the role utilisateurCollaborateur 
although I specified role-mapping with jboss-web.xml which is below :

java:/jaas/djp
accueil
   
  utilisateurCollaborateur
  collaborateur
   


Here is my web.xml (a subset)

  
mainServlet
com.dexia.common.gui.WebServlet

  webAppClassName
  com.dexia.sofaxis.accueil.gui.AccueilGUI

  
  
...
  
  

  protected
  /services
  /main.jsp
  GET
  POST


   utilisateurCollaborateur

  
  
FORM
 
 /connexion.jsp
 /echecConnexion.jsp

  

  
 utilisateurCollaborateur
  


...

Does anyone has a clue ?


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

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


---
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=7477&alloc_id=16492&op=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 create a connection factory?

2005-08-02 Thread Node
I have been playing around with JBossMQ trying to figure out how to create a 
connection factory, but have so far been unsuccessful.  The last code that I 
tried is

  | TopicConnectionFactory
  | 
  | jms-ra.rar
  | JMS Adapter
  | 
org.jboss.resource.adapter.jms.JmsConnectionFactory
  | javax.jms.Topic
  | java:/DefaultJMSProvider
  | 
JmsXARealm
  |   
But this shows in JBoss initialisation in the line
[ConnectionFactoryBindingService] Unbound connection factory for resource 
adapter for ConnectionManager 
'jboss.jca:name=TopicConnectionFactory,service=ConnectionFactoryBinding from 
JNDI name 'java:TopicConnectionFactory'
And the connection factory isnt there - so far I have only had success by 
creating an alias by the name of TopicConnectionFactory that redirects to 
ConnectionFactory.

Finally, does the ConnectionFactory implementation handle topics and queue 
connections properly? if it does then I dont need to create the extra factories.

Thanks.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: EJB SecurityException even though roles are present

2005-08-02 Thread niwhsa
Wanted to add some more details.
Since the same security domain seems to work for the web application and not 
for the EJB, I suspect it could be some EJB config. I am positn the jboss.xml 
and the ejb-jar.xml here for reference.

jboss.xml

  | 
  | 
  |java:/jaas/jwdomain
  | 
  |
  | 
  |  
  | 
  |   
  |  Fibo
  |  ejb/tutorial/Fibo
  |   
  |
  | 
  |
  |
  | 
  | 
  | 

And the ejb-jar.xml


  | 
  |Generated by XDoclet
  | 
  |
  | 
  |   
  |  EJB that computes Fibonacci suite
  |  Fibo EJB
  |  Fibo
  |  tutorial.interfaces.FiboHome
  |  tutorial.interfaces.Fibo
  |  tutorial.ejb.FiboBean
  |  Stateless
  |  Container
  |   
  | 
  |
  | 
  |
  | 
  | 
  | Secure
  | 
  | 
  | 
  | 
  | 
  | Fibo
  | create
  | 
  | 
  | 
  | 
  | Secure
  | 
  | Fibo
  | factorial
  | 
  | 
  | 
  | 


Again am I missing something ? Any help is appreciated.

thanks

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - "package javax.servlet.http does not exist" 4.0.2

2005-08-02 Thread ds
Hi...

Im testing Apache Axis with JBoss 4.0.2 on an XP machine. 

I can't get the WS linked from the 
http://ws.apache.org/axis/java/install.html#TestAJWSEndpoint in the Axis 
documentation to work. 

I'm getting:

ns1:Server.compileError Error while compiling: 
D:\jboss-4.0.2\server\default\.\deploy\webapps\axis.war\WEB-INF\jwsClasses\EchoHeaders.java
 Error compiling 
D:\jboss-4.0.2\server\default\.\deploy\webapps\axis.war\WEB-INF\jwsClasses\EchoHeaders.java:
 Line 21, column 26: package javax.servlet.http does not exist Line 92, column 
-1: cannot find symbol Line 36, column -1: cannot find symbol Line 56, column 
-1: cannot find symbol Line 94, column -1: cannot find symbol Line 94, column 
-1: cannot find symbol Line 0, column 0: Note: 
D:\jboss-4.0.2\server\default\.\deploy\webapps\axis.war\WEB-INF\jwsClasses\EchoHeaders.java
 uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for 
details. 6 errors

I read there was a fix in 4.* to set JBOSS_CLASSPATH to 
%JBOSS_HOME%\server\default\deploy\jbossweb-tomcat50.sar\servlet-api.jar but 
this doesn't exist in JBoss 4.2.0

Any ideas?

Thanks

Dan

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HTTPLoadbalancer as reverse proxy

2005-08-02 Thread vignesh76
Hi Bhatti,

Just out of curiosity, does HTTP loadbalancer provide the features you require 
mainly Caching and security. I see that the documentation metions nothing about 
caching nor security apart from load balancing. If you know better, could you 
share this knowledge? Thanks in advance.

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

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


---
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=7477&alloc_id=16492&op=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-02 Thread vignesh76
Thanks Ben and Darran,

Forgot to mention the JBoss version, it is 4.0.1.

1) I am not sure about whether they are cached or not as my role is more into 
system implementation but I shall try to find out. However could you tell me 
how does this caching affect the failover process. Also, what if the web 
application is not in use i.e. not in the midst of any ejb calls when the 
failover is needed.  I tested with a scenario where the web application was 
totally idle (logged out) and after stopping the active instance, I tried to 
login to the application again when this error occurs.

2) Yes, I ensured that one of the nodes was always up and that the clustering 
info maintained by this node had been updated after I shut down the active 
instance and beforing using the web application again to make ejb calls.

3) Yes, one of the nodes was up and ready with updated clustering info after I 
shutdown the active node and before making the next request from the web 
application to test failover.

I would like to emphasize here that intially it worked, i.e suppose I haves 2 
clustered nodes A and B, below are the test cases tested and the results I 
observed. I tested with one browser instance accessing the web app running on a 
3rd instance C. Also, for each test I used the same 2 use cases in the web app 
to check failover.

1) A and B running (B is active node) -->OK

2) A running, shutdown B (A becomes active node) -->OK

3) Restarted B, shutdown A (B should become active node now)-->Service 
Unavailable

4) Restarted instance C (B becomes active node now)--> OK

5) Restarted A, B running (B is active, from step 4)-->OK

6) A running, Shutdown B (A should become active)-->Service unavailable.

I hope this brings more clarity to this issue and leads to a quick solution. 
Otherwise I guess I would need to create a Jira issue as Ben has suggested.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - EJB SecurityException even though roles are present

2005-08-02 Thread niwhsa
HI,
 I am doing the usual custom login module to login to the servlet and then 
using the servlet to access a session ejb. Both the servlet and session bean 
are secured by the role named "Secure".

The security domain I am using is jwdomain and is set in the login-config.xml to
anonymous wrote : 
  | 
  | 
  | 
  | com.netscape.jndi.ldap.LdapContextFactory
  | true
  | 
  | 
  | useFirstPass
  | 
  | 
  | 
  | 
  | 

Note: I am using Client Login Module as part of the security domain definition 
above. 

In the servlet I am using BASIC authentication to get the username and 
password. This is working fine. However when the servlet tries to access the 
ejb the following exception is got. 

anonymous wrote : 
  | java.rmi.AccessException: SecurityException; nested exception is: 
  | java.lang.SecurityException: Insufficient method permissions, 
principal=akarkala, ejbName=Fibo, method=factorial, interface=REMOTE, 
requiredRoles=[Secure], principalRoles=[Secure]
  | 

Note that its looking for the role "Secure" and its present in the 
principalRoles. Why am I still getting the exception?

Any pointers?

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - MalformedObjectNameException: missing domain

2005-08-02 Thread stevehines
I'm new to JBoss and I'm just trying to deploy a few EJB's to JBoss 3.2.7 and 
during deployment the following error occurs:

org.jboss.deployment.DeploymentException: Error during create of ejbModule: 
file:/C:/jboss-3.2.7/server/default/tmp/deploy/tmp43510ApplicationModule.ear-contents/EJBModule.jar;
 - nested throwable: (javax.management.MalformedObjectNameException:issing 
domain)

Where do I look for the problem.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Very slow after redeploy

2005-08-02 Thread remopeter
Hi

i found the problem!

if i start a DB-query over Hibernate, i don't close the Hibernate-session. so i 
have many session's open. now i give back the session. the performance is much 
better!

cheers

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Support restrictions with IBM JDK?

2005-08-02 Thread AndiWausS
Hello,

as I have read, JBOSS 4.0.x is supposed to run smoothely under AIX and IBM-JDK 
(1.4).
What happens if problem occurs which does not happen with LINUX / SUN JDK: Will 
JBOSS support help anyway (e.g. with a workaround), or is it customer´s 
responsibility to get a solution from IBM?
I wonder if JBOSS in fact supports many IBM JDK-users - perhaps such problems 
are rather fantasy than reality?
I would really appreciate if JBOSS could answer and comment on this issue!

Thanks in advance and best regards,
Andreas

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

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


---
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_idt77&alloc_id492&op=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] - Problem on connection (No ManagedConnections)

2005-08-02 Thread tscondor
Hi!
I have a problem with a datasource oracle.
When my application try to connect to db:

InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(dbName);
con =  ds.getConnection();

receive this error:

No ManagedConnections available within configured blocking timeout ( 5000 [ms] 
); - nested throwable: (javax.resource.ResourceException: No ManagedConnections 
available within configured blocking timeout ( 5000 [ms] ))

Any Ideas?


Thanx

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

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


---
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=7477&alloc_id=16492&op=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 throws exception with MS SQL server

2005-08-02 Thread gunjan_iitk
Sorry by mistake in my last post I have wrriten oracle-jdbc2-service.xml
The file in which we have to make chnage for sqlserver installation is 
mssql-jdbc2-service.xml.
Thanks
Gunjan

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

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


---
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=7477&alloc_id=16492&op=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 throws exception with MS SQL server

2005-08-02 Thread gunjan_iitk
Hi Siraj,
I have got the solution for this exception
You have to make change in oracle-jdbc2-service.xml file

Please replace following code snnipet
jboss.jca:service=LocalTxCM,name=OracleDS

with

jboss.jca:service=DataSourceBinding,name=OracleDS

This works fine form me , hope it works for you too.

Gunjan Shrivastava

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - WARN [EjbModule] Could not load the org.jboss.ejb.plugins.S

2005-08-02 Thread bulette
Hi, i'm get this warning while the server starts (Cluster with 2 instances on 1 
PC):


  | INFO  [EjbModule] Deploying ProviderManager
  | WARN  [EjbModule] Could not load the 
org.jboss.ejb.plugins.ServiceEndpointInterceptor interceptor
  | 

What does it mean? Could it be the reason of my problems with HTTPSession 
replication?



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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: what happen if I have two datasource files in deploy fol

2005-08-02 Thread schrouf
There's no explanation as you CAN merge both datasource MBean definitions into 
a single ...-ds.xml file. As simple as that :-)

Regards
Ulf

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Problems with the deployment of the home-interface

2005-08-02 Thread daniel.niedzielski
Hello, 
my Home-Interface (entity bean) includes a create, a finder and 
a home method (ejbHome) to delete a set of rows from a database. But, I cannot 
deploy the home-interface. 

The error-message is: 

08:42:56,000 WARN [verifier] EJB spec violation: 
Bean : KdMass 
Method : public abstract void loeschenAlleMasse(long, long, long, String) 
throws RemoveException, RemoteException 
Section: 9.2.8 
Warning: Each method defined in the entity bean's home interface must be either 
create or finder method. 

08:42:56,002 ERROR [MainDeployer] could not create deployment: 
file:/opt/jboss-4.0.2/server/default/deploy/KdMassEnterpriseBean.jar 
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages. 
at org.jboss.ejb.EJBDeployer.create(EJBDep 

What can I do?
Thanks


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - what happen if I have two datasource files in deploy folder

2005-08-02 Thread johnhelen
Hello
in folder jboss\server\default\deploy, I have two datasource, one is the 
default hsqldb-ds.xml and the other is for mySQL database, mySQL-ds.xml
I know that I cannot put them together. Why... could you please explain
Thank you
S.Ho

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Migrating from Weblogic to JBoss : problem with weapp auth.

2005-08-02 Thread djeanprost
I already posted the same message on the serlet newsgroup. I try on this too 
just in case. 
***
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  section with . 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  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  section 
in the web.xml. I also have a  section where I declare the 
utilisateurCollaborateur role name. In my jboss-web.xml, I have a 

  utilisateurCollaborateur
  collaborateur
  djeanprost


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,


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: jboss and sun jwsdp 1.6

2005-08-02 Thread mwelss
Thanks for your reply, how do you deploy your webservice? I get exceptions of 
missing classes? Have you done any jboss configuration?

Martin


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread schrouf
Please don't ask things like "I'am new to , please tell me everything about 
it". Nobody has time for doing your own homework :-) 

Read the JBoss documentation and search the web for getting started with JBoss 
clustering (e.g. http://www.onjava.com/pub/a/onjava/2002/07/10/jboss.html). 
There is plenty of information available !

Regards
Ulf

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

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


---
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=7477&alloc_id=16492&op=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-02 Thread [EMAIL PROTECTED]
What jboss version is this? It looks ok to me.

Could you try if this still shows with this WS4EE that is expected go out with 
jboss-4.0.3


  | cvs co -r Branch_4_0 jboss-4.0
  | 

If yes please file a JIRA issue as explained in 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=62678

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Anyone who has built mod_jk for apache on solaris 10 -- Plea

2005-08-02 Thread gshekar
Hi,

I am using Apache that comes default with Solaris 10 on SPARC platform.  I am 
not able to build mod_jk for it.  Please help.

I am getting the following error:
[EMAIL 
PROTECTED]:/apps/apache/mod_jk/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native
 $ make
Making all in common
/apps/apache/mod_jk/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common
/bin/bash /var/apache2/build/libtool --silent --mode=compile gcc 
-I/usr/apache2/include -g -O2 -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim 
-Xa -xildoff -DSSL_EXPERIMENTAL -DSSL_ENGINE  -DHAVE_APR  
-I/usr/share/src/apache2/srclib/apr/include 
-I/usr/share/src/apache2/srclib/apr-util/include -g -O2 -DSOLARIS2=10 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I /usr/j2se/include -I 
/usr/j2se/include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: jk_ajp12_worker.c: linker input file unused because linking not done
mv: cannot access .libs/jk_ajp12_worker.lo
*** Error code 2
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory 
/apps/apache/mod_jk/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='common apache-2.0'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
  else \
local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
   || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'

Regards,
-GnanaShekar-

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Document-literal encoding with JBoss 4.0.1

2005-08-02 Thread [EMAIL PROTECTED]
document-literal is fully supported. There are however contraints with 
automatic wrapping of doc/lit parameters.

Please see 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSDOCServiceStepByStep

Starting from jboss-4.0.3 we will have doc/lit parameter wrapping. So you would 
be able to use the same SEI for rpc/lit and doc/lit

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Error launching WS Client

2005-08-02 Thread Christy
Thank you Thomas. I solved this problem, but now I have another and I think 
it's strange:
At the line call.invoke(arg) I have the 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) 

Do you know what is this? 
Thank you! 


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: jboss and sun jwsdp 1.6

2005-08-02 Thread Christy
Hi, I have jwsdp 1.6 and everything is fine. Most people use it.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Error launching WS Client

2005-08-02 Thread [EMAIL PROTECTED]
The exception says, that there is no such service in the wsdl. So what is the 
wsdl service FQN?

Also, have you looked at this FAQ

anonymous wrote : 
  | Q: How can I leverage the WS4EE client deployment model in standlone java 
app?
  | 
  | A: The ws4ee client deployment model has many advantages over DII. Most 
Java applications (except the most trivial ones) have a need for registry 
lookup (JNDI) and management (JMX). A very minimal jboss configuration has a 
tiny footprint and provides just that. Therefore, you might want to consider 
running your client app on jboss and mangage it through jmx-console and have a 
layer of indirection for resource lookup through JNDI. Additionally, you could 
then use the WS4EE client programming model and obtain preconfigured WS clients 
form JNDI.
  | 
  | 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Problem with web service client.

2005-08-02 Thread Christy
Hi, 
I have an error and I don't know what to do. I wrote a client to test my web 
service, but when I call method 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=bb&op=viewtopic&p=3887904#3887904

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - JBoss Clustering

2005-08-02 Thread Suku
Hi, 

I'm new to JBoss clustering. Can anyone provide me some help on how to create 
multiple node on different machine? How to implement load-balancing? How to 
deloy an .war. files in clustered environment? 

I'm using JBoss 4.0.1sp1 

Thanks in advance. 

Sukumar


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread amenra
Does nobody have a quick hint on this issue? Perhaps we should integrate the 
ejb3 beta into a packaged 4.0.3 JBoss?

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

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


---
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=7477&alloc_id=16492&op=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 with webservice

2005-08-02 Thread schrouf
You already have defined your APIs/technologies by using JMS and Webservices (I 
guess you will use a stateless SB as webservice implemention).

Nevertheless you should keep in mind that simulating a synchronous call with 
asynchronous JMS request/reply communication has some pitfalls. 

Your read operation on the reply queue has to use a read timeout (because no 
client wants to wait forever for a reply). But what happens if the responding 
server just was a little bit to late and places it's reply into the result 
queue afterwards ? On the next method invocation you might read the reply of 
your previous call, not that of your actual one ?!? Ok, you can think about 
sequence numbers or things like that, maybe it will do the job. But what about 
scalability ? You cannot use a single reply queue, so every stateless session 
bean instance needs it's own temporary reply queue. Using SLSB singleton 
pattern to simplify things ? bad idea because this sacrifices scalability ! 
., 

Summary: trying to do synchronous calls with asynchronous messaging isn't the 
best idea :-) If it can be avoided, than avoid it !

Regards
Ulf
 


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: java: prefix for datasources

2005-08-02 Thread _developer
Thanks a lot!

use-java-context seems to me exactly what I need!

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - jboss and sun jwsdp 1.6

2005-08-02 Thread mwelss
Can I use jboss somehow with the latest edition of sun's jwsdp (which is 1.6)? 
What is the trick? Or does jboss have a 'wscompile' on its own?

thanx,

Martin

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WEB Service NOT working

2005-08-02 Thread mamato
The problems start when I insert the line
java:/jaas/JBossWS 

All the components of the application needs to be "secured". Is there a way to 
describe that only this component has to be "sure" ?

Thanks

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: WEB Service NOT working

2005-08-02 Thread [EMAIL PROTECTED]
The cause probably is


  | 12:58:53,390 ERROR [LogInterceptor] EJBException in method: public abstract 
int 
com.sia.oweb.service.iface.WSBeanEndPoint.updIndiSOAP(com.sia.oweb.domain.Indi) 
throws java.rmi.RemoteException: 
  | 

what is causing that exception?

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - keep getting remote exception

2005-08-02 Thread rakeshkamat
Hi 
Do i need to have the "org.jboss.ejb.plugins" folders somewhere within my jboss 
dir structure to run ejbs? I keep on getting the "javax.ejb.EJBException: Could 
not instantiate bean" error everytime i try to call either the crete or 
findByPrimarykey() method on my remote interface.

What could be the problem?? Kindly help me out.

Thanks in advance.

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Request differentiation

2005-08-02 Thread [EMAIL PROTECTED]
Have a look at javax.ejb.SessionContext


  |/** Obtain a reference to the JAX-RPC MessageContext. An instance of a
  | * stateless session bean can call this method from any business method
  | * invoked through its web service endpoint interface. 
  | * 
  | * @return The MessageContext for this web service invocation.
  | * @throws IllegalStateException - Thrown if this method is invoked while
  | * the instance is in a state that does not allow access to this method.
  | */ 
  |public MessageContext getMessageContext() throws IllegalStateException;
  | 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web Services with XML document or attachment

2005-08-02 Thread [EMAIL PROTECTED]
We support org.w3c.dom.Element mapping to xsd:anyType

Have a look at

  | ant -Dtest=org.jboss.test.webservice.message.MessageTestCase one-test
  | 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - sorry?

2005-08-02 Thread lalakers
sorry

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

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


---
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=7477&alloc_id=16492&op=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 throws exception with MS SQL server

2005-08-02 Thread gunjan_iitk
Hi Siraj,
I am also getting the same exception when using Sqlserver with Jboss 4.0.2.
Can you please tell me what chnages have to be made in mssql-ds.xml and 
mssql-jdbc2-service.xml files and whee we have to copy them.
Did you got any solution for the exception.
Pleas ehelp me.
my email id is [EMAIL PROTECTED]
Regards,
Gunjan

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Jbos4.0.2 thowring AttributenotFound exception with MS sqlse

2005-08-02 Thread gunjan_iitk
Hi All,
I have done my installation using Jboss 4.0.2 + sqlserver+Windows2k.
But when I run my server I get an exception
WARN  [org.jboss.system.ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not found: BindName

I was not getting this exception when I was using Jboss 3.2.7
Can anyone please help me in solving this issue.
I will be very very thankful to you.
My email id is [EMAIL PROTECTED]
I am attaching the error log below
2005-08-02 12:12:59,681 WARN  [org.jboss.system.ServiceController] Problem 
starting service 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(AbstractIn

[JBoss-user] [Beginners Corner] - Getting error while migrating from Jboss3.2.7 to Jboss 4.0.2

2005-08-02 Thread gunjan_iitk
Hi All,
I have done my installation using Jboss 4.0.2 + sqlserver+Windows2k.
But when I run my server I get an exception
WARN  [org.jboss.system.ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
javax.management.AttributeNotFoundException: not found: BindName

I was not getting this exception when I was using Jboss 3.2.7
Can anyone please help me in solving this issue.
I will be very very thankful to you.
My email id is [EMAIL PROTECTED]
I am attaching the error log below
2005-08-02 12:12:59,681 WARN  [org.jboss.system.ServiceController] Problem 
starting service 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(AbstractIn

[JBoss-user] [Security & JAAS/JBoss] - Acheive SSO between external Application and JBOSS Applicati

2005-08-02 Thread juserp
I have a requirement where in the JBOSS application should be able to look for 
a header variable[This would contain the username of the authenticated user by 
th external system ], trust this user and not prompt for re-authentication. If 
the HEADER-VAR is not present the authentication should be prompted.

While going through the forums, I came accross an option to write a Tomcat 
Valve or a Cutom Login Moudule to acheive this:

Unfortunately the picture is not clear to me.It would be great if someone could 
elaborate on these options.

Few queries are:
1. Using a valve:
-Where do we include this valve such that it will get invoked before 
authenticator? 
-After checking for header in request, what other operation need to be 
performed, such as Context/Principal setting, So that the container will 
understand that Authentication is not to prompted.
-Do i need to implement a Custom Login module even if I use a valve?

2. Using custom Login module
Login module doesn't have request handler, what would be the option to retrieve 
request header in this case? Implementing Cutom Callbackhandler too won't work 
since no callback implementation that retrieve header info.

Am new to JBOSS/JASS. 
Your help in meeting this requirement is appreciated.




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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2005-08-02 Thread Thoennes
What you call "branch" is the JNDI name of the queue. If you deploy a queue 
using the org.jboss.mq.server.jmx.Queue MBean, the JNDI name of the queue is 
derived from the MBean "name" attribute, ie


  | 
  |   
  | jboss.mq:service=DestinationManager
  |   
  | 
  | 

will bind the queue at "customqueue/TestQueue".

If you want very special JNDI names (ie if they contain ":" which is not 
allowed inside the MBean name), use the optional attribute


  | customqueue/TestQueue:1
  | 

Actually, you can bind the queue even to several names in JNDI: just lookup() 
the queue using a JNDI name and bind() the result to another one.

The "queue/" location is just default location, I am not aware of further 
consequences if you do not use it.

Cheers, Jörg

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

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


---
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_idt77&alloc_id492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source

2005-08-02 Thread mortenhaugen
I experienced the same problem, had to change
jboss:service=Hypersonic,database=localDB
to
jboss:service=Hypersonic
as stated in chapter 4.1.7.1 (in the very last paragraph of the chapter).

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

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


---
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=7477&alloc_id=16492&op=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-02 Thread [EMAIL PROTECTED]
the page interceptors has been introduced in 2.2 very recently.

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

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


---
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=7477&alloc_id=16492&op=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: Problem entering data in DB using a CMP in JBoss 4.0.2

2005-08-02 Thread niesar
"pittupgd" wrote : 
  | Only abstract methods and the primarykey field is autogenerated by the DB.
  | 

Are you setting the other fields correctly in the ejbCreate method?

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - pb with user role in LDAP

2005-08-02 Thread lalakers
Hi,
I have configured JBoss to authenticate users in LDAP directory. Users are 
authenticated properly, but their roles aren't mirrored in JBoss. I tried many 
configurations in login-config.xml but it still doesn't work. Server.log 
contains:
2005-08-02 07:43:42,444 DEBUG [org.jboss.ejb.plugins.LogInterceptor] 
SecurityException in method: public abstract java.lang.String 
securityejbtier.ejb.resource.ResourceManager.remove(securityejbtier.util.ResourceVO)
 throws java.rmi.RemoteException:
  | java.lang.SecurityException: Insufficient method permissions, 
principal=userManager, ejbName=ResourceManager, method=remove, 
interface=REMOTE, requiredRoles=[RemoveRole], principalRoles=[]

principalRoles is empty, why ? Below are parts of LDAP schema and 
login-config.xml. Thanks for any suggestions. 

login-config.xml: 

  | 
  | 
  | com.sun.jndi.ldap.LdapCtxFactory
  | ldap://localhost:389/
  | simple
  | uid=
  | ,ou=People,ou=demo,o=mycompany
  | ou=Roles,ou=demo,o=mycompany
  | cn
  | 
  | 
  | uniqueMember
  | false
  | 
  | 
  | 

LDAP ldif: 
# OU DEFINITIONS
  | dn: ou=demo,o=mycompany
  | ou: demo
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | dn: ou=People,ou=demo,o=mycompany
  | ou: People
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | dn: ou=Groups,ou=demo,o=mycompany
  | ou: Groups
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | dn: ou=Roles,ou=demo,o=mycompany
  | ou: Roles
  | objectClass: top
  | objectClass: organizationalUnit
  | 
  | # PEOPLE ENTRIES
  | dn: uid=userProducer,ou=People,ou=demo,o=mycompany
  | userPassword: userProducer
  | uid: userProducer 
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | initials: DF 
  | 
  | dn: uid=loginProducer,ou=People,ou=demo,o=mycompany
  | userPassword: loginProducer
  | uid: loginProducer 
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | initials: GP 
  | 
  | dn: uid=userConsumer,ou=People,ou=demo,o=mycompany
  | userPassword: userConsumer
  | uid: userConsumer 
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | initials: PL 
  | 
  | dn: uid=userManager,ou=People,ou=demo,o=mycompany
  | userPassword: userManager
  | uid: userManager 
  | objectClass: top
  | objectClass: person
  | objectClass: organizationalPerson
  | objectClass: inetOrgPerson
  | initials: BG 
  | 
  | # GROUPS ENTRIES
  | dn: cn=Users,ou=Groups,ou=demo,o=mycompany
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | uniqueMember: uid=userProducer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=loginProducer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=userConsumer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=userManager,ou=People,ou=demo,o=mycompany
  | cn: Users
  | 
  | # ROLES ENTRIES
  | dn: cn=CreateRole,ou=Roles,ou=demo,o=mycompany
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: CreateRole
  | uniqueMember: uid=userProducer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=loginProducer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=userManager,ou=People,ou=demo,o=mycompany
  | 
  | dn: cn=ConsultRole,ou=Roles,ou=demo,o=mycompany
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: ConsultRole
  | uniqueMember: uid=userConsumer,ou=People,ou=demo,o=mycompany
  | uniqueMember: uid=userManager,ou=People,ou=demo,o=mycompany
  | 
  | dn: cn=RemoveRole,ou=Roles,ou=demo,o=mycompany
  | objectClass: top
  | objectClass: groupOfUniqueNames
  | cn: RemoveRole
  | uniqueMember: uid=userManager,ou=People,ou=demo,o=mycompany

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

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


---
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=7477&alloc_id=16492&op=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-02 Thread tterm
I used the nice installer! 

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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - jms with webservice

2005-08-02 Thread hs964204
Hi 

 I need to write webservice to call JMS and I have two ques(JBOSSMQ) one for 
input que and another is the output que. I send information in input que and 
need to receive information in output que as a response to my webservice.
 What APIs/technologies can handle this smoothly wihtout any problem to my 
webservice.


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

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


---
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=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user