[jboss-user] [JBoss Seam] - Re: A component that shows only the root conversations

2007-01-09 Thread denpet
Sovled it by...

1. Removing @Intercept(NEVER)
2. Injecting the conversationList instead
@In
List conversationList;
3. Using the injected conversationList instead of map
orderedEntries.addAll(conversationList);
this.conversationEntryList = new ArrayList(conversationList.size());

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999778
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Errors during BP execution, selectionFailure

2007-01-09 Thread pkovgan
I did find my problem:

This line:

  | 
  | 
  | 

Notice, taxAmout has an error  - "n" is absent.


It will be great to write more concrete error message in such case.

Thanks.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999776
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam doesn't play with ICEFaces

2007-01-09 Thread jerome_082006
Hi Andreas,

I didn't get that exception. Did you manage to build Icefaces ?

Maybe you should ask someone at Icefaces.

Regards,
Jerome.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999775
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver

2007-01-09 Thread chencao0524
Thanks.

I edited my build.xml below

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  |
  |   
  |   
  |  
  |  
  |  
  |   
  |
  | 

It use the same jar, also should be in sync. But the problem remains. :(


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Name Not Found Exception

2007-01-09 Thread jyo7
HI,

I am trying to deploy my application in JBoss and I get the following exception:
com.wilco_int.wui.model.control.ActionFailedException: 
javax.naming.NameNotFoundException: AuthenticateBean not bound
at 
com.wilco_int.upm.plugin.wui.core.UPMLoginner.getAuthenticateBean(UPMLoginner.java:168)
at 
com.wilco_int.upm.plugin.wui.core.UPMLoginner.doLogin(UPMLoginner.java:104)
at 
com.wilco_int.upm.plugin.wui.core.UPMLoginner.login(UPMLoginner.java:58)
at 
com.wilco_int.upm.plugin.wui.core.UPMConnection.getLogin(UPMConnection.java:51)
at com.wilco_int.upm.plugin.wui.core.Util.getSubject(Util.java:39)
at 
com.wilco_int.upm.plugin.wui.core.DefaultController.initialise(DefaultController.java:33)
at 
com.wilco_int.wui.view.common.StandardInitialiseAction.runController(StandardInitialiseAction.java:69)
at 
com.wilco_int.wui.view.common.StandardAction.doAction(StandardAction.java:62)
at com.wilco_int.wui.view.common.WUIAction.execute(WUIAction.java:79)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at 
com.wilco_int.wui.view.common.WUIActionServlet.process(WUIActionServlet.java:33)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
 Caused by: javax.naming.NameNotFo

[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss IDE: New Server located not on localhost

2007-01-09 Thread Syslock
Still no reply, someone doesn't have a clue here???

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999772
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - SEAM : Integrating Hibernate Search Annotations and EJB3.0

2007-01-09 Thread michaelp
Hi,

quick question.  Is it possible to make use of the hibernate annotations 
exstensions (in particular the Hibernate - Lucene integration) while using 
EJB3.0 to define your entities via Seam?

To clarify, I'd like to mark up my entities using EJB3.0 annotations and use 
Hibernate as the persistence provider, and also use the Hibernate Search 
annotations on some entity classes to have a lucene index updated automatically?

I've had a quick bash and this doesn't seem to work.  Any help appreciated.

Cheers.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999771
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Errors during BP execution, selectionFailure

2007-01-09 Thread pkovgan

Hi!

I've got this error durin BP execution, what does it mean?

I know that failure occures during second assign, but do not know where 
exactly, what you can propose to debug?

This failure is very quiet , except this message I have nothing to track 
problem.

Thanks!

An Error:

2007-01-09 14:36:45,627 DEBUG [org.jbpm.bpel.def.Scope$FaultActionHandler] 
handling fault: token=Token(/normalFlow)
  | org.jbpm.bpel.exe.BpelFaultException: 
FaultValue(name={http://schemas.xmlsoap.org/ws/2004/03/business-process/}selectionFailure)
  | at 
org.jbpm.bpel.sublang.xpath.XPathEvaluator.getSingleNode(XPathEvaluator.java:173)
  | at 
org.jbpm.bpel.sublang.xpath.XPathQueryEvaluator.evaluate(XPathQueryEvaluator.java:57)
  | at org.jbpm.bpel.def.assign.FromVariable.extract(FromVariable.java:58)
  | at 
org.jbpm.bpel.def.Assign$From$$FastClassByCGLIB$$ebfb67ec.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at 
org.jbpm.bpel.def.Assign$From$$EnhancerByCGLIB$$b82f0f49.extract()
  | at org.jbpm.bpel.def.Assign$Copy.copyValue(Assign.java:91)
  | at org.jbpm.bpel.def.Assign.execute(Assign.java:53)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
  | at org.jbpm.bpel.def.Invoke.execute(Invoke.java:45)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
  | at org.jbpm.bpel.def.Assign.execute(Assign.java:55)
  | at org.jbpm.bpel.def.Activity.enter(Activity.java:101)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.bpel.def.Activity.leave(Activity.java:171)
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:57)
  | at org.jbpm.bpel.def.Receive.accept(Receive.java:82)
  | at 
org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at 
org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$d809c615.accept()
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:97)
  | at org.jbpm.bpel.def.Sequence.accept(Sequence.java:105)
  | at 
org.jbpm.bpel.def.Activity$$FastClassByCGLIB$$a89e54a2.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
  | at 
org.jbpm.bpel.def.Activity$$EnhancerByCGLIB$$c2ceeb0b.accept()
  | at 
org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
  | at 
org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:109)
  | at 
org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:115)
  | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  | at java.lang.Thread.run(Thread.java:595)



My BP is:


  | http://xtp.sap.com/bp/CreateInvoiceFromSalesOrder"; 
xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; 
xmlns:tns="http://xtp.sap.com/bp/CreateInvoiceFromSalesOrder"; 
xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"; 
xmlns:impl4="http://com.sap.xtp/services/Invoice"; 
xmlns:impl3="http://com.sap.xtp/services/SalesOrder"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
  |   http://schemas.xmlsoap.org/ws/2003/03/business-process/";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  

[jboss-user] [Security & JAAS/JBoss] - Re: Trust association and subject building for SSO

2007-01-09 Thread [EMAIL PROTECTED]
For the web layer, you can header based authentication.  You will need some 
form of an authenticator.  Look here for guidance:
http://wiki.jboss.org/wiki/Wiki.jsp?page=GenericHeaderBasedAuthentication

Once the login module is invoked, then the JBoss security layer takes care of 
the subject/caching etc. The authenticator should pluck the relevant 
information from the http request and then pass them to the jaas layer.

Now for the ejb layer, I guess you will have to write a new interceptor and 
replace the security interceptor in the container configuration in 
conf/standardjboss.xml or write your own container config in jboss.xml in ejb 
jar.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999768
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: invoke called, but our invoker is disconnected

2007-01-09 Thread [EMAIL PROTECTED]
The NPE is thrown because operPartAccessor is null.
// get part accessor from operation wrapper 
  | SOAPElement operPartAccessor = XmlUtil.getElement(operationElem, partName);
>From the javadoc for XmlUtil.getElement(SOAPElement parent, String localName):
anonymous wrote :  Gets the first child element of the given SOAP element with 
the specified local name and a null or empty namespace URI.
  | @return the corresponding child element, or null if there is no match
In our case, operationElem has a child element that matches the part name. 
However, the namespace URI is not empty; it is equal to the namespace specified 
in the soap:body element in the WSDL binding output:

  | http://schemas.xmlsoap.org/soap/http"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
Try retrieving the part accessor from the operation element with the following 
code:
// get part accessor from operation wrapper 
  | SOAPElement operPartAccessor = XmlUtil.getElement(
  |  operationElem,
  |  soapBody.getNamespaceURI(),
  |  partName);

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Debug business process on server.

2007-01-09 Thread pkovgan
 Hi!

 How to debug Business Process? I mean BPEL process on server.

 What prerequisitions should be done to start debugging?

 Some recompilation?

 What is a best place to place breakpoint?

 Some tips?


  Thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: NPE when using optimistic locking with JbossCache 1.4.0.

2007-01-09 Thread kgrjb
hi manik - thanks for your reply.

the problem is there is a massive amount this error[data node is newer ...]. 
someone got the same problem in this thread and this problem was supposed to  
be fixed in 1.4.1.CR1 - please correct me if im wrong.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999765
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: How to make JBoss to look encrypted password instead of

2007-01-09 Thread maulikshah
Thanks for your reply.
In fact i know that link but some how it's not working. Anyway, I will try some 
more things and let you know if it works.

Thanks
Maulik


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: A component that shows only the root conversations

2007-01-09 Thread denpet
"getConversationIdEntryMap()"

This method is gone in 1.1.0.GA, with no comment of what replaced it.
Any suggestion?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999763
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError

2007-01-09 Thread raghav.bheem
hi,
  May be you are right, but these tools can use to where out memory going, 
but how can i remove that error which i am geting again and again. every time i 
have to close the server and start it again.
 Should i have to increase my Ram Size?
 IS there s any other method to solve this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Displaying XML Data in portlet page

2007-01-09 Thread manjunath_n156
Can any body help to solve this problem

Thanxs in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999761
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Displaying XML Data in portlet page

2007-01-09 Thread manjunath_n156
Hi. 
I am trying to display xml data in a portlet page which is getting failed..
i have specified  
   
 text/xml

in portlet.xml and in the portlet class, i have set the content type to 
text/xml.

 renderResponse.setContentType("text/xml");

when i do this, i am getting an error message..

java.lang.IllegalArgumentException: Content type not accepted
at org.jboss.portal.portlet.impl.jsr168.RenderResponseImpl.setContentTyp
e(RenderResponseImpl.java:95)
at com.mvnforum.MVNForumPortlet.doView(MVNForumPortlet.java:106)
at com.mvnforum.MVNForumPortlet.doDispatch(MVNForumPortlet.java:281)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at org.jboss.portal.portlet.container.PortletContainer.invokeRender(Port
letContainer.java:519)
at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC
ontainer.java:440)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch
(PortletContainerInvoker.java:143)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle
tInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jbos
s$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(Tran
sactionInterceptor.java:85)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNo
tSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSuppor
ted_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.
java:102)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNo
tSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSuppor
ted_4827075286966232824.java)


Thanxs in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999758
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: how to config one database for serveral datasources?

2007-01-09 Thread jali
maybe i need to commend it clearly.

in my mysql. there are three databases(A?B?C),i want to use them at the same 
time in my current system. how to config it in jboss.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999757
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - jboss 2.4.1-download problem

2007-01-09 Thread jboss_ms
Hi,

When I downloaded 2.4.1 source code, it says invalid zip file. Has any one 
faced this problem before. I am using windows XP.

Any help in this regard will be of great help to me.

regards,
MS

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999754
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE 1.5 JDK5 Multi language support problem

2007-01-09 Thread jbossuserkol
Hi ,

I am using JBoss Eclipse IDE 1.5 for an application which got to provide 
bilingual support English and Arabic. Java version I used was build 
1.5.0_09-b01, the OS is Windows XP SP2 . I have installed support for Arabic in 
Windows. The problem is in the IDE the Arabic characters could be written but 
once I save it and close the .java file the characters are getting converted to 
???s and when I just save the .java file and run the application in console 
output in get s in place of Arabic glyphs. But, when I change the JDK 
version to 1.4.2_04-b05 everything is working fine , I got to use JDK 5 as we 
have to migrate from 1.4 and use Java 5 features. 

Please help .
Thanks in advance.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999756
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - how to config one database for serveral datasources?

2007-01-09 Thread jali
I use jboss 4.0.1
normally we config one datasource for one type database. so if in my system, 
there are serval datasources. for instance, i have mysql database and serveral 
datasources (A?B?C)in mysql. how can i config it in jboss.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999753
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: some Jbpm tables are not getting affected when we are us

2007-01-09 Thread skpeddi
Thanks for your reply.

As you said we added users manually to the Jbpm_users table, then we assigned 
swimlanes to the user and deployed.Now the swimlane table has some records.

But  JBPM_ID_group and JBPm_ID_Membership tables are not getting populated.What 
is the objective of the above two tables.


Thanks,
Suresh

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Usage of jboss-service.xml File in HelloWorldIPC

2007-01-09 Thread gajanana
Thanks Thomas.. I will try that..

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999748
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss portal Guide

2007-01-09 Thread Loyalsidhu
Hi louise_za

I really apriciate ur help, its a gud one for start! Thanks alot.


Thanks & Regards
Loyal Sidhu

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: What is the deployment descriptor alternative to @Securi

2007-01-09 Thread teknomad
I should have mentioned in my previous posting, that a particular bean does get 
put into a chosen SecurityDomain, but the JACC configuration is still skipped. 
Looking at the JBoss source code for JBoss-4.0.4.GA, seems to indicate that the 
code is actually looking for the SecurityDomain annotation itself, thus tying 
it to annotations. This makes me suspect that it may not be possible at 
all...but I have not dug further.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999744
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver

2007-01-09 Thread [EMAIL PROTECTED]
OK, this

  | 
  |  
  | 
  | 
has jbosscache jar (and jgroups) as well. So can you exclude them and try 
again? Or is it in sync already?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999743
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How the *.page.xml works

2007-01-09 Thread james_027
Please explain to me how the *.page.xml generated by the seam generate-entities 
works and what is it's purpose? I can't find them on the seam reference docs.

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999742
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: What is the deployment descriptor alternative to @Securi

2007-01-09 Thread teknomad
Thank you for the reply.

Setting the security-domain tag as suggested, puts all the beans in the same 
security domain rather than just SomeBean (i.e. on in particular bean). And 
just as an FYI, I did find out that placing a container configuration in the 
jboss.xml is supposed to allow the selection of a particular bean, when that 
bean refers to the configuration by name.  But at least in my configuration of 
JBoss 4.0.4.GA, this also fails, because it still acts as though every bean is 
under the security domain as well. Finally, placing the container configuration 
in standardjboss.xml, and referencing it by name from the jboss.xml, does 
finally work...a bit of a rigmarole, but it works.

Thanks again.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999741
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Possible bug -- conflict with app's own 'StringUtility' clas

2007-01-09 Thread DataGazetteer
I created a class called 'StringUtility' in a package called 'Utility' and 
encountered this stack trace when deploying:


  | 16:57:39,660 INFO  [Initialization] initializing Seam
  | 16:57:39,704 INFO  [Scanner] scanning: 
.../jboss-4.0.5.GA/server/default/deploy/app.ear/app.jar
  | 16:57:40,064 INFO  [Scanner] scanning: 
.../jboss-4.0.5.GA/server/default/tmp/deploy/tmp61301jboss-seam.jar
  | 16:57:55,677 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 16:57:59,309 ERROR [[/app]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.NoClassDefFoundError: 
org/jboss/seam/util/Conversions$StringConverter
  | at org.jboss.seam.util.Conversions$1.(Conversions.java:18)
  | at org.jboss.seam.util.Conversions.(Conversions.java:17)
  | at 
org.jboss.seam.Component$ConstantInitialValue.(Component.java:1971)
  | at org.jboss.seam.Component.getInitialValue(Component.java:400)
  | at org.jboss.seam.Component.initInitializers(Component.java:378)
  | at org.jboss.seam.Component.(Component.java:263)
  | at org.jboss.seam.Component.(Component.java:204)
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:742)
  | at 
org.jboss.seam.init.Initialization.addComponents(Initialization.java:625)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:429)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | ...deleted...
  | 

Simply renaming the class to 'StringUtil' allowed the application to deploy 
without error.  Please let me know if you need a tighter test case in JIRA or 
more of the stack trace.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999738
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - jboss-ide 2.0 tutorials

2007-01-09 Thread grafpoo
if i may be a bit nosy, how did y'all create the flash demos/tutorials for the 
latest jboss ide?

thanks.
john

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver

2007-01-09 Thread chencao0524
Thanks for your reply.

My POJO are Person.class, Student.class, Address.class

  | Person.java
  | @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable
  | public class Person implements Serializable {
  | ...
  | }
  | 
  | Student.java
  | public class Student extends Person {
  | ...
  | }
  | 
  | Address.java
  | @org.jboss.cache.aop.annotation.PojoCacheable
  | public class Address implements Serializable {
  | ...
  | }
  | 

snippets in my build.xml

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  |
  |   
  |  
  |  
  |  
  |  
  |  
  |  
  |   
  |
  | 
  | 
  |
  |   
  |   
  |  
  |  
  |  
  |   
  |
  | 

jboss-app.xml

  | 
  | 
  |  
  |
  | 
  | 
  | 
  |
  | 
  |
  | 


the versions of the jboss-aop-jdk50.jar and jboss-cache-jdk50.jar are the same 
above.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999736
___
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: Oracle Database resource problem

2007-01-09 Thread skumarsamy
Hi,

I'm now getting some other exception as follows. Here i'm the only user and i 
don't have much connection too.

10:42:24,484 WARN  [JBossManagedConnectionPool] Unable to fill pool
org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.lang.NullPointerException)
at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.fillToMin(InternalManagedConnectionPool.java:512)
at 
org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:74)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at oracle.net.ns.NetException.(Unknown Source)
at oracle.net.ano.Ano.e(Ano)
at oracle.net.ano.Ano.init(Ano)
at oracle.net.ns.NSProtocol.connect(Unknown Source)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:844)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at 
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
... 4 more

regards
kumar

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999734
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Redelivery caused by System.exit()?

2007-01-09 Thread apwalker

Just a quick reply as I haven't look too deeply into this but you might want to 
try and invoke the shutdown of the server via JMX.

The jboss.system:type MBean has a shutdown operation that you can invoke using 
JMX although this is a JBoss specific solution. I haven't try this from a MDB 
but it should work.

In future can you please post these kind of questions to the JBoss Messaging 
User forum as they forum is for JBoss Messaging design related questions.

--Aaron

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999732
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Contract-first service endpoint development support

2007-01-09 Thread tejasjani
is this resolved ? where can I get this document ?

thanks in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999733
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver

2007-01-09 Thread [EMAIL PROTECTED]
It complains about when AOP trying to instrument a mixin, it does not find the 
addObserver method.

This is probably due to classpath or version compatiblity. But I don't 
understand where this mixin coming from? 

How do you do pre-compilation of your POJO?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999731
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Contributing to seam-gen?

2007-01-09 Thread atzbert
Here we go:

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

:o)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999730
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WSDL-->Java Can JBoss wstool generate both client and se

2007-01-09 Thread tejasjani
Hi Jason, jjchen, 

I am trying to do something similar, i.e. going from wsdl --> java for 
deployment. I would really appreciate if one of you can answer the following 
for me:

(1) If I have a wsdl file hand-crafted, can I use wstool to generate java 
server and client stubs, binding classes, and jaxrpc-mapping file from the wsdl 
file
I am not able to find a way to use wstool utility when I  have a pre-written 
wsdl file.

(2) If not then I how do I approach WSDL-first development on JBoss. 

thanks in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Does Seam know too much about its context? -- Apache Mod_Rew

2007-01-09 Thread DataGazetteer
For various reasons -- enough reasons to be roadblocks to considering otherwise 
-- we need to front JBoss with Apache HTTPD.  Some of these reasons also mean 
that we want the servlet application to appear it is at the root of the web 
server.  When we had a straight Tomcat-hosted servlet, this bit of 
configuration on the webserver side worked:


  | # Rewrite the URLs to proxy ("[P]") into the Tomcat server
  | # The first RewriteRule handles home page requests
  | # The second RewriteRule handles everything else
  | RewriteEngine   on
  | RewriteRule ^/(;.*)?$   ajp://localhost:8009/app/home.seam$1[P]
  | RewriteRule ^(/.*)  ajp://localhost:8009/app$1  [P]
  | 
  | # Be prepared to rewrite the HTML/CSS files as they come back from 
Tomcat
  | SetOutputFilter proxy-html
  | 
  | # Rewrite JavaScript and CSS files in addition to HTML files
  | ProxyHTMLExtended on
  | 
  | # Rewrite HTTP headers and HTML/CSS links for the home page
  | ProxyHTMLURLMap /app/home.seam  /
  | ProxyPassReverse /app/home.seam /
  | 
  | # Rewrite HTTP headers and HTML/CSS links for everything else
  | ProxyHTMLURLMap /app /
  | ProxyPassReverse /app /
  | 

With a Seam-based app, though, I'm seeing multiple redirects forcing the URL to 
include the context path.  The series of HTTP requests below is an example of 
what happens when submitting a form on the home page (a.k.a. /app/home.seam or 
simply '/' as the client sees it after the ProxyHTMLURLMap processing):


  | POST / HTTP/1.1
  | Host: host.name.here
  | Referer: http://host.name.here/
  | Cookie: JSESSIONID=B1FF86EED9F5B69E812CD173B74010FE
  | Content-Type: application/x-www-form-urlencoded
  | Content-Length: 8258
  | 
search%3Aq=sample&search%3Asearch=search&search_SUBMIT=1&search%3A_link_hidden_=&?
  | 
jsf_tree_64=rO0ABXN...stuff...&jsf_state_64=rO0ABXV...more.stuff...&jsf_viewid=%2Fhome.xhtml
  | 
  | HTTP/1.x 302 Moved Temporarily
  | Date: Wed, 10 Jan 2007 01:24:35 GMT
  | X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 
date=200610162339)/Tomcat-5.5
  | Location: http://host.name.here/app/itemList.seam?cid=37
  | Content-Length: 0
  | Content-Type: text/plain
  | Connection: close
  | 
  | 
  | GET /app/itemList.seam?cid=37 HTTP/1.1
  | Host: host.name.here
  | Referer: http://host.name.here/
  | Cookie: JSESSIONID=B1FF86EED9F5B69E812CD173B74010FE
  | 
  | HTTP/1.x 404 /app/app/itemList.seam
  | Date: Wed, 10 Jan 2007 01:24:36 GMT
  | X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 
date=200610162339)/Tomcat-5.5
  | Content-Type: text/html;charset=utf-8
  | Connection: close
  | 

(The request headers that had no direct bearing on the problem were removed.)

Does this look normal?  Can you think of any reason why Seam would be treated 
differently by the ProxyHTMLURLMap process?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999728
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Contributing to seam-gen?

2007-01-09 Thread james_027
You have nice idea atzbert! I am heavily relying on seam gen now, and those 
features you wish to add are cool!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Issue Raised by Seam Upgrade

2007-01-09 Thread [EMAIL PROTECTED]
Then please submit a simple, runnable test case to JIRA:

http://jira.jboss.com/jira/browse/JBSEAM-639

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999724
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Inteception on field inherited through generic superclas

2007-01-09 Thread vincent.marquez
I'm not not using an abstract class, and I'm having the same problem. The 
problem remains when I use an example without generics also. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Inteception on field inherited through generic superclas

2007-01-09 Thread [EMAIL PROTECTED]
Inherited fields *should* work. Can you try and see if making the base class 
non-abstract makes a difference? We have a test in trunk, but that does not 
seem to have been ported to the 1.5 branch. However, if I remember correctly 
this was only a problem with the new weaving style in trunk.

I aim to release 1.5.3.GA before this weekend, so if there is a problem I would 
like to get this fix in before then. Please let me know

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999721
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Packaging and AOP

2007-01-09 Thread [EMAIL PROTECTED]
I don't think we have tested with WEB-INF/lib and WEB-INF/classed directories. 
A special classloader is used there.

You can package your two archives together in another archive .ear, .sar etc. 
You *might* (sorry it's late and I cannot remember) be able to put them in a 
simple .jar as well.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Inteception on field inherited through generic superclas

2007-01-09 Thread vincent.marquez
Actually, i'm not sure this is a problem with generics.  I'm having trouble 
with fields being aspected/intercepted from a parentclass without using 
generics.  


Seems like the pointcut isn't being applied to fields inherited through the 
superclass...  


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Getting java.lang.reflect.UndeclaredThrowableException when

2007-01-09 Thread vganesh_76
I am Getting java.lang.reflect.UndeclaredThrowableException when returning 
Collection obj from stateless bean.

Though I implement the Serializable in my return obj(i.e. Response), I got the 
exception,
java.lang.reflect.UndeclaredThrowableException
at $Proxy96.readResult(Unknown Source)
at 
com.ussearch.crm.web.report.ViewResultAction1.execute(ViewResultAction1.java:66)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.ussearch.util.web.filters.GZIPFilter.doFilter(GZIPFilter.java:39)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.UTFDataFormatException: encoded string too long: 270422 bytes
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:347)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
at org.jboss.serial.util.StringUtil.saveString(StringUtil.java:27)
at 
org.jboss.serial.objectmetamodel.DataContainer.saveString(DataContainer.java:987)
at 
org.jboss.serial.objectmetamodel.DataContainer.writeMyself(DataContainer.java:1056)
at 
org.jboss.serial.objectmetamodel.DataContainer.saveData(DataContainer.java:936)
at 
org.jboss.serial.io.JBossObjectOutputStream.writeObjectOverride(JBossObjectOutputStream.java:114)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:287)
at org.jboss.serial.io.MarshalledObject.(MarshalledObject.java:51)
at 
org.jboss.ejb3.SessionContainer.marshallResponse(SessionContainer.java:211)
at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:223)
at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:55)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
at 
org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:100)

Can anyone help me to resolve this?

Here is my code 

My Stateless bean interface:

public interface ReportManager {
  | 
  | throws EJBException;
  | 
  | public List readResult(String orderLineId);
  | }
My Local interface:

@javax.ejb.Local
  | public interface ReportManagerLocal extends ReportManager{
  | }
My Remote interface:

@javax.ejb.Remote
  | public interface ReportManagerRemote extends ReportManager{
  | }
My Bean Impl:

@javax.ejb.Stateless
  | @org.jboss.annotation.ejb.Clustered
  | public class ReportManagerBean implements ReportManagerLocal, 
ReportManagerRemote{
  | private static org.apache.log4j.Logger logger = 
org.apache.log4j.Logger.g

[jboss-user] [JBoss Seam] - Re: Remoting call runtime exception at remote.js

2007-01-09 Thread sbryzak2
There's a JIRA issue for improving exception handling in Seam Remoting here 
http://jira.jboss.org/jira/browse/JBSEAM-633.  Redirecting to a login page on 
an exception would an application's responsibility, however the remoting code 
would need to support this.  I suggest you add a comment to the JIRA issue 
detailing your specific requirements.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Could not rebuild the queue from the queue's tranaction log

2007-01-09 Thread bertnz
Hi everyone.

I am quite new to JBoss and have been charged with resolving an issue with an 
existing J2EE application.

Every now and then in this application we get an issue whereby the following 
error is thrown when I try to start up JBoss.

org.jboss.mq.SpyJMSException: Could not rebuild the queue from the queue's 
tranaction log.; - nested throwable: (java.lang.NullPointerException)

.. lots of gunk then

Caused by: java.lang.NullPointerException
at org.jboss.mq.server.MessageReference.init(MessageReference.java:100)
at org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:130)
at org.jboss.mq.server.MessageCache.add(MessageCache.java:103)
at 
org.jboss.mq.pm.file.MessageLog.restoreMessageFromFile(MessageLog.java:267)
at org.jboss.mq.pm.file.MessageLog.restore(MessageLog.java:96)

I can get it to start by removing some files from the 
\jbossmq\file\QUEUE.OffendingQueue/ folder.

Can somebody explain how it gets in a state whereby it will write these 
'messages' here but cannot read them again? I know this is generic request but 
if somebody could give me any help that would be great.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Trust association and subject building for SSO

2007-01-09 Thread [EMAIL PROTECTED]
Ganesh, let me think on your usecase scenario a bit and suggest something.

I have been thinking about the scenario where in users want to plug in Tivoli 
Access Manager to interoperate with JBoss security infrastructure. So your 
description is quiet descriptive. If I need some specific details, I will post 
here.

Thanks for the description.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Repeated calls to LoginModule for EJB authentication

2007-01-09 Thread [EMAIL PROTECTED]
For every ejb invocation, a security check is made. If the user is already 
authenticated, then his subject is picked from the security cache, if not a 
jaas login happens.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999676
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem with JbpmContext and Servlets

2007-01-09 Thread kukeltje
use servletfilters (look in older jbpm versions of the webapp)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Exceptions when using jbpm-jpdl-3.2.Beta1 Webapp

2007-01-09 Thread kukeltje
suggestion: STFF

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: SuperState and webapp

2007-01-09 Thread kukeltje
what for?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Propagating Roles from Servlet Security Context to EJB3

2007-01-09 Thread [EMAIL PROTECTED]
Why don't you write a tutorial on your usecase and submit to the community? 
They will thank u. ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999679
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Configure JMX console port

2007-01-09 Thread jyoonyang
Hello,

I would like to configure JMX console to run on a port different from my 
application.

It seems easy, but I wasn't able find to any info.  Could you point me to some 
documentation how to do this?  Since jmx-console is also another war, can one 
JBoss instance listen on different ports for different war?

Thanks,
Jennifer



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999687
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Problem upgrading from 2.1 to 2.4

2007-01-09 Thread [EMAIL PROTECTED]
Can't you just use the latest version of JBoss and/or convice your client of 
the same AND save us from the horrid details on this thread?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Scheduler problems jbpm.war(3.1.3) to jboss as 4.0.5GA

2007-01-09 Thread kukeltje
the default file is the one used UNLESS you specify one, so no need to copy it. 
If this was not the case, I have no idea (at the moment)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Timer not created in database, yet the hibernate log sho

2007-01-09 Thread kukeltje
are u sure the table is in the db you are talking to?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999684
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Getting java.lang.reflect.UndeclaredThrowableException w

2007-01-09 Thread PeterJ
Did you see the root cause:

Caused by: java.io.UTFDataFormatException: encoded string too long: 270422 bytes

Looks like the object is too big.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999688
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Jboss 4.0.4 and 4.0.5 is going to shutdown

2007-01-09 Thread PeterJ
I looked a little more into the "Notified to shutdown" message.  Turns out this 
message appears no matter how the server is halted.  So if you stop the NT 
service, ctrl-c the server (or send it the INT signal), or call the shutDown 
method on the jboss.system:type=Server MBean, that message will display.

So it looks like someone is shutting the server down.  Obviously, it is someone 
that shouldn't be doing this and has not told you about it.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Getting java.lang.reflect.UndeclaredThrowableException w

2007-01-09 Thread vganesh_76
Yes, I am reading huge clob data ...I can pull the same data when I use non-ejb 
logic ...but this error is thrown in ejb. that's why I serialized my Response 
object.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: invoke called, but our invoker is disconnected

2007-01-09 Thread bertrand.njiipwo
Hello Alex,

I have chosed the second alternative. I was trying to let the jbpm.bpel module 
to read the received SOAPMessage:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  | 
  | 
  | 
  | Bertrand
  | Njipwo
  | 1000
  | 
  | 
  | 
  | 

In PortConsumer.java the following lines:

SOAPElement operationElem = XmlUtil.getElement(envelope.getBody());
  |  Map outputParts = new HashMap();
  | // fill in part values
  | Iterator partIt = parts.iterator();
  | while (partIt.hasNext()) {
  |   Part part = (Part) partIt.next();
  |   String partName = part.getName();
  |   // get part accessor from operation wrapper 
  |   SOAPElement operPartAccessor = XmlUtil.getElement(operationElem, 
partName);
  |   // create part accessor in output message
  |   Element outputPartAccessor = XmlUtil.createElement(null, partName);
  |   outputParts.put(partName, outputPartAccessor);
  |   // copy operation part to output part
  |   operPartAccessor.getValue();
  |   XmlUtil.copy(outputPartAccessor, operPartAccessor);
  | }
  | return outputParts;
  | 
 will copy the informations of the SOAPElement operPartAcessor to the 
outputPartAccessor and therefore retrieve the value received from the remote 
service and with that value initialise the outputPartAccessor-object. 

But i'm falling at: XmlUtil.copy(outputPartAccessor, operPartAccessor); 
If i call any methode on operPartAccessor it raises a NullpointerException.

That why after this call the highlighted  methodes also throw the same 
Exception.

 public static void copy(Element target, SOAPElement source) {
  | // attributes
  | removeAttributes(target);
  | copyAttributes(target, source);
  | // all namespaces
  | copyVisibleNamespaces(target, source);
  | // child nodes
  | removeChildNodes(target);
  | copyChildNodes(target, source);
  | if (log.isTraceEnabled()) log.trace("copied element: " + 
source.getNodeName());
  |   }

So copyAttributes will fail because the SOAPElement operPartAccessor has no 
Attributes. One question:  (Which methode give the value of the 
operPartAccessort ? I have tried with to manipulate the operPartAccessort  as 
DOM object by call getChildrens(), but its always fail).

My question is how could i get the value true of true in the following message 
send by the remote server: http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  | 
  | 
  | true
  | 
  | 
  | 

I have comment out the following line in PortConsumer.java: 
XmlUtil.copy(outputPartAccessor, operPartAccessor); so i can achieve a 
"cleaned" process excecution  and so i can make some performance measurements 
during the process execution. This is a temporary solution to be able to work. 
After doing this i become the following message:

http://schemas.xmlsoap.org/soap/envelope/";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Alex why i can't copy the desired value the remote service send me in my BPEL 
process.

Thanks once again for your help and the time you invest.

Regards

Bertrand


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Packaging and AOP

2007-01-09 Thread adamw
Hello,
I have encountered a weird problem concerning packaging of AOP-transformated 
classes. I use compile-time transformations, and this step works. The classes I 
transform are a portlet, so I want them to be in a jar. If I put my classes as 
usually in myapp.war/WEB-INF/classes, or in 
myapp.war/WEB-INF/lib/jar-with-classes.jar, I get the following exception 
(fragment):


  | at 
org.jboss.forge.projects.freezone.Freezone.(Freezone.java)
  | ... 105 more
  | Caused by: java.lang.RuntimeException: javassist.NotFoundException: 
org.jboss.forge.projects.freezone.Freezone
  | at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:350)
  | at org.jboss.aop.pointcut.Util.matchesClassExpr(Util.java:113)
  | ... 117 more
  | Caused by: javassist.NotFoundException: 
org.jboss.forge.projects.freezone.Freezone
  | 

If I deploy the jar-with.classes.jar and a "stripped" .war independently (both 
go to the deploy dir), it works. Any ideas why and how to avoid separate 
deployments?

-- 
Regards,
Adam

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Getting the logged in user details

2007-01-09 Thread NewTo23
Hi,

I have a DatabaseServerLoginModule. How can I get the name and the associated 
roles of the logged in user?

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999711
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Forced Outjection

2007-01-09 Thread fhh
You have to define some way to inform the frontend that _something_ has changed 
in the backend. 

I assume that the modification of the data relevant to the user object exists 
only in the database so therefore you can't simply outject the modified user 
object after the "work is done" phase.

Then the only choice you have is to refresh the user object from the db after 
step 4 and outject it then.

Regards

fhh


BTW: This is a mistake, is it?

  | public class LoginAction {
  |   private __UserEntity__ user;
  | 
  |   @Out(required=false, scope=ScopeType.SESSION)
  |   public __String__ getUser() {
  | return user;
  |   }
  | }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam-gen

2007-01-09 Thread [EMAIL PROTECTED]
ok - set hibernate.default_schema to avoid reading the system tables which 
apparently have a table with some characters the metadata lookups cannot handle.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: nullpointer in specifying transport guarantee

2007-01-09 Thread siddharthags
well even after I changed it for url pattern I cannot force the transport 
confidential to state https in the wsdl generated. what else do I need to do? 
code is same from the previous post with the url pattern updated in the web.xml 
as /myservice/*, have updated to the 1.04 stack 
version just to make sure I have the latest of everything

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999662
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Issue Raised by Seam Upgrade

2007-01-09 Thread xtia004
Tried on jboss-seam-CVS.20070105.zip, the same exception.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Order of service initialization

2007-01-09 Thread tbolpauly
We have a connection pool (xa-datasource), accessed through JNDI, specified in 
[JBoss]\server\default\deploy\oracle-xa-ds.xml, and we're having difficulty 
accessing it during servlet (filter) init.  Our filters (in their init methods) 
access other global objects that are themselves initialized and require the 
data connection.  

>From the log file it's clear that the connection pool service starts after the 
>filters initialize, which is too late, because the filters and other objects 
>have already failed to initialize properly.  Of course, if we add a try block 
>surrounding the context.lookup("java:[ourConnectionPool]") and subsequent 
>catch block containing the hard-coded connection process, everything works 
>fine.  It's an ok work-around for now, but there ought to be an elegant way of 
>doing this.

We've tried moving the xml code to other files, namely jboss-service.xml and 
server.xml, but that doesn't seem to change anything.

Can anyone give me an answer as to whether this works as it does by design or 
whether I'm just not setting it up properly?  Is there any way to ensure that 
the connection pool is set up before the filters start their initialization?

TIA
Paul T.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Timer not created in database, yet the hibernate log shows i

2007-01-09 Thread jtyrrell
I am running through the example getting started with jBPM examples on the 
JBoss wiki.  I modified the example app to have the following:

  |   
  |   
  |   
  |


However, when I am running this as the default created project in Eclipse I get 
the followiing error:
17:47:12,865 [main] DEBUG SchedulerThread : checking for timers
17:47:12,884 [main] WARN  JDBCExceptionReporter : SQL Error: -22, SQLState: 
S0002
17:47:12,884 [main] ERROR JDBCExceptionReporter : Table not found in statement 
[select top ? timer0_.ID_ as col_0_0_ from JBPM_TIMER timer0_ where 
(timer0_.EXCEPTION_ is null) and timer0_.ISSUSPENDED_<>1 order by 
timer0_.DUEDATE_ asc]
17:47:12,885 [main] ERROR SchedulerSession : 
org.hibernate.exception.SQLGrammarException: could not execute query using 
iterate
17:47:12,885 [main] DEBUG JbpmContext : closing JbpmContext
17:47:12,886 [main] DEBUG Services : closing service 'persistence': [EMAIL 
PROTECTED]
17:47:12,886 [main] DEBUG DbPersistenceService : committing hibernate 
transaction
17:47:12,887 [main] DEBUG DbPersistenceService : closing hibernate session
17:47:12,888 [main] INFO  SchedulerThread : runtime exception while executing 
timers
org.jbpm.JbpmException: couldn't find timers from the database
at 
org.jbpm.db.SchedulerSession.findTimersByDueDate(SchedulerSession.java:99)


Looking at the source the code is trying to get the Timer table...but in 
looking further up my stack of code I see this:
17:47:08,746 [main] INFO  Configuration : Reading mappings from resource: 
org/jbpm/scheduler/exe/Timer.hbm.xml
17:47:08,761 [main] INFO  HbmBinder : Mapping class: 
org.jbpm.scheduler.exe.Timer -> JBPM_TIMER

I have read through the forms and copied the contents of the jbpm.cfg.xml file 
into my eclipse created jBPM project and also the hibernate.cfg.xml file.

If anyone can shed some light on what other knobs I need to twist to make this 
work in a standalone environment.

Please note I have the following code running, and this is where the code that 
can not find the Timer table is executed within:

  |SchedulerThread scheduler = new SchedulerThread();
  | scheduler.setInterval(2000);
  | scheduler.run();
  | 
and this is from where the error is created.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: a4j:mediaOutput and SeamFaceletViewHandler

2007-01-09 Thread joff
I get a very similar exception myself, using Seam 1.1GA, and Ajax4JSF 1.0.5 
with the  tag.

I'm wanting to display an image I have stored in my database, but also, in 
order to eliminate mis-configuration of my own application as a factor, I've 
modified the Hotel booking example thus:

in Hotel.java, I've added:
@Transient private byte[] image;
  | 
  | public Hotel() {
  |   try {
  |  FileInputStream fis = new FileInputStream("/testimage.png");
  |  image = new byte[8000];
  |  fis.read(image);
  |   } catch (Exception e) {
  |  e.printStackTrace();
  |   }
  |}
  | 
  |public void renderImage(OutputStream out, Object data) throws 
IOException {
  |   out.write(this.image);
  |}

and in view/hotel.xhtml:
Image:
  |   
  |  
  |   

and I get this exception:
 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-booking].[Faces
 Servlet]] Servlet.service() for servlet Faces Servlet threw exception
  | 
  | java.lang.IllegalStateException: No application context active
  | at org.jboss.seam.Component.forName(Component.java:1559)
  | at org.jboss.seam.Component.getInstance(Component.java:1609)
  | at org.jboss.seam.Component.getInstance(Component.java:1592)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
  | at 
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  |at com.sun.el.parser.AstValue.getTarget(AstValue.java:62)
  | at com.sun.el.parser.AstValue.invoke(AstValue.java:147)
  | at 
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | at 
org.ajax4jsf.framework.resource.UserResource.send(UserResource.java:92)
  | at 
org.ajax4jsf.framework.resource.ResourceLifecycle.send(ResourceLifecycle.java:79)
  | at 
org.ajax4jsf.framework.resource.InternetResourceService.sendResource(InternetResourceService.java:192)
  | at 
org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:177)
  | at 
org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:97)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:200)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)


Can someone help?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Install with 'all' option does not setup HA-JMS?

2007-01-09 Thread batter
Not sure if this is an MQ or clustering question, but somewhere in the 
documentation it stated that the all option when installing jboss would setup 
MQ to be a HA singleton.  Unfortunately my deploy-hasingleton is completely 
empty.  
Is it enough to move the deploy/jms directory to the deploy-hasingleton, or is 
there some documentation on the steps one should take to make this a singleton? 
 

Another somewhat related question is on how to setup MDB's or services that are 
dependent on queues and topics.  My current thinking is that I have one service 
which really only contains my queue and topic dependencies that get deployed in 
the hasingleton directory.  Then I have another service that depends on the 
barrier and that gets deployed on all nodes in a cluster.  Other  services can 
then depend on this service and be guaranteed that the queues and topics are up 
and running.

Now I am a complete n00wbie with this environment and open for suggestions on 
the best way to set this up.

Thanks in advance for pointers.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jPDL dtd or xsd & description attribute for @Begin

2007-01-09 Thread [EMAIL PROTECTED]
I scheduled this issue:

http://jira.jboss.com/jira/browse/JBSEAM-215

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam-gen

2007-01-09 Thread ector7280
Here's the stacktrace:


  | $ ant -verbose generate-entities
  | Apache Ant version 1.6.5 compiled on June 2 2005
  | Buildfile: build.xml
  | Detected Java version: 1.5 in: c:\Program Files\Java\jdk1.5.0_08\jre
  | Detected OS: Windows XP
  | parsing buildfile C:\jboss-seam-1.1.0.GA\seam-gen\build.xml with URI = 
file:///C:/jboss-seam-1.1.0.GA/seam-gen/build.xml
  | 
  | Project base dir set to: C:\jboss-seam-1.1.0.GA\seam-gen
  |  [property] Loading C:\jboss-seam-1.1.0.GA\seam-gen\build.properties
  | Build sequence for target(s) `generate-entities' is [validate-workspace, 
validate-project, generate-entities]
  | Complete build sequence is [validate-workspace, validate-project, 
generate-entities, undeploy, setup-filters, deploy, fi
  | le-copy-wtp, action-input, new-conversation, entity-input, copy-lib, 
new-form, new-entity, setup, update-project, clean,
  |  restart, explode, help, delete-project, file-copy, new-project, 
new-action, settings, reset, unexplode, ]
  | 
  | validate-workspace:
  | 
  | validate-project:
  | 
  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse 
engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] An exception occurred while running exporter #2:hbm2java 
(Generates a set of .java files)
  | [hibernate] To get the full stack trace run ant with -verbose
  | [hibernate] org.hibernate.exception.DataException: Error while reading 
column meta data for SYS.SYSNTQ/5M5j/MQNSejz17KVY
  | onQ==
  | [hibernate] java.sql.SQLException: ORA-01424: missing or illegal character 
following the escape character
  | [hibernate]
  | 
  | BUILD FAILED
  | C:\jboss-seam-1.1.0.GA\seam-gen\build.xml:665: 
org.hibernate.exception.DataException: Error while reading column meta da
  | ta for SYS.SYSNTQ/5M5j/MQNSejz17KVYonQ==
  | at 
org.hibernate.tool.ant.HibernateToolTask.reportException(HibernateToolTask.java:222)
  | at 
org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:185)
  | at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
  | at org.apache.tools.ant.Task.perform(Task.java:364)
  | at org.apache.tools.ant.Target.execute(Target.java:341)
  | at org.apache.tools.ant.Target.performTasks(Target.java:369)
  | at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
  | at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
  | at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
  | at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
  | at org.apache.tools.ant.Main.runBuild(Main.java:668)
  | at org.apache.tools.ant.Main.startAnt(Main.java:187)
  | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
  | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
  | Caused by: org.hibernate.exception.DataException: Error while reading 
column meta data for SYS.SYSNTQ/5M5j/MQNSejz17KVYo
  | nQ==
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
  | at 
org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getColumns(JDBCMetaDataDialect.java:146)
  | at 
org.hibernate.cfg.reveng.JDBCReader.processBasicColumns(JDBCReader.java:546)
  | at 
org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:84)
  | at 
org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:828)
  | at 
org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:118)
  | at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:89)
  | at 
org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40)
  | at 
org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(JDBCConfigurationTask.java:82)
  | at 
org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)
  | at 
org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:298)
  | at 
org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:314)
  | at 
org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)
  | at 
org.hibernate.tool.ant.Hbm2JavaExporterTask.configureExporter(Hbm2JavaExporterTask.java:34)
  | at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)
  | at 
org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:182)
  | ... 12 more
  | Caused by: java.sql.SQLException: ORA-01424: missing or illegal character 
following the escape character
  | 
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  | at oracle.jdbc.driver.T4CTTIoer.processError(

[jboss-user] [JBoss Seam] - Remoting call runtime exception at remote.js

2007-01-09 Thread xtia004
The runtime exceptions of remoting call I experienced so far are all caused by 
session timed out. It appears as a javascript exception "Object required" at 
line 627 char 19. I temporary fix it by detecting if doc.documentElement is 
null and then redirecting it to login page to restart a new session. I think 
Seam could have a generic and better solution for this cases: if session timed 
out, redirect to a url and don't make the call; if there are other kind of 
exceptions, redirect to another url.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Error from JSF app deployed as portlet

2007-01-09 Thread arnieAustin
Ah, so. My bad. Forgot about that. Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: jPDL dtd or xsd & description attribute for @Begin

2007-01-09 Thread fabricio.lemos
Gavin, please review

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0

2007-01-09 Thread bkatnich
Hi again,

Isn't there anybody at JBoss who has the answer to this?
Is it currently supported in the 5.0 beta or not?

Thanks in advance!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JMX Timer Performance & Strange Issues

2007-01-09 Thread [EMAIL PROTECTED]
Are you on jdk5? Have you tried jdk1.4?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999637
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Error: StateTransferVersion 123 only supports transferring

2007-01-09 Thread jyoonyang
Hello,

I am getting the following error at startup.  Any idea?

12:17:42,175 INFO  [TreeCache] locking the /ticket subtree to return the 
in-memory (transient) state
  | 12:17:42,175 ERROR [RpcDispatcher] failed invoking method
  | java.lang.IllegalArgumentException: Invalid node /ticket -- 
StateTransferVersion 123 only supports transferring  FQN '/'
  | at 
org.jboss.cache.statetransfer.StateTransferGenerator_123.generateStateTransfer(StateTransferGenerator_123.java:34)
  | at org.jboss.cache.TreeCache._getState(TreeCache.java:2448)
  | 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 org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
  | at 
org.jboss.cache.interceptors.CallInterceptor.invoke(CallInterceptor.java:44)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:176)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:35)
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:41)
  | at 
org.jboss.cache.interceptors.ReplicationInterceptor.replicate(ReplicationInterceptor.java:220)
  | at org.jboss.cache.TreeCache._replicate(TreeCache.java:3864)
  | 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 org.jgroups.blocks.MethodCall.invoke(MethodCall.java:236)
  | at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:220)
  | at 
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
  | at 
org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
  | at 
org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
  | at 
org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
  | at 
org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
  | at java.lang.Thread.run(Thread.java:595)


I suspect it has something to do with calling registerClassLoader() and 
activateRegion().  I tried adding an empty HashMap in the node.  But same 
error...


public void ini() {
  | ...
  | cache.put(FQN_TICKET, new HashMap());
  | 
  | cache.registerClassLoader("/" + FQN_TICKET, 
this.getClass().getClassLoader());
  | cache.activateRegion("/" + FQN_TICKET);
  | ... 
  | }

Thanks,
Jennifer

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999635
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Developing services using JBossWS 2.0

2007-01-09 Thread dwin
Hey guys

  I was wondering if there is documentation on developing Web services for 
JBossWS 2.0 (on JBoss 4.x).

Previously, I used the SOAPui plugin (bundled with JBossEclipse) to generate 
the WSDL and the objects (webservices.xml, the request/response classes, etc) 
associated with the deployed webservice.  The SOAPUi uses wstools to generate 
the webservice (it also generated the wstool-config.xml) .

I am guessing the build process is not exactly the same as JBossWS 1.x due to 
the absence of the jaxrpc-mapping.xml and webservices.xml.  Could somebody help 
me out with the build process of JBossWS 2.0.  

Any info or direction towards documentation would be greatly apperciated.  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Starting Process Instance and Webapp

2007-01-09 Thread NiB
@assigment The console told me it assigned the task to ernie, but I can look in 
the db. Also this won't help me much, because I wouldn't know how to fix it ;-)

@tasklist form yes it should be correct because it is from the (working) 
websale example. Even if the form is wrong there should be a task in ernies list

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: SuperState and webapp

2007-01-09 Thread juangiovanolli
can you paste all the processdefinition.xml???
Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Using Java 5 Generics for Webservices

2007-01-09 Thread dwin
Are generics supported in JBossWS 2.0?  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: URLClassLoader loadClass() throws NoClassDefFoundError f

2007-01-09 Thread aron-smith
Do not use loadClass()

http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=86f7b4413e0c95cfe91677a830785:WuuT?bug_id=6446627


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999626
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS Vs JAVA 6.0

2007-01-09 Thread aron-smith
+2

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Lazy mans guide to developing SEAM!

2007-01-09 Thread seamNoobie
>From MyEclipse Forum

anonymous wrote : 
  |Posted: Jan 09, 2007 - 11:24 AM  Reply with quote Back to top
  | First let me thank you for this, fantastic guide and a lot of users are 
going to appreciate this. I'm moving this ot the Documentation forum so folks 
can find it.
  | 
  | Now to address a few things you mentioned:
  | 
  | Quote:
  | 
  | NOTE: MyEclipse is SUPPOSED to deploy as an WAR archive as well as exploded 
but I never get a valid war !!! as the application.xml gets munged...(e.g. 
risingstars.war.war).
  | 
  | Is your project named with a dot in the name? That would be screwing up the 
deployment...
  | 
  | Quote:
  | 
  | (NOte to self - RTFM in MyEclipse as I can't 'NOT' deploy a jar file from 
my project to the exploded or archived project).
  | 
  | Deployment filtering is comming soon, I promise! :)
  | 
  | _
  | Riyad
  | MyEclipse Support
  | Please do us a big favor and remember to vote for MyEclipse at the
  | JDJ Reader's Choice
  | Awards. We really appreciate it!
  | 

Even more good news from the MyEclipse guys.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: WSDL First Model?

2007-01-09 Thread tejasjani
Hi jdcmember, 

am I interpreting your response correctly in that:

(1) I use JAX-WS  wsimport tool  to create the stub and type classes
(2) implement the endpoint interface 
(3) package all  this up in a war file and deploy it on jboss

My questions are:

- I will  need to run the wstools utility somewhere as well, to generate the  
jaxrpc-mapping.xml and webservice.xml, right ?
- wstools is also going  to  generate its own wsdl file. What do I do with that 
file ?  and should I also  package my own wsdl file with the war file ?
-  If not, then  what do  I do with my  own wsdl file ?
- Have you seen any limitations with this approach ?

Thanks in advance.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Re: JBoss Remoting & JDK 6.0 situation deadlock

2007-01-09 Thread aron-smith
Also this should not be a deadlock, Sun clearly explains the loadClass() 
working on a Arrays was an unintentional feature (bug) pre 1.6

http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=86f7b4413e0c95cfe91677a830785:WuuT?bug_id=6446627



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss AS 4.0.5 XA Datasource problem

2007-01-09 Thread tfite01
Hopefully someone can lend me some help.  I've come across a problem while 
upgrading from JBoss AS 3.x to JBoss AS 4.0.5 GA.  

I have a MDB that is creating both non-XA and XA Datasource connections in the 
same MDB instance.  This used to work in JBoss AS 3.2.3, but now in JBoss AS 
4.0.5 it causes the following runtime exception:

2007-01-09 11:32:12,410 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
RuntimeException in method: public abstract void 
javax.jms.MessageListener.onMessage(javax.jms.Message):
java.lang.IllegalStateException: Transaction has terminated 
TransactionImpl:XidImpl[FormatId=257, GlobalId=localhost/31, BranchQual=, 
localId=31]
at org.jboss.tm.TransactionImpl.lock(TransactionImpl.java:834)
at 
org.jboss.tm.TransactionImpl.associateCurrentThread(TransactionImpl.java:794)
at org.jboss.tm.TxManager.associateThread(TxManager.java:497)
at org.jboss.tm.TxManager.resume(TxManager.java:316)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:460)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at 
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
2007-01-09 11:32:12,411 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Exception in JMSCI message listener
javax.ejb.EJBException: RuntimeException
at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:402)
at org.jboss.ejb.Container.invoke(Container.java:954)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:987)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1287)
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
at org.jboss.mq.SpySession.run(SpySession.java:323)
at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: Transaction has terminated 
TransactionImpl:XidImpl[FormatId=257, GlobalId=localhost/31, BranchQual=, 
localId=31]
at org.jboss.tm.TransactionImpl.lock(TransactionImpl.java:834)
at 
org.jboss.tm.TransactionImpl.associateCurrentThread(TransactionImpl.java:794)
at org.jboss.tm.TxManager.associateThread(TxManager.java:497)
at org.jboss.tm.TxManager.resume(TxManager.java:316)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:460)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at 
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:109)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
... 12 more
2007-01-09 11:32:12,412 ERROR [org.jboss.jms.asf.StdServerSession] failed to 
commit/rollback
java.lang.IllegalStateException: Wrong tx association: expected 
TransactionImpl:XidImpl[FormatId=257, GlobalId=localhost/31, BranchQual=, 
localId=31] was null
at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:325)
at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:905)
 

[jboss-user] [JBossWS] - Re: Schema-first WS development with JBossWS

2007-01-09 Thread tejasjani
Hi Thomas, thanks for the  reply.  

This link  talks about the client side. I  am referring  to the server-side on 
how to  implement and deploy the service when one starts out with a WSDL. The 
JBoss documentation does not  seem to address this approach, as it seems to 
auto-generate WSDL  and mapping files using wstools. Also it does not address 
how does one generate the type classes.

I would appreciate if I can get some pointers as we are currently evaluating if 
JBossWS is the right way for us to go.

thanks in advance

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999603
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Fix for org.jboss.util.file.ArchiveBrowser

2007-01-09 Thread bnoll
Re-posting here... hoping that this forum has a little more traffic.

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98701

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999596
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Load balance policy problem

2007-01-09 Thread [EMAIL PROTECTED]
Any possibility there is a call failure when you invoke on one of the servers, 
such that the client proxy is failing over to the other server?

You could then see a pattern where the client sees there are 2 servers, 
contacts one, the call fails so the client removes the server from the target 
list, contacts the other server, call succeeds but server sees the client 
target list is out of sync with the server, so it reestablishes the 2 targets, 
etc.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999595
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: All services binding to 0.0.0.0:8080 or 0.0.0.0:xxx

2007-01-09 Thread rgjawanda
Thanks for replying.
I now understand better. Thanks
Ron


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: securing a page

2007-01-09 Thread slillo
Thanks Peter! Works just fine.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999593
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - How to increase the number of JMS Consumer connections avail

2007-01-09 Thread dewy
How does one go about increasing the maximum number of consumers which can 
connect to the JMS Topic?  When using a JMS Topic I have discovered with 4.0.5 
default install allows up to a maximum of 20 concurrent consumers.   I would 
like to increase this threshold to 30 (or is this bad practice).




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999592
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Forced Outjection

2007-01-09 Thread c_eric_ray
I have the following situation...

  | 1. user logs in
  | 2. user object is outjected
  | 3. work is done
  | 4. backend process updates user in database
  | 5. bean notices user update and refreshed from database
  | 
  | 
  | I need the refreshed user data to be outjected however it is not
  | 
  | 
  |   | public class LoginAction {
  |   |   private UserEntity user;
  |   | 
  |   |   @Out(required=false, scope=ScopeType.SESSION)
  |   |   public String getUser() {
  |   | return user;
  |   |   }
  |   | }
  |   | 
  |   | public class AnotherBean {
  |   |   @In(required=false) @Out
  |   |   private UserEntity user;
  |   | 
  |   |   public void method() {
  |   | // update user with current data and have it outjected to other 
objects
  |   | user = em.find(UserEntity.class, user.getId());
  |   |   }
  |   | }
  |   | 
  |   | public class ThirdBean {
  |   |   @In(required=false)
  |   |   private UserEntity user;
  |   |   
  |   |   public void method() {
  |   | // do something with user
  |   | // however user contains the old data not the new data from the 
database
  |   |   }
  |   | }
  |   | 
  | 
  | Is this possible? Am I doing it wrong? I guess I can always go to the 
database, but I kind of like the idea of using seam to manage this object.
  | 
  | Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: mysql connection refused

2007-01-09 Thread rgjawanda
It was a little confusing but I got it working.
I had changed the port tp 3305 and thought I fixed the xml configuration file. 
It now works. Thanks for your post. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Load balance policy problem

2007-01-09 Thread xyoungli
We have an application where we need to customize JBoss  LoadBalancePolicy. 
What we have found is that JBoss gives erroneous target information upon 
restart of server instances in a cluster. Our setup is as follows:

- JBoss version: 4.0.3SP1
- OS: Windows XP
- cluster: 2 server instances 
- custom load balance policy (LBP): a simple class implementing 
LoadBalancePolicy.  When the count of available targets changes, randomly 
chooses a target.

Initially, both server instances are started, the printout from our custom LBP 
is as follows:
Tue Jan 09 10:46:35 EST 2007 TARGET COUNT: 2
which is good.
Then, I stopped one server instance, and the printout is as follows:
Tue Jan 09 10:46:57 EST 2007 TARGET COUNT: 1
which is good too. 
Then I started the server instance, and the printout is as follows:
Tue Jan 09 10:47:57 EST 2007 TARGET COUNT: 2
Tue Jan 09 10:47:57 EST 2007 TARGET COUNT: 1
Tue Jan 09 10:48:03 EST 2007 TARGET COUNT: 2
Our LBP's chooseTarget method was called with the right number of targets, and 
then wrong number of targets(1), and then the right number of targets again. 
Further, after I restarted the server instances several times, the target count 
started changing back and forth between 1 and 2.

What is wrong? Thanks for your input in advance.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999587
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @Out frustration

2007-01-09 Thread c_eric_ray
here's the qout from Gavin...

anonymous wrote : But the reality is that a SESSION scoped persistence context 
is always a bad thing (it is a memory leak, to begin with), and you should 
never do that. 
  | 

I guess I don't understand.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999582
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: securing a page

2007-01-09 Thread PeterJ
Here is an example, a portal with two pages, and how you would set up two roles 
such that one role can see both pages, the other can see only one page.

 role1  role2  unchecked
  | PortalA  viewrecursive  view-- 
  | page1---view--
  | page ------ --

Key points:

* role1 has viewrecursive set at the portal level thus has access to all pages. 
 No need to set access control on individual pages
* role2 has view access to portal and page1, thus cannot see page 2 (it will 
not show up in the navigation tabs)
* unchecked is not granted any access rights.  This is important because if, 
for example. unchecked is granted view rights on page2, then role2 can see 
page2.  (If a role is not granted specific access to a page, then the access 
rights granted to the "unchecked" role is used.) 

My recommendation however, is to not set any portal access right, and instead 
set them all at the page level:

 role1   role2  unchecked
  | PortalA  --- --- -- 
  | page1viewview--
  | page view--- --



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >