[jboss-user] [Security JAAS/JBoss] - How to set custom authenticator for JBoss 5.x

2008-02-13 Thread barramundi
How do we set a custom authenticator for JBoss 5.x ?

I tried with editing 
\jboss-5.0.0.Beta3\server\default\deployers\jbossweb.deployer\META-INF\war-deployers-beans.xml
but it doesn't seem to pick up the new settings.

With JBoss 4.0.5 it was with 
\jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - SecurityAdaptorImpl authentication

2008-02-13 Thread sebastians
Shouldn't SecurityAdaptorImpl process full user authentication via 
JaasSecurityManagerService.isValid  ?

Now Principals/Credentials are set directly in SecurityAssiation wihtout any 
JAAS authentication.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Can I use 2 different databases with JBoss?

2008-02-13 Thread dakbari
Can I use 2 different databases with JBoss? Are there some guidelines? 

Any hints are welcome :)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Connection refused

2008-02-13 Thread ecatum
Hello, 

I m actually coding a server/client application using rmi and 
ServerInvocationHandler for the server.

When I use the client on the same system as the server, there is no problem. 
But when I use the client on a different system, the client catch the exception 
:

 
  | org.jboss.remoting.CannotConnectException: Error making invocation in RMI 
client invoker.
  | at 
org.jboss.remoting.transport.rmi.RMIClientInvoker.transport(RMIClientInvoker.java:218)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:112)
  | at org.jboss.remoting.Client.invoke(Client.java:226)
  | at org.jboss.remoting.Client.invoke(Client.java:189)
  | at .main(XXX.java:66)
  | Caused by: java.rmi.ConnectException: Connection refused to host: 
129.1.3.6; nested exception is: 
  | java.net.ConnectException: Connection refused
  | 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.remoting.transport.rmi.RMIServerInvoker_Stub.transport(Unknown Source)
  | at 
org.jboss.remoting.transport.rmi.RMIClientInvoker.transport(RMIClientInvoker.java:184)
  | ... 4 more
  | Caused by: java.net.ConnectException: Connection refused
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:193)
  | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:430)
  | at java.net.Socket.connect(Socket.java:520)
  | at java.net.Socket.connect(Socket.java:470)
  | at java.net.Socket.init(Socket.java:367)
  | at java.net.Socket.init(Socket.java:180)
  | at 
org.jboss.remoting.transport.rmi.RemotingRMIClientSocketFactory.createSocket(RemotingRMIClientSocketFactory.java:178)
  | at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)
  | ... 9 more
  | 

Here the jboss-service.xml of the server locate in the sar I deploy : 


  | server
  |   mbean code=org.jboss.remoting.transport.Connector
  | xmbean-dd=org/jboss/remoting/transport/Connector.xml
  | name=jboss.remoting:service=Connector,transport=RMI
  | attribute name=Configuration
  | config
  | invoker transport=rmi
  | attribute name=registryPort 
isParam=true8071/attribute
  | attribute 
name=serverBindAddress${jboss.bind.address}/attribute
  | attribute 
name=serverBindPort8070/attribute
  | /invoker
  | handlers
  | handler 
subsystem=_POSTERxxx.xxx.xxx.Poster/handler 
  | /handlers
  | /config
  | /attribute
  | dependsjboss.jca:service=DataSourceBinding,name=TOC/depends
  |   /mbean
  | /server
  |  

For information : I can reach the server, and its ports are opened.

So if someone had an idea of what happen or where i can search to solve the 
problem, you re help will be welcom. :)


Thanks.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129006
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: activationConfig for MailListener

2008-02-13 Thread koenhandekyn
any tip on configuring SSL (i want to use this with gmail)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: activationConfig for MailListener

2008-02-13 Thread koenhandekyn
any tip on configuring SSL (i want to use this with gmail)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can I use 2 different databases with JBoss?

2008-02-13 Thread dakbari
I think of using 2 data source XML files. What I want is, to use 2 Oracle DBs 
one ProdDB and one ArchiveDB so I can move stuff from ProdDB to ArchiveDB. 

So far I had JBoss with one Oracle DB using one oracle-ds.xml file. But now I 
think I've to use 2 oracle-ds.xml files like oracle-prod-ds.xml and 
oracle-archive-ds.xml.

But is that really all?

Regards,
darya

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - out parameter

2008-02-13 Thread rukus
Hello All!
Is there any way to create out parameters for web-methods?

For example:
String get_out_param(MyClass outParameter);

When invoking this method outParameter state may be changed in method and 
returned to ws-client.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Process started by the application

2008-02-13 Thread Pebbels
Hi guys,

hope someone can help me:

How is it done that a process is started when a particular user logges in.
What I mean is that not the user has to start the process but maybe the 
application.

Thanks Tina

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129011
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager not injected in onMessage method

2008-02-13 Thread rmcalderero
As a workaround, we have brought our code reading from the queue out of the 
onMessage method, an put it inside another asynchronous method periodically 
executed (quartz).

And now the entity manager is correctly being injected and we can merge our 
object. 

@Asynchronous
  | public void receiveMessage(@Expiration Date begin, 
  | @IntervalDuration Long 
interval) {
  | 
  | log.debug(Se ejecuta el Servicio de Resultados..);
  | 
  | try {
  | 
  | Message message = consumer.receiveNoWait();
  | 
  | if (message!=null) {
  | 
  | AnalisisCerrado ac = (AnalisisCerrado) 
((ObjectMessage) message).getObject();
  | ac = em.merge(ac);
  | .
  | 
  | }
  | }
  | 
  | }
So it seems there are some kind of issue in the way seam manages injection in 
onMessage methods (or at least we havent found any solution; as i explained we 
have a tipical JPA-tomcat configuration). I think seam people should take a 
look on this.

If any other people can give some feedback on the topic it will be highly 
appreciated.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
I see this in JbossCache docs : 
anonymous wrote : When the eviction policy in effect calls evict() to evict a 
node from the cache, if passivation is enabled, a notification that the node is 
being passivated will be emitted to the tree cache listeners and the node and 
its children will be stored in the cache loader store

It means that if passivation is true, a call to evict() will call another 
method in order to store node into cache loader store.
What is the method to call, and How I do this ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129015
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Cannot bind transaction factory in CORBA naming service

2008-02-13 Thread argonist
Hello,

I installed again new JBoss 4.0.5 with SDK6 and configured nothings. But it is 
still error at corba transaction  On the server there are two Jboss and both 
server have the same problem. I am been tried only one Jboss and it is still 
problem. I don`t know, what ist problem. 

anonymous wrote : 
  | 
  | =
  | 
  | JBoss Bootstrap Environment
  | 
  | JBOSS_HOME: /home/jboss/JBoss-4.0.5.GA
  | 
  | JAVA: /usr/lib64/jvm/java/bin/java
  | 
  | JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=36
  | 0
  | 
  | CLASSPATH: 
/home/jboss/JBoss-4.0.5.GA/bin/run.jar:/usr/lib64/jvm/java/lib/tools.jar
  | 
  | =
  | 
  | 22:38:11,293 INFO [Server] Starting JBoss (MX MicroKernel)...
  | 22:38:11,294 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)
  | 22:38:11,295 INFO [Server] Home Dir: /home/jboss/JBoss-4.0.5.GA
  | 22:38:11,295 INFO [Server] Home URL: file:/home/jboss/JBoss-4.0.5.GA/
  | 22:38:11,296 INFO [Server] Patch URL: null
  | 22:38:11,297 INFO [Server] Server Name: production
  | 22:38:11,297 INFO [Server] Server Home Dir: 
/home/jboss/JBoss-4.0.5.GA/server/production
  | 22:38:11,297 INFO [Server] Server Home URL: 
file:/home/jboss/JBoss-4.0.5.GA/server/production/
  | 22:38:11,297 INFO [Server] Server Log Dir: 
/home/jboss/JBoss-4.0.5.GA/server/production/log
  | 22:38:11,297 INFO [Server] Server Temp Dir: 
/home/jboss/JBoss-4.0.5.GA/server/production/tmp
  | 22:38:11,298 INFO [Server] Root Deployment Filename: jboss-service.xml
  | 22:38:11,610 INFO [ServerInfo] Java version: 1.5.0_13,Sun Microsystems Inc.
  | 22:38:11,610 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
1.5.0_13-b05,Sun Microsystems Inc.
  | 22:38:11,610 INFO [ServerInfo] OS-System: Linux 2.6.20.21-071108a,amd64
  | 22:38:12,201 INFO [Server] Core system initialized
  | 22:38:15,191 INFO [WebService] Using RMI server codebase: 
http://ponte-net.de:8083/
  | 22:38:15,213 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
  | 22:38:18,477 INFO [SocketServerInvoker] Invoker started for locator: 
InvokerLocator [socket://87.106.25.52:3873/]
  | 22:38:25,282 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 
(date=200609291417)
  | 22:38:26,013 INFO [SnmpAgentService] SNMP agent going active
  | 22:38:26,987 INFO [CorbaNamingService] Naming: 
[IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E74657874
  | 
4578743A312E3200E80001020D38372E3130362E32352E35320DC800114A426F73732F4E616D696E672F726F6F74000
  | 
00500084A414301001C000100010001050100010001010900010501000100210060
  | 
000100240020007E0001000D38372E3130362E32352E35320DC90040001004010008060667810201010
  | 
10024001F0004000300010022002400
  | 1F00040003]
  | 22:57:23,646 ERROR [CorbaTransactionService] Cannot bind transaction 
factory in CORBA naming service:
  | org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 
87.106.25.52:3528 vmcid: 0x0 minor code: 0 completed: No
  | at 
org.jacorb.orb.iiop.ClientIIOPConnection.connect(ClientIIOPConnection.java:219)
  | at org.jacorb.orb.giop.GIOPConnection.sendMessage(GIOPConnection.java:839)
  | at org.jacorb.orb.giop.GIOPConnection.sendRequest(GIOPConnection.java:809)
  | at 
org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:309)
  | at 
org.jacorb.orb.giop.ClientConnection.sendRequest(ClientConnection.java:289)
  | at org.jacorb.orb.Delegate.invoke_internal(Delegate.java:919)
  | at org.jacorb.orb.Delegate.invoke(Delegate.java:868)
  | at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
  | at 
org.omg.CosNaming._NamingContextExtStub.to_name(_NamingContextExtStub.java:79)
  | at 
org.jboss.tm.iiop.CorbaTransactionService.startService(CorbaTransactionService.java:143)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 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:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 

[jboss-user] [JBossWS] - Web service hosted but client program cannot access it ERROR

2008-02-13 Thread ronyjoy
hi, pls help me,

my problem is 
i have hosted the WEb services successfully, i can that in the below URL
http://localhost/jbossws/services
Environment is
Jboss 4.2.2,
jdk jdk1.5.0_12
web service end point is EJB3

But i when i am trying to access it through a Client i am getting some 

exceptions from JBOSS Side 

14:03:31,234 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
javax.xml.rpc.soap.SOAPFaultException: Endpoint 
{http://test.main.i9check.source/}GreeterPort does not contain operation meta
 data for: sayhello
at 
org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(SOAPFaultHelperJAXRPC.java:189)
at 
org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:157)
at 
org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at 
org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
at 
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)

and in the client Side Exception is 

com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl cannot be cast 
to com.sun.xml.messaging.saaj.soap.MessageImpl



my client code is 

package source.web.user;

 
import java.net.URL;

import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.encoding.XMLType;
import javax.xml.rpc.soap.SOAPFaultException;



 

public class HelloClient
{

static String WSDLLoc=http://127.0.0.1/i9check/TestWebServicesBean;;
static String serviceName=http://test.main.i9check.source/;;
static String portType=TestWebServicesBean;
static String serviceEndPointAddress=WSDLLoc;
static String nameSpace=http://test.main.i9check.source;;


public static void main(String[] args)
   
{


try {

URL wsUrl = new URL(WSDLLoc+?wsdl);
/*QName operationName = new QName(nameSpace,serviceName);
Service service = Service.create(wsUrl,operationName);
Call call = service.createCall(portName, operationName);*/

 /* Service lookup */
ServiceFactory serviceFactory = ServiceFactory.newInstance();
//Service service = serviceFactory.createService(wsUrl, new 
QName(serviceName));
Service service = serviceFactory.createService(wsUrl, new 
QName(serviceName,Greeter));
  
/* Service access */
Call call = (Call) service.createCall();
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, 

[jboss-user] [JNDI/Naming/Network] - Re: Password encryption

2008-02-13 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords

tghe command line utility does not generates but ends up with NoclassDefFound 
exception even its there
any comments
JBOSS 3.2

th
hari

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129023
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: ServletContext.getRequest() null ?

2008-02-13 Thread dreuzel
is FacesContext  accessable  in  Session scope ?
I can not get your suggested code active.

any other suggestion ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Jboss is always using UserRolesLoginModule instead of Client

2008-02-13 Thread ssiebel
Hi,

i'm currently trying to use the ClientLoginModule in Jboss 4.2.1 in a JSF based 
WebApp.

I'm passing -Djava.security.auth.login.config==C:/auth.conf to the VM when 
starting the jboss app server.

auth.conf looks like this:

  | mylogin {
  | org.jboss.security.ClientLoginModule required;
  | };
  | 

In my login Bean i'm creating a new login context like this:


  | final CallbackHandler cbHandler = new MyCallBackHandler(username, 
password.toCharArray(), clientId);
  | LoginContext loginContext = new LoginContext(mylogin, cbHandler);
  | loginContext.login();
  | 

The last line produces this error output on the console:


  | 10:04:18,466 ERROR [UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.access$000(Unknown Source)
  | at javax.security.auth.login.LoginContext$4.run(Unknown Source)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
  | at javax.security.auth.login.LoginContext.login(Unknown Source)
  | 
  | (...)
  | 

Can somebody help me with this? I read quite a lot of documentation and 
tutorials about that topic since yesterday but somehow don't get the point...

br,
Stefan

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129027
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Queries JBOSS 323 and Windows Server 2003

2008-02-13 Thread sponiza
Solved the issue myself by setting the commit-option to D in the jboss.xml 
descriptor. Still curious about what caused the strange behaviour, but I am 
glad everything runs smoothly now.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129031
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Are there any ready admin pages examples for user and ro

2008-02-13 Thread stephendv
Good stuff!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129032
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Timer not firing - why ???

2008-02-13 Thread francis1970
Yes, I have tried this too as last option :-)

Hope somebody can shed some light.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WebService response problem

2008-02-13 Thread EricJava
I'm running into exactly the same thing.  I have put the following jars in my 
lib/endorsed directory:

jaxb-api.jar  jboss-jaxws-ext.jar  jboss-saaj.jar  xalan.jar
  | jboss-jaxrpc.jar  jboss-jaxws.jar  serializer.jar  xercesImpl.jar
  | 

but I'm still getting the error.  Is there one more jar I need, or is something 
else going on?  Of course this is with Java 6.  I'll need to get this app 
working on both Java 6 and Java 1.5.

Thanks


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - problem trying to manage exception in pages.xml

2008-02-13 Thread drim
Hello,

I have a problem trying to handle exception in pages.xml : 

I am using this code in pages.xml to manage exception :

  | exception
  | redirect view-id=/error/exception.seam
  | messageerror/message
  | /redirect
  | /exception
  | 

and this code in web.xml to manage 404 errors :



  | error-page
  | error-code404/error-code
  | location/error/notfound.seam/location
  | /error-page
  | 

When there is a 404 errors, it's the exception.seam view that is called (not   
notfound.seam).

I dont understand why  catch 404 errors.

Thank you for your help.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129021
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Re: UIL2 ReadTask / WriteTask thread leak on 4.0.5 GA

2008-02-13 Thread gogoasa
Ok, I confirm it myself : ASPATCH300 didn't make it in the 4.0.5GA. But, if you 
look at the svn rep, you can see that it has been eventually merged :

The history of SocketManager.java in 4.0.5:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/tags/JBoss_4_0_5_GA_CP11/messaging/src/main/org/jboss/mq/il/uil2/SocketManager.java?view=log

the 4.0.5.GA_CP11 release contains the fix. So, people having the same problem, 
svn checkout that release and build it.



Some further URLs concerning this issue:

The backport JIRA issue:
http://jira.jboss.org/jira/browse/ASPATCH-300?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel

The diff showing what changed :
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/JBoss_4_0_3_SP1_CP/messaging/src/main/org/jboss/mq/il/uil2/SocketManager.java/?revision=66324r1=66324r2=66323

The patched file in 4.0.3SP1 :
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/branches/JBoss_4_0_3_SP1_CP/messaging/src/main/org/jboss/mq/il/uil2/SocketManager.java?revision=67114view=markup



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129038
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - need cluster configuration in jboss4.0.3SP1

2008-02-13 Thread suresh.spsoft
i done some configurations.
i got the following error
---
WARN  [ServiceController] Problem creating service 
jboss:service=DefaultPartition
ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.(JChannel.java:217)
at org.jgroups.JChannel.(JChannel.java:189)
at 
org.jboss.ha.framework.server.ClusterPartition.createService(ClusterPartition.java:264)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:341)
at org.jboss.system.ServiceController.create(ServiceController.java:284)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy4.create(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:241)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
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:597)
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:118)
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:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:245)
at 

[jboss-user] [JBoss jBPM] - Replacing/Renaming a file in the database for a Process Defi

2008-02-13 Thread dleerob
Hi,

I'm using Jbpm 3.2.2.

When deploying as Process Definition from the Eclipse GPD plugin, it includes 
the class files (handlers etc), and any xml files or jsp files that you 
require. These files are stored in the database itself.

My question is, how could you update/replace a file in the database for that 
process definition, without re-deploying and creating a new version? So if you 
want to only update/replace one of the jsp pages, how could you do this? 
Obviously it would be a bad idea to directly manipulate the database, so I 
would like to do this using the API's if possible.

Has anyone tried or done this before?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129057
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FlushMode=MANUAL -- not immediately commited to db?

2008-02-13 Thread dreuzel
I've  got about the same  problem as you ,
and  found the sollution for  your  part
 handling BMT 

a)  components.xml   switch of  transactions (see seam manual)
 
  |core:init debug=@debug@ jndi-pattern=@jndiPattern@ 
transaction-management-enabled=false/   !-- 
transaction-management-enabled=false --
  |!--transaction:no-transaction /   --
transaction:no-transaction / 
  |core:manager concurrent-request-timeout=500 
  |  conversation-timeout=9900 
  |   
b)   is  use following  class i extend  to my  EJB
i'm still trying  out  the code, so any remarks are welcome

my problem is  that  after  some 300 transactions (5minutes/processing for 1 
request) all of a sudden  it  loses the transaction  and whatever  I do I'm 
dead . I'm still trying to solve that one 




  | 
  | 
  | //@Stateless 
  | //@Startup
  | //@Name(BMT)
  | //@TransactionManagement(TransactionManagementType.BEAN) 
  | public class BMT {
  | @Logger private Log log;
  | //@Scope(ScopeType.APPLICATION)
  | static int txncount=0;
  | @PersistenceContext (type=EXTENDED) private EntityManager em;//do not use 
@in em
  | //@in em would work just fine if you would call 
entityManager.joinTransaction() 
  | // in your method before you use the EntityManager. 
  | // Of course the @Injected EM will not join the transaction automatically 
  | // because the transaction is started AFTER injection, when the method is 
called. 
  | //
  | @Resource  private UserTransaction userTransaction; 
  | public String process(String xml)throws Exception {return null;}
  | public String copy(StatementsDB sta) throws Exception {return null;} 
  | public String txs(String argument,StatementsDB sta) throws Exception
  | {boolean rollback=true;
  | 
  |  String result=null;
  |   int ier=0;
  |if (txncount1) {txncount=100;
  | int tmo=this.setSessuionTimeout(30);//do not 
timeout while operations are active
  | boolean seso=isNewSession();}
  |--txncount;
  |   if (!em.isOpen()) 
  |   log.info(Em  persitence manager  not open any more !!!);
  |   try{  em.joinTransaction(); }catch (Exception er)
  |   {ER(er,em join the transaction  transaction );throw(er);} 
//after practicaly 5 minutes   we die here 
  | 
  |   
  |   try{  ier=userTransaction.getStatus(); }catch (Exception er) 
{ER(er,get status transaction );}
  |   //set transaction timeout
  |   try{  userTransaction.setTransactionTimeout(10); }catch 
(Exception er) {ER(er,transaction timeout  );}
  |   if (ier!=6) log.info(Status  transaction different +ier);
  | try{
  | try {// what is  the  ejbcontext 
  | //EJB userTransaction  = 
EJBContext.getUserTransaction( );//EJBclassical way 
  | userTransaction= 
org.jboss.seam.util.EJB.getEJBContext().getUserTransaction();//EJB
  | //SEAMEJBif (  userTransaction.isNoTransaction())//SEAMEJB 
if(transaction.getStatus() == Status.STATUS_NO_TRANSACTION){
  | //SEAMEJB{   userTransaction= 
org.jboss.seam.util.EJB.getEJBContext().getUserTransaction();//SEAMEJB
  | //SEAMEJB}
  |   userTransaction.begin(); // etc
  |   //  em.joinTransaction();
  | } catch(Exception er) {ER(er,Begin transaction);}
  | String res=null;
  | if (argument!=null) 
  | res = process(argument);
  | if (sta!=null)
  | res=copy(sta);
  | try {
  | userTransaction.commit(); // etc
  | rollback=false;//all is successful   kill any possible rollback
  | result=res;//only if successfull commited the result is passed 
  | }  catch(Exception er) {ER(er,Commit transaction);}
  | 
  |   } catch(Exception er) {ER(er,Transaction);}
  |   finally
  |   {  try {
  | //SEAMEJB if (!userTransaction.isCommitted()) 
{userTransaction.rollback();NewTransaction();}//auto detect commitment 
  | //SEAMEJB else 
  |   if (rollback) {userTransaction.rollback();
  |  //get a  new transaction
  |  NewTransaction();//Em.gettransaction not for JTA 
BMT em.getTransaction();//
  | }
  |  } catch (Exception er)
  |  { String errmsg=er.getClass().getSimpleName() + err: + 
er.getMessage();
  |if(errmsg.indexOf(NullPointer)-1 || 
errmsg.indexOf(OutOfBounds)0) log.fatal([transaction BMT ] Rollback  failed 
 + errmsg,er);
  |else  log.error([transaction BMT ] Rollback  failed  + 
errmsg );
  |  }
  |   }//finaly 
  |   return result;
  | }
  | public int  setSessuionTimeout(int minutes)
  | {if (minutes 1)minutes=1;
  |   int tmo=0;
  |   try {
  |   Object  obj =ServletContexts.instance().getRequest();//null?
  |   if 

[jboss-user] [JBossCache] - Re: Can I ask a cache for its current size?

2008-02-13 Thread mircea.markus
The cleanest way would be to programmatically perform a call to JMX server to 
obtain this info. Another way is to work with the CacheMgmtInterceptor 
directly. This is the interceptors that supplies those statistics, you can 
access it through ((CacheSPI)cache).getInterceptorChain() - returns a List of 
Interceptor objects. 
Some notes on the method itself: on each call to the method, the cache will be 
iterated in order to count the nodes, which might be expensive. Also, no lock 
is acquired, so if an node is evicted or removed *during* iteration then this 
might not be reflected in the final result. If you want to avoid this, you can 
write your own counting mechanism (might not be such a bad idea, as it would 
keep your hands clean from working with cache internals/SPI).  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WebService response problem

2008-02-13 Thread [EMAIL PROTECTED]
And what's the exception you deal with?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129050
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Erro trying to deploy JSF Web App to JBoss AS 4.2.2

2008-02-13 Thread LoorD
Hi all!

I tried to create a simple hello world type of JSF Web App just to test the 
JSF. My IDE is Eclipse Europa (3.3) J2EE version and I installed the JBoss 
Tools in it.

When I try to deploy my simple web app (2 jsp:s, one managed bean, asks one's 
name and shows it on other page) I get this weird error during deployment:
Exception sending context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
  | java.lang.UnsupportedClassVersionError: Bad version number in .class file
  | 
Anyone else bumped into this?

Thanks in advance!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129054
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - java.rmi.MarshalException: Failed to communicate. Problem d

2008-02-13 Thread DheerajSingh007
Hi

i have an ejb3 session bean thats returns a custom object. when i try to return 
this object back to the the client (java app) i get the following error.

java.rmi.MarshalException: Failed to communicate.  Problem during 
marshalling/unmarshalling; nested exception is java.lang.IllegalStateException: 
unread block data



thanks
Dheeraj Singh

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129055
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EntityManagerFactory does not shutdown cleanly on JBoss-

2008-02-13 Thread jaikiran
Downloaded JBoss-5.0 Beta 4, which was released yesterday. This issue is not  
present on Beta 4. Everything works fine during shutdown:

15:41:35,556 INFO  [PersistenceUnitDeployment] Stopping persistence unit 
persistence.units:ear=EJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
  | 15:41:35,571 INFO  [SessionFactoryImpl] closing
  | 15:41:35,571 INFO  [SessionFactoryObjectFactory] Unbinding factory from 
JNDI name: 
persistence.units:ear=EJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
  | 15:41:35,587 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 15:41:35,587 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI 
name: 
persistence.units:ear=EJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence
  | 

I'll move to Beta 4 and wont open a issue in JIRA.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129058
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - What have happen with the history table in jbpm-console?

2008-02-13 Thread eb123
In earlier versions of the jbpm-console it was possbile to view a table of all 
steps of the process. In the current version I use 3.1.2 there is no such 
table. Is that functionality removed?

/henrik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: How to setup multiple messaging services on single serve

2008-02-13 Thread jmesnil
seanshih wrote : Hi,
  | 
  | I am trying to setup multiple messaging services for DEV, QA, and other 
groups on a single JBoss instance.
  | 
  | However, I don't want to create multiple JBoss installation for this 
purpose.
  | 

afaik, you can run multiple messaging services on a single computer using many 
JBoss instances 
(http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.GA/html/installation.html#install.automated)
 but you can't have many messaging services hosted by a single JBoss instance.

jeff

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - JBoss Portal giving error on startup

2008-02-13 Thread george_portal
Hi All,

I'm new to JBoss products.  Tried installing JBoss Portal in my machine.  I 
downloaded the JBoss Portal 2.6.4 bundle and unzipped it as per the reference 
guide to C:/jboss-2.6.4 folder.  Tried to run the server from bin folder but 
received the below error in dos window:

Error : no 'server' JVM at 'C:\ProgramFiles\Java\jre1.6.0_01\bin\server\jvm.dll'

Could anyone help me out in understanding whats happening and how to start 
working with this?




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129067
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate using SecureIdentityLoginModule for accessing Data

2008-02-13 Thread vineethprabhu
Hi,
We have a datasource that is configured to use the encrypted password. This 
password was generated usingthe SecureIdentityLoginModule. Now, when i give the 
reference of the JNDI name in the hibernate.cfg.xml, its giving a improper 
authentication error. Below is the exceprt from login-config, oracle-ds and 
hibernate.cfg.xml. Also is the stack trace. Please let me know how to go about 
this issue. Thanks in advance:

oracle-ds.xml:
jndi-nameOracleDS/jndi-name
security-domainEncryptedDB/security-domain

login-config.xml:
application-policy name=EncryptDBPassword

login-module 
code=org.jboss.resource.security.SecureIdentityLoginModule flag=required
module-option name = principalxxx/module-option   
module-option name=usernamexxx/module-option
module-option 
name=password-108e007144adcb78/module-option
module-option 
name=managedConnectionFactoryNamejboss.jca:name=OracleDS,service=LocalTxCM/module-option
/login-module

/application-policy




hibernate.cfg.xml:
java:/OracleDS


Error Message:
03:31:30,889 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role 
files
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
  at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
  at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  at java.security.AccessController.doPrivileged(Native Method)
  at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
  at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
  at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:588)
  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:395)
  at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  at 
net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59)
  at 
net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
  at 
net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132)
  at 
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766)
  at 
net.sf.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:176)




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBoss log4j.xml issue

2008-02-13 Thread vivran
I am deploying an ear file in JBOSS. That ear file also has a log4j.xml file. 
And JBOSS installation also has a log4j.xml file in the conf directory. But the 
appenders defined in the conf/log4j.xml files are interfering with the 
appenders defined in my log4j.xml . There is a root logger defined in the 
conf/log4j.xml as below:
 
 
  appender-ref ref=CONSOLE/
  appender-ref ref=FILE/ 
   
 
So these appenders are getting inherited by the loggers in  ear's log4j.xml 
file . And this is creating problem for me. Is there any way I can prevent this.
 
I hope my problem is clear to you. Its JBOSS version 5.x 
additivity=false does not work in my log4j.xml file as the log writing 
application is written to use the default which is true


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129066
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Bypassing validations when using EntityQuery with exampl

2008-02-13 Thread boevink
I've exactly the same problem.
The default display decorator is used as generated by seam-gen.
A userLsit (entityQuery) is also generated by seam-gen.

I would like to search for a user by e-mail address, but validation is 
performed (must be a well-formed email address) since there exists an @Email 
annotation on this attribute within the entity class.

How to solve this?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129079
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-13 Thread srinivas.c.v
Hi Lauerc,

Thanks for the detail analysis and fix, for making seams to run in weblogic :-)

As explained by you, I have tried to update your fix on to the latest seam 
version and tried to re-build the seam package, after lot of struggle due to 
maven artifact download/path/proxy setting(some URL are blocked by our company) 
I was able to re-build the seam jar’s with all the fix you had provided.

After this build, I had built the booking example and deployed to my Weblogic 
10.0 and found that there were still EJB compiler errors, which stopped me to 
deploy my booking example in the server, for more detail kindly request you 
refer the below logs.

To do some more testing, I had removed the TimerServiceDispatcher java class 
and re-build my seam and the booking example. After these changes I was able to 
deploy my booking examples but encountered runtime exception.

Finally, I would kindly request if you could help me in overcoming this issue.


Logs from my Server:

D:\bea10\user_projects\domains\W4WPDomain\servers\AdminServer\cache\EJBCompilerCache\-1aw4ncv1tb5k\org\jboss\seam\async\Timer
ServiceDispatcher_qzt5w2_LocalTimerServiceDispatcherImpl.java:149: cannot find 
symbol
symbol  : method 
scheduleInvocation(org.jboss.seam.intercept.InvocationContext,org.jboss.seam.Component)
location: interface org.jboss.seam.async.TimerServiceDispatcher_qzt5w2_Intf
result =  __bean.scheduleInvocation(
^
Note: 
D:\bea10\user_projects\domains\W4WPDomain\servers\AdminServer\cache\EJBCompilerCache\-1aw4ncv1tb5k\org\jboss\seam\trans
action\EjbSynchronizations_4yfxmo_Impl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

Feb 13, 2008 3:42:57 PM GMT+05:30   BEA-149205 Failed to initialize the 
application 'jboss-seam-jee5' d
ue to error weblogic.application.ModuleException: Exception preparing module: 
EJBModule(jboss-seam.jar)


Unable to deploy EJB: jboss-seam.jar from jboss-seam.jar:



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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread gcompienne
I am using JBoss AS 5 beta 3 (so MC beta 9) with the changes in the bootstrap 
config that activates the MC classloading mechanism.

I tried to have the AS 5 beta 3 running with the trunk version of MC but it 
failed on startup... 

I will try at some point against a trunk of MC (although I will need to somehow 
bootstrap enough of it to have things like VFS) or perhaps against JBoss AS 
beta 4 when it comes out...



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: myFacesConfig Error and com.sun.facelets errors with sta

2008-02-13 Thread isaquexavier
Hello

How did you get fix this problem ? I've the same one.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129085
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-13 Thread eirirlar
I'm struggling with similar issues regarding natural conversations, can't get 
them to join existing ones in a decent way.

+1 for better example in the docs.

Regards, Eirik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129082
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Still no UTF-8 support with jbossws-native-2.0.3.GA ?!?

2008-02-13 Thread [EMAIL PROTECTED]
Hi,

I have two JBoss 4.2.2 GA Servers upgraded to Native-JBossWS 2.0.3 GA from 
4.2.0/1.2.1 GA (with patch to enable UTF-8) to overcome JAX-B not caching 
context issues...

And now our WebServices cannot communicate in UTF-8 anymore AGAIN!

The issue has been fixed 6 month ago: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossws?view=revrevision=4323

but looking at the classes in jbossws-core.jar with JAD shows me the old 
version...

What the hell is going on??? Where can I get a working UTF-8 version downloaded?

Greetz, GHad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129092
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate using SecureIdentityLoginModule for accessing

2008-02-13 Thread jaikiran
anonymous wrote : security-domainEncryptedDB/security-domain 

You have set the security-domain incorrectly in the oracle-ds.xml. It's name is 
not matching with what is specified in the login-config.xml's 
application-policy. Change the oracle-ds.xml to:

security-domainEncryptDBPassword/security-domain 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?

2008-02-13 Thread eirirlar
In my application I keep getting Conversation id is already in use when I try 
to use the same link twice to start the natural conversation. I thought I 
should have a look at the seam-bay example to figure out what I did wrong, but 
it turns out the same problem exists there. Please try for yourself 
(seam-2.1.0.A1):

1) log in
2) search for art, click on the painting
3) place a bid
4) visit www.whatever.com
5) go back to localhost and navigate to the same painting
6) place a bid - Conversation id is already in use

Seams like there's a either a bug in the way seam-bay uses natural 
conversations, or a bug in the implementation of natural conversation. Either 
way, any help appreciated :)

Regards, Eirik

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129095
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: ClassCastException within an EAR deployment

2008-02-13 Thread jaikiran
Let's try another approach then. When you start JBoss through run.bat (or 
run.sh) pass the -verbose:class JVM parameter. Like this(for run.bat):

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m -verbose:class
  | 

Then start JBoss. This will print out to STDOUT the classes being loaded and 
also the jar files being used for loading these classes. I would recommend 
redirecting the STDOUT output to some file, as the logs will be too huge:

run.bat  classes_out.log

Access your application to get the ClassCastException. The classes_out.log will 
contain the appropriate information about which jar is being used for loading 
the Changelist* classes (just do a text search in that log file for this class).
 




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129094
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: array or list and restful or bookmarkable

2008-02-13 Thread kooudy
Post here jsp and java code.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129096
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-13 Thread jaikiran
That's strange. Your (earlier) exception stacktrace shows that this piece of 
code is called through some Swing component. Does cs.Main class render this UI?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129099
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: pages.xml param

2008-02-13 Thread kooudy
even in seam 1.2.1 switching STATE_SAVING_METHOD to server breaks URLs to be 
bookmarkable

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129103
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - using own log4j.xml in sar

2008-02-13 Thread sathiiish
Hi,
   I want to use my own log4j.xml for logging my application which is deployed 
as SAR file.

   I tried with adding appender to jboss's log4j.xml, it is working fine. but I 
need separate log4j.xml for my apps. I placed log4j.xml in my SAR/WEB-INF/ but 
it is not logging in the file specified in my log4j.xml. it is logging in 
server.log.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129108
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Still no UTF-8 support with jbossws-native-2.0.3.GA ?!?

2008-02-13 Thread [EMAIL PROTECTED]
Hi Greetz,

   thank you for pointing on this issue. I've reopened the related issue few 
seconds ago.
You are right. The fix isn't available in JBossWS 2.0.3 release :( For more 
information see:
http://jira.jboss.org/jira/browse/JBWS-1763

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129111
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - lost session-cookies with jboss, iis, internet explorer

2008-02-13 Thread [EMAIL PROTECTED]
Hallo,

Problem with the combination on W2003 64bit, IIS, jboss-4.2.2.GA and IE. 
Session cookies get lost. Isapi_redirect.dll should be the correct one. There 
is no problem with Firefox and Opera. A similar installation, but on Linux 
64bit Red Hat, Apache, jboss-4.2.2.GA, has no problem, even not with IE. Client 
is an Applet. The Webstart-Versions work well on all environments. Just not 
with IE 6.0 and 7.0.

Any idea? I don't understand the difference.

rgrds

Kurt


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread mircea.markus
I've run the following test on 1.4.1SP3, works fine:
   public void testIssues() throws Exception
  |{
  |   TreeCache cache = new TreeCache();
  |   PropertyConfigurator conf = new PropertyConfigurator();
  |   conf.configure(cache, ..\\passivation-issues.xml);
  |   cache.startService();
  |   cache.put(/za_node, key,value);
  |   cache.put(/za_node2, key,value);
  |   cache.put(/za_node3, key,value);
  |   cache.put(/za_node4, key,value);
  |   cache.evict(Fqn.ROOT);
  |   assertEquals(0, cache.getNumberOfNodes());
  |   cache.stop();
  | 
  |   TreeCache cache2 = new TreeCache();
  |   PropertyConfigurator conf2 = new PropertyConfigurator();
  |   conf2.configure(cache2, ..\\passivation-issues.xml);
  |   cache2.startService();
  |   cache2.get(/za_node, key);
  |   cache2.get(/za_node2, key);
  |   cache2.get(/za_node3, key);
  |   cache2.get(/za_node4, key);
  |   assertEquals(4, cache2.getNumberOfNodes());
  |   cache2.stopService();
  |}
I've used same config as one you posted. 

Some comments on your code, though:
anonymous wrote : Fqn fqn = Fqn.fromString(/root/);
1. This will fetch you a node named 'root' (i.e. a child of root node), and not 
the root node which is '/'. Was this your intention?
2. You can evict all existing nodes this way:  cache.evict(Fqn.ROOT);

If code was your issues hope this helps. Otherwise, Can you please create a UT 
(or change the one I've attached) to reproduce the issue, then a JIRA and 
attach code+config to it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread boevink
All sessionbean lists generated by seam-gen provide an implementation of an 
EntityQuery class.

Why is the String[] of RESTRICTIONS marked as Static? as shown below:


  | package web.session;
  | 
  | import web.entity.user.*;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.framework.EntityQuery;
  | import java.util.List;
  | import java.util.Arrays;
  | 
  | @Name(userList)
  | public class UserList extends EntityQuery {
  | 
  | private static final String[] RESTRICTIONS = {
  | lower(email) like 
concat(lower(#{userList.user.email}),'%'),
  | lower(password) like 
concat(lower(#{userList.user.password}),'%'),
  | lower(username) like 
concat(lower(#{userList.user.username}),'%'), };
  | 
  | private User user = new User();
  | 
  | @Override
  | public String getEjbql() {
  | return select user from User user;
  | }
  | 
  | @Override
  | public Integer getMaxResults() {
  | return 25;
  | }
  | 
  | public User getUser() {
  | return user;
  | }
  | 
  | @Override
  | public ListString getRestrictions() {
  | return Arrays.asList(RESTRICTIONS);
  | }
  | 
  | }
  | 

The only place currently reffering to this attribute is within the class itself 
(getRestrictions).
Or am I missing something?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129116
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Starting an own Quartz Schedulerclass

2008-02-13 Thread praenti
Hi,

I'm using here JBoss 4.0.5 GA and wanted to start an own implementation of a 
Quartz scheduler when I deploy the EAR file. 
My software consists of 3 main modules which are deployed with the EAR file. 2 
of them are webapplications based on struts and jsf and the big module is the 
database and facade module with the logic components which is also used by an 
Eclipse RCP application. As the scheduler also has to be logically in this big 
module I cannot use (or better I don't want to use) one of the web.xml's from 
the two webapps :-(.
In a Tomcat environment you would configure that over the web.xml in -tags, but 
how can I tell JBoss that there is a scheduler class which has to be loaded 
after deployment?

Because I need information from the database for the job creation (the 
configuration is done in the database), it was not possible to use the 
quartz-ra.rar :-(.

Anyone can help me?

Ragards,
Mike

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129120
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Problem starting jBoss Portal 2.6.4

2008-02-13 Thread isaquexavier
Hello Guys

I've just installed the jBoss Portal 2.6.4 om my PC (Win XP) and it's works. 
But when I call the index page (http://localhost:8080/portal/) of the Portal 
and after click on the register tab, I get the error below...Can some one 
help me ?


11:04:16,872 ERROR [STDERR] 13/02/2008 11:04:16 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
11:04:16,887 ERROR [STDERR] 13/02/2008 11:04:16 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
11:04:16,919 ERROR [STDERR] 13/02/2008 11:04:16 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml
11:04:16,997 ERROR [STDERR] 13/02/2008 11:04:16 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
11:04:17,122 ERROR [STDERR] 13/02/2008 11:04:17 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
11:04:17,200 ERROR [STDERR] 13/02/2008 11:04:17 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: 
jar:file:/D:/programs/jboss-portal-2.6.4/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
11:04:18,700 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default 
value true
11:04:18,700 INFO  [MyfacesConfig] Tomahawk jar not available. Autoscrolling, 
DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
11:04:18,700 INFO  [MyfacesConfig] Starting up Tomahawk on the 
RI-JSF-Implementation.
11:04:18,700 INFO  [MyfacesConfig] Starting up Tomahawk on the 
MyFaces-JSF-Implementation
11:04:18,700 ERROR [MyfacesConfig] Both MyFaces and the RI are on your 
classpath. Please make sure to use only one of the two JSF-implementations.
11:04:38,559 ERROR [IOTools] Error while closing outstream
ClientAbortException:  java.net.SocketException: Connection reset by peer: 
socket write error
at 
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309)
at 
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
at 
org.apache.catalina.connector.CoyoteOutputStream.close(CoyoteOutputStream.java:104)
at org.jboss.portal.common.io.IOTools.safeClose(IOTools.java:133)
at 
org.jboss.portal.core.controller.handler.HTTPResponse$2.sendResponse(HTTPResponse.java:81)
at 
org.jboss.portal.core.controller.Controller.sendResponse(Controller.java:319)
at 
org.jboss.portal.core.controller.Controller.processHandlerResponse(Controller.java:305)
at 
org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:285)
at 
org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
at 
org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
at 
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
at 
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
at 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
at 

[jboss-user] [JNDI/Naming/Network] - Re: Password encryption

2008-02-13 Thread jaikiran
I've updated that wiki. Use that command now and see if it works (i just tried 
it on JBoss-3.2.7 and it worked).
 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129122
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread [EMAIL PROTECTED]
Go get AS5 Beta4, it's out!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129123
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread mars1412
IMO:
it's static because you want to make it a class-variable (NOT instance variable)
it's final, because you will never change it
anonymous wrote : 
  | The only place currently reffering to this attribute is within the class 
itself (getRestrictions).That's why it is private

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129131
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
mircea.markus wrote : I've run the following test on 1.4.1SP3, works fine:
  |public void testIssues() throws Exception
  |   |{
  |   |   TreeCache cache = new TreeCache();
  |   |   PropertyConfigurator conf = new PropertyConfigurator();
  |   |   conf.configure(cache, ..\\passivation-issues.xml);
  |   |   cache.startService();
  |   |   cache.put(/za_node, key,value);
  |   |   cache.put(/za_node2, key,value);
  |   |   cache.put(/za_node3, key,value);
  |   |   cache.put(/za_node4, key,value);
  |   |   cache.evict(Fqn.ROOT);
  |   |   assertEquals(0, cache.getNumberOfNodes());
  |   |   cache.stop();
  |   | 
  |   |   TreeCache cache2 = new TreeCache();
  |   |   PropertyConfigurator conf2 = new PropertyConfigurator();
  |   |   conf2.configure(cache2, ..\\passivation-issues.xml);
  |   |   cache2.startService();
  |   |   cache2.get(/za_node, key);
  |   |   cache2.get(/za_node2, key);
  |   |   cache2.get(/za_node3, key);
  |   |   cache2.get(/za_node4, key);
  |   |   assertEquals(4, cache2.getNumberOfNodes());
  |   |   cache2.stopService();
  |   |}
  | I've used same config as one you posted. 
  | 
  | Some comments on your code, though:
  | anonymous wrote : Fqn fqn = Fqn.fromString(/root/);
  | 1. This will fetch you a node named 'root' (i.e. a child of root node), and 
not the root node which is '/'. Was this your intention?
  | 2. You can evict all existing nodes this way:  cache.evict(Fqn.ROOT);
  | 
  | If code was your issues hope this helps. Otherwise, Can you please create a 
UT (or change the one I've attached) to reproduce the issue, then a JIRA and 
attach code+config to it.

Well , actually, I need to evict all nodes from memory and put them into 
datastore. Your example is interesting, but it is based on TreeCache, not 
PojoCache. Perhaps it have an issue with this version (1.4.1 SP3)

Which datastore do u use ? a file with FileCacheLoader ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread gcompienne
Ok, Thanks :-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129125
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Url : how to define MyPortal as the default portal.

2008-02-13 Thread snon
Hi,

I face the same issue with the JBoss Portal 2.4.1 :
when I navigate to a specific page in my portal I have the error :
java.lang.IllegalStateException: Default portal does not exist

Since I have 2 portail instances, I'm trying to set one of them as the default 
portal, but I don't know what file contains the jmx service descriptor and 
where to put exactly the following code :

!-- Default portal name : default is the default for native jboss portal 
(downloaded version). --
MyDefaultPortalNameHere

Any idea about this ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - subprocess exception

2008-02-13 Thread ciryll
hi,

i define a subprocess, and in this one, i throw an exception. this exception is 
not catched by the main level exception handler, so i can't manage it by jbpm. 
is it normal or it's a bug ? 

if i want to have the subprocess exception catched, should i have to define my 
own process-state ? 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129129
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Listener for CMT commit/rollback

2008-02-13 Thread [EMAIL PROTECTED]
I have a requirement where I need to know when a container managed transaction 
(or bean managed) commits the transaction.  I was hoping there would be some 
kind of Interceptor of Listener system that I could hook into on the 
TransactionManager but there is nothing obvious that provides this.  I've tried 
to use AOP but the jars in the lib folder do not appear to permit 
instrumentation.

Any help is highly appreciated.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129136
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Exception in thread main java.lang.NoClassDefFoundError: o

2008-02-13 Thread fengbin98
Hi, when I use Jboss in my application, I get the above error.  I unjar the 
file under org/jboss/tm/jboss.tar downloaded from jboss.org.  
TransactionTimeoutConfiguration.class does not exist.  

Anybody has some idea?  Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129138
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Still no UTF-8 support with jbossws-native-2.0.3.GA ?!?

2008-02-13 Thread [EMAIL PROTECTED]
Thank you for your quick response.

Hope you release 2.0.4 soon...

Greetz, GHad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129140
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception in thread

2008-02-13 Thread jaikiran
Which version of JBoss? How do you start JBoss? And post the entire exception 
stacktrace.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129141
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread alesj
gcompienne wrote : Ok, Thanks :-)
:-)

We need to have the same env (at least AS5, MC, ...), so that we're really 
'talking' about the same problem (if it's still there), and not just guessing. 
;-)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread boevink
mars1412 wrote : IMO:
  | it's static because you want to make it a class-variable (NOT instance 
variable)
  | it's final, because you will never change it
  | anonymous wrote : 
  |   | The only place currently reffering to this attribute is within the 
class itself (getRestrictions).That's why it is private

But why don't you want it to be an instance variable?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129139
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using rich:datascroller With Seam and Hibernate Paginati

2008-02-13 Thread mygol
can you send me your code?
my email:[EMAIL PROTECTED]

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129145
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Tag completion

2008-02-13 Thread akazakov
Code completion for xhtml files does not use TLDs. JBoss Tools uses its own 
XMLs which are generated from TLDs. We need it to provide some aditional info 
for Code Assist. JBoss Tools recognize tags of seam 1.2 and 2.0.0. It looks at 
tld within project and use XML for proper version of tld.
I guess you use Seam 2.0.1. But that tld has the same version (2.0) as Seam 
2.0.0 TLD. So when you get proposals in XHTML in project with Seam 2.0.1 you 
get proposals from our XML for Seam 2.0.0 TLD.

JSP Editor use real TLDs for Code Complition and it doesn't have such problems.

It's a problem and I think we should improve our code assist for XHTML.

Here is a workaround:
You can edit 
/eclipse/plugins/org.jboss.tools.common.kb_\schemas\tld\JBossSeam2_0.xml
to provide correct proposals for Seam 2.0.1

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129149
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Including generated HTML in an xhtml

2008-02-13 Thread earniedyke
Greetings all,

I have an application in which I use and HTML editor which generates HTML as a 
string. When I save this HTML, I have an action on a page that pulls the HTML 
from a request parameter and saves it. What I need to be able to do is render 
this HTML on the xhtml page so that the user can confirm they want to save it. 
When I try:

h:outputText value=#{bean.html}/

I get the raw HTML not the rendered HTML.

How can I get this rendered?

Thanks in advance for any and all help.

Earnie!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129151
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception in thread

2008-02-13 Thread fengbin98
Version: jboss-4.0.5.GA

Complete Trace:

Exception in thread main java.lang.NoClassDefFoundError: 
org/jboss/tm/TransactionTimeoutConfiguration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.wire.db.DbConn.getContext(DbConn.java:109)
at 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129152
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Manual eviction not working

2008-02-13 Thread dmary
Well, I've try your code + two objects (Integer) : 
this.cache.put(/za_node, key, value);
  |   this.cache.put(/za_node2, key, value);
  |   this.cache.put(/za_node3, key, value);
  |   this.cache.put(/za_node4, key, value);
  |   this.cache.putObject(/za_node5, new Integer(56));
  |   this.cache.putObject(/za_node6, new Integer(60));

If I call the evict method, all nodes have disappearead from memory to database 
, expect the last two objects (node5 and node6)
It seems it only appeared with POJO (putObject).

Can you try another time , but with a PojoCache, not a treeCache, as I use it ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129143
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread gcompienne
Ok, I just tried against JBoss AS 5 beta 4 and admittedly I am still having the 
same problem...

I also just realized that it must be some default classloader mechanism that 
must create the BaseClassLoader because in fact the 
VFSTopLevelClassLoaderSystemDeployer that has been deployed for the CLASSLOADER 
stage does not kick-in (as there is no ClassLoaderFactory input being 
presented).


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread gcompienne
Ok, so is JBoss 5 beta 4 a reasonable test environment for this issue? 

Or should I try and fit in it the latest MC trunk in it? (I mean, I can try but 
I am not sure I will succeed: I had a few issues when I tried that a few days 
ago with the trunk and AS 5 beta 3).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129166
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - To make a customizable Portlet.

2008-02-13 Thread dickinson
Hello, I need to make a customizable Portlet. The Portlet, show one table with 
various columns.

I need that when the admin instanciate the Portlet and put it visible, he can 
select the columns that the Portlet can show to the user.

I want to know a way to make this. Thank you.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: strange behaviour with security rules 2.0.1GA

2008-02-13 Thread jamesjmp
hi,
I have solved my problem. I desfribe my solution in case it helps. The matter 
was that in other rule I had in my security.drl (and that I did not post to my 
message) I had a syntax error.
With that error the rule I described before does not work, and once the syntax 
is correct, both rules work ok.
The sintax error was the following: 

  | Role(name == adminGral or name == adminFirm) 
  | 

And the proper way is this:

  | Role(name == adminGral) 
  | or 
  | Role(name == adminFirm) 
  | 
regards,
Jaime


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129184
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback

2008-02-13 Thread ALRubinger
You can register your own Synchronization implementation with the current Tx 
and listen in on afterCompletion, looking for a status of success:

http://java.sun.com/javaee/5/docs/api/javax/ejb/SessionSynchronization.html

S,
ALR

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Clustering of MessageDriven Bean

2008-02-13 Thread yugantshah
Hello,

When I am trying to cluster an application that uses MessageDrivenbean and 
Queues and Connection factory,I am getting an error saying ConnectionFactory 
not bound.
The jndi name used for connection factory lookup is 
ctx.lookup(ConnectionFactory);

I have learnt that JMS resources are singleton in a cluster.
So what should be the JNDI name for connection factory.
I am using EJB3.0

Thanks in advance for any help/advice.

Thanks Yugant Shah.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129179
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Loadbalancing and clustering JBOSS using Apache Http server

2008-02-13 Thread yugantshah
Hello,
I have clustered two instances of JBOSS and I have configured the jboss web 
deployer for load balancing using apache http server.
Consider I have 2 instances of Tomcat (embedded in JBOSS) say TOM1 and TOM2.
Loadbalancer1 is TOM1 and TOM2 is Loadbalancer2 are configured in Apache server.
A request is processed by TOm1 and it goes down(using Ctrl+C) the request is 
then load balanced to TOM2.In the mean I start TOM1 again.
And bring TOM2 down...The request state is transfered to TOM1 and TOm1 restarts 
the processing of same request.
The problem is that TOM1 throws an exception

 13:24:40,954 INFO  [STDOUT] YUGANT Bean:5
13:24:41,455 INFO  [STDOUT] YUGANT Bean:6
13:24:41,957 INFO  [STDOUT] YUGANT Bean:7
13:24:42,458 INFO  [STDOUT] YUGANT Bean:8
13:24:42,960 INFO  [STDOUT] YUGANT Bean:9
13:24:43,477 ERROR [ServerThread] Worker thread initialization failure
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputSt
ream.java:1631)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.s
endObjectVersion2_2(JavaSerializationManager.java:121)
at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.s
endObject(JavaSerializationManager.java:95)
at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(
SerializableMarshaller.java:120)
at org.jboss.remoting.transport.socket.ServerThread.versionedWrite(Serve
rThread.java:806)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:606)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:373)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:166)
15:06:03,431 INFO  [TreeCache] viewAccepted(): [192.168.0.33:1652|17] [192.168.0
.33:1652, 192.168.0.50:2949]
15:06:03,463 INFO  [TreeCache] locking the subtree at / to transfer state
15:06:03,479 INFO  [StateTransferGenerator_140] returning the state for tree roo
ted in /(1024 bytes)
15:06:07,702 INFO  [final16] New cluster view for partition final16 (id: 17, del
ta: 1) : [192.168.0.33:1199, 192.168.0.50:1199]
15:06:07,702 INFO  [final16] I am (192.168.0.33:1199) received membershipChanged
 event:
15:06:07,702 INFO  [final16] Dead members: 0 ([])
15:06:07,702 INFO  [final16] New Members : 1 ([192.168.0.50:1199])
15:06:07,702 INFO  [final16] All Members : 2 ([192.168.0.33:1199, 192.168.0.50:1
199])

And the request is left unprocessed.
I am not able to resolve this issue.

Thanks in advance.

Thanks, Yugant Shah.
 
 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129176
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can I use 2 different databases with JBoss?

2008-02-13 Thread PeterJ
Yes, that is all there is to it. The key is the jndi-name in both of the 
*-ds.xml file. They must be different, and you application uses the jndi-name 
of the database that it wants to use.

Oh, and one other thing. Make sure that the total for maximum number of 
connections does not exceed the number of connections the database allows.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: Connection refused

2008-02-13 Thread ecatum
Solution :

if the parameter jboss.bind.address is not defined with the -b [ip] or 
-Djboss.bind.address=[ip] option, some services bind the loopback adress 
whereas other one bind all network interfaces 

To solve my problem I remove the parameter jboss.bind.address. It allows me to 
bind the service on all network interfaces...

Bye.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129168
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss Portal giving error on startup

2008-02-13 Thread PeterJ
You have JAVA_HOME set to a JRE, not a JDK. Set it to the JDK. This is a known 
bug in the startup scripts, and there is a JIRA for it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129160
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Including generated HTML in an xhtml

2008-02-13 Thread mars1412
check the escape attribute of h:outputText

but be aware, that it might be a bad idea, to let the users enter arbitrary html

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception in thread

2008-02-13 Thread fengbin98
The following is the complete jboss jar files I have in my classpath.

jboss.jar
jboss-common.jar
jboss-j2ee.jar
jboss-ica.jar
jboss-system.jar
jboss-transaction.jar

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why a STATIC RESTRICTIONS in Seam-gen EntityQuery?

2008-02-13 Thread mars1412
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html
BTW: that's plain java - nothing to do with seam

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129156
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

2008-02-13 Thread wluque
OK ! , New Seam Project ( EAR ! ) .

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129188
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback

2008-02-13 Thread ALRubinger
You may also:

* Look up the TransactionManager from JNDI (or inject it using @Resource) and 
register with the Thread's Tx by calling 
tm.getTransaction().registerSynchronization().  You might want to further 
abstract this using an Interceptor (AOP) if you want to apply this across many 
EJBs.

* If hooking in from an Entity Bean, listen in on an event (ie. PostUpdate) and 
call event.getSession().getTransaction().registerSynchronization()

S,
ALR

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129191
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate using SecureIdentityLoginModule for accessing

2008-02-13 Thread vineethprabhu
I did that... the error still remains the same.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129192
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade

2008-02-13 Thread alesj
gcompienne wrote : Ok, so is JBoss 5 beta 4 a reasonable test environment for 
this issue? 
Beta4 is OK.

But I doubt that VFSTopLevelClassLoaderSystemDeployer is not kicking in.
The deployer itself is a CLFactory impl.
Perhaps you can modify this class to add more debugging.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Window property : window-state maximize

2008-02-13 Thread snon
JBoss Portal Version  : 2.4.1
Downloaded Bundled version
JBoss AS Version  : 4.0.4
Database Vendor and Version : MySQL
OS Platform : Linux / windows

Hi,

I have created one portal instance with 3 pages :
portal-intranet
|-- Admin page
|-- Page 1
|-- Page 2

I am a new Jboss user and I'm having a problem with window-states. I'm using 
the descriptors to create my portal and pages :
portal-intranet-object.xml
page1-object.xml
page2-object.xml

I have only one window on page 1 and 2, so I'd like them to have state 
maximized. My problem is that I can't find the right property tag to use :

window-nameCactiWindow/window-name
instance-refCactiBridgePortletInstance/instance-ref
center
1

window-statemaximized/window-state


The window-state tag isn't taken into account.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129163
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback

2008-02-13 Thread [EMAIL PROTECTED]
Thanks for the reply.

I have read this only applies to stateful session beans.
I am using stateless.

Do you know of anywhere I may obtain an example ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129187
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Form submission problems using s:decorate

2008-02-13 Thread chris.simons

I'm attempting to convert our forms using IceFaces, Seam (2.0), and some core 
JSF elements to use what seems to be the best way to go - s:decorate.

I've taken a form that was otherwise working and converted the form to use 
s:decorate template=/layout/forms/edit.xhtml.

edit.xhtml is your standard usage of s:decorate which I have seen again and 
again in Seam docs, forum posts, and blogs.

I can confirm that the form is validating correctly as the validation messages 
(using s:message) appear appropriately.  However, my issue is that when there 
are no validation issues - the page simply will not submit.  I've checked 
pages.xml and the submit button; remember, this form worked prior to using 
s:decorate.

I am hoping someone here may use an eye ball or two and look at my problem.

Here is a code snippet:

The Form:
ice:form id=modifyPersonalProfileForm
  | s:validateAll
  | s:decorate id=designatorDecoreate template=/layout/forms/edit.xhtml
  | ui:define name=labelFirst Name:/ui:define
  | ice:inputText id=firstName  required=true value=#{cvUser.firstName} 
size=40/ice:inputText
  | /s:decorate
  | 
  | ice:commandLink value=Cancel 
action=#{userProfileManager.cancelUserProfile} /
  | 
...

The edit.xhtml:
table
  | tr
  | td
  | s:label styleClass=label #{invalid?'errors':''}
  | ui:insert name=label/
  | s:span styleClass=required 
rendered=#{required}*/s:span
  | /s:label
  | /td
  | td
  | span class=input #{invalid?'errors':''}
  | !--  h:graphicImage 
value=/themes/englink-earth-final/img/error.gif rendered=#{invalid}/ --
  | ui:insert/
  | /span
  | 
  | small class=small #{invalid?'errors':''}
  | s:message styleClass=error errors/
  | /small
  | /td
  | /tr
  | /table



P.S. I tried to post this message on the new forums, but as soon as I 
copied/pasted some actual JSF code, the program crashed and I received a JBoss 
internal 500 page error.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Form submission problems using s:decorate

2008-02-13 Thread [EMAIL PROTECTED]
I need to know what you pasted.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129202
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - different workflows avec la meme definition de processus en

2008-02-13 Thread bud85
Bonjour,

je suis nouveau sur jBPM et ne connait pas encore les possibilitees de cet 
outil,

ce que nous voulons faire, c'est mettre en place des Workflows (WF) d'execution 
automatique (il n'y a aucune intervention humaine de prevue, le WF etant un 
enchainement de modules applicatifs, 1 --2 -- 3 par exemple, le module 2 
traitant les donnees MAJ par 1, idem pour 3 par rapport aux donnees MAJ par 2) 
parametrable en fonction de flux de donnees (1 flux = 1 WF. Il y a 20 flux 
differents par application destinatrice des resultats des traitements, on peut 
donc avoir au maximum a definir 20 WF differents). Ce type d'application est-il 
possible avec jBPM.
et si oui, comment?

merci de vos reponses


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129181
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Turning of INFO-logging except for some categories

2008-02-13 Thread PeterJ
The second warning is probably because you are running the default 
configuration and not the all configuration and is expected - some of the 
code dynamically determines if clustering is available and generates a warning 
if not. Not sure on the other one. But warning messages typically do not 
indicate a problem. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129170
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HIbernate Session Factory exception

2008-02-13 Thread vineethprabhu
My guess is that the jndi name being used to register the Hibernate Session 
Factory is already being used for naming some other resource when your server 
is started. 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129203
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Including generated HTML in an xhtml

2008-02-13 Thread earniedyke
As is usually the case, 2 minutes after I submit a question to a forum I find 
the answer to my problem.

h:outputText escape=false value=#{bean.html}/

does the trick.

Earnie!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129169
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

2008-02-13 Thread kdeboer
I am using JBoss 4.2.2GA and JBoss Message 1.4.SP3



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - JBoss Messaging RA configuration

2008-02-13 Thread kdeboer
Hi Everybody

I have been playing with JBoss Messaging for a few days and want to achieve 
something which i cannot get to work:

The idea is the following:

Have a JBoss Appserver procuce message to a clustered JBoss Mesaging 
implementation via JCA RA adapter connected to teh remote cluster. I would like 
to achieve this without a local JBoss Messaging Instance in the appserver. The 
JCA access here is not required but would be nice to have because the consumer 
side should work this way.
On the consumer side i wuold like to have an EJB3 MDB agin connected via a JCA 
resource adapter to the cluster. (again preferrably without the local Jboss 
Messaging service, only libs)

I have been experimenting with extending the Local JNDI with part of the remote 
JNDI tree to get access to the remote queue
I also tested setting up a XA Connection to the remote cluster but then i got 
stuck trying to make a remote queue into in administered object. I don't know 
what properties this admin object would accept.
There are plenty of examples how to get this done with ActiveMq, WebsphereMQ 
but nothing with Jboss Messaging.

I would like to know if there is any change of success in this scenario.


Thnx 
Karl de Boer

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129195
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Dual Processor Config

2008-02-13 Thread PeterJ
No, there is nothing special you need to do to get JBossAS (or any Java app for 
that matter) to use multiple processors.

What OS are you running? Is there any setting in the OS that might limit apps 
to specific processors? I vaguely recall someone having this issue with Solaris.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129155
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >