[jboss-user] [JBoss Portal] - Re: CAS logout in JBP 2.6.2

2007-10-04 Thread matt4400
Hello sohil!

Thanks for your answer, but I have changed the port number and it is not 
working. I have looked at the source of the identity module and I have not 
found method to log out the user from CAS server.

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

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


[jboss-user] [JBoss Portal] - CAS logout in JBP 2.6.2

2007-10-03 Thread matt4400
Hello!
I have just configure the CAS authentification in JBoss Portal 2.6.2. I can 
logged in me but when I want to logout me the ticket isn't invalidated. Is 
there some who know how to configure this logout?

in the portal-server.war/WEB-INF/context.xml :

  | https://localhost:8443/cas/login"; 
  | casValidate="https://localhost:8443/cas/serviceValidate";
  | casServerName="localhost:8080"
  | authType="FORM"
  |/>
  | 

and I have configure the handler of CAS to use : 

  | 
  | 

Thanks for regards

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

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


[jboss-user] [Management, JMX/JBoss] - Problem with RMI/JRMP

2007-09-21 Thread matt4400
Hello!
The situation is : 
I have a JBoss Portal 2.6.1GA with an MBean developpe with the JBoss Portal 
API. My idea is to deploy this service on another server just with JBoss AS 
4.2.1GA and used it in the JBoss Portal. So I need to access to this service 
via RMI/JRMP. I have developpe a MBean which works find in the JBoss AS but I 
can't acces to the Interface that I publish in the JRMP.

This is my jboss-service.xml

  | 
  |
  | Hello from MBean
  | jboss:service=Naming
  |
  |
  |
  | 
  |   jboss:service=invoker,type=jrmp
  |   cap2j:service=HelloService
  | cap2j/JRMP
  | org.cap2j.jbp.service.HelloServiceMBean
  |   
 
  | 
  |
  | org.jboss.proxy.ClientMethodInterceptor
  | org.jboss.proxy.SecurityInterceptor  
 
  |  
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor
   
  |  org.jboss.invocation.InvokerInterceptor
  | 
  | 
  | jboss:service=invoker,type=jrmp
  | cap2j:service=HelloService
  | 
  | 
  | 

And this is the code of my Servlet which try to access to the service

  | protected void doGet(HttpServletRequest request,HttpServletResponse 
response) throws ServletException, IOException {
  |try{
  |  InitialContext init = new InitialContext();
  |  HelloServiceMBean ob = (HelloServiceMBean)init.lookup("cap2j/JRMP");
  |}catch(NamingException e){
  | e.printStackTrace();
  |} catch (Exception e) {
  | e.printStackTrace();
  |}
  | }
  | 

But when I do this Cast I have this Error:

  | ERROR [STDERR] java.lang.ClassCastException: $Proxy35
  | at hello.world.servlet.HelloServlet.doGet(HelloServlet.java:29)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | 

If someone has an idea of the solution or if there is an another method to do 
what I want
Thanks for regards

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Error when deploy MBean on JBoss 4.2.1 GA

2007-09-20 Thread matt4400
Thanks a lot ...
I'm so sorry to ask this type of question

Thanks  a lot

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

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


[jboss-user] [Management, JMX/JBoss] - Error when deploy MBean on JBoss 4.2.1 GA

2007-09-20 Thread matt4400
Hello!!
I trie to deploy a MBean in a JBoss 4.2.1 GA and I have this error :

  | ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: 
file:/C:/outils/jboss-4.2.1.GA/server/default/deploy/helloService.sar
  | org.jboss.deployment.DeploymentException: Class does not expose a 
management interface: java.lang.Object; - nested throwable: 
(javax.management.NotCompliantMBeanException: Class does not expose a 
management interface: java.lang.Object)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSer

[jboss-user] [JBoss Portal] - Re: portlet web app being loaded prior to EAR

2007-08-07 Thread matt4400
Hi webhunter!
You just have to replace the EAR file by a SAR file and tu put the WAR file 
into the SAR and it will works better!!

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

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


[jboss-user] [JBoss Portal] - how can i recover window content parameter

2007-07-19 Thread matt4400
Hello,
I want to know how can i recover the window content parameter by programming 
when i'm in a GenereicPortlet or a JBossPortlet. 
I have found something with the renderRequest but it seems very complicated. 
Thinks

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

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


[jboss-user] [JBoss Portal] - Re: how can i recover window content parameter

2007-07-19 Thread matt4400
I precise, i want to recover the window content parameter of a portlet from 
another portlet and i work with JBoss Portal 2.6 GA

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

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


[jboss-user] [JBoss Portal] - Re: problem with custom content type in management portlet

2007-07-18 Thread matt4400
Think's, your solution works!

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

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


[jboss-user] [JBoss Portal] - Re: problem with custom content type in management portlet

2007-07-17 Thread matt4400
There is nobody who can help me ?
If someone wants more information he just have to ask me.

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

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


[jboss-user] [JBoss Portal] - problem with custom content type in management portlet

2007-07-16 Thread matt4400
Hi,

I have define a new Content type for the management portlet in relation with 
another part of my portal. In the content type list I can see my content but 
when I had a new property to this content (similar to set a new article for the 
CMSPortlet) the window wasn't create in the page. 
I'm using version 2.6CR2 for the portal and version 4.0.5 GA for the server.
I specify that I have no error message when I define the new property.
Thinks for help

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

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


[jboss-user] [JBoss Portal] - Re: problem when deploying IPC portlet

2007-06-26 Thread matt4400
What does it means ? because there is that in my ResourceListePortlet.java :


  | public class ResourceListePortlet extends GenericPortlet {
  | 
  | public void init(PortletConfig pConfig)throws PortletException{
  | super.init(pConfig);
  | }
  | 
  | public void processAction(ActionRequest request,ActionResponse 
response)throws PortletException, PortletSecurityException, IOException{
 String color = request.getParameter("color");
  |   String text = request.getParameter("sometext");
  |   if(color != null && text != null)
  |   {
  |  response.setRenderParameter("color", color);
  |  response.setRenderParameter("sometext", text);
  |   }
  | }
  | 
  | protected void doView(RenderRequest request,RenderResponse 
response)throws PortletException, PortletSecurityException, IOException{
 String color = request.getParameter("color");
  |   String text = request.getParameter("sometext");
  |   response.setContentType("text/html");
  |   PrintWriter writer = response.getWriter();
  |   if(text != null)
  |   {
  |  writer.write("");
  |  writer.write(text);
  |  writer.write("");
  |   }
  |   else
  |   {
  |  writer.write("Use the portlet on the left to affect behaviour 
in this portlet");
  |   }
  | 
  |   writer.close();
  | }
  | 
  | public static class Listener implements PortalNodeEventListener{
  | 
  | public PortalNodeEvent onEvent(PortalNodeEventContext context, 
PortalNodeEvent event) {
  | PortalNode node = event.getNode();
  | 
  | // Get node name
  | String nodeName = node.getName();
  | 
  | // See if we need to create a new event or not
  | WindowActionEvent newEvent = null;
  | if(nodeName.equals("AddResourcePortlet") && event instanceof 
WindowActionEvent){
  | WindowActionEvent wae = (WindowActionEvent)event;
  | PortalNode me = node.resolve("../ResourceListePortlet");
  | if(me != null){
  | newEvent = new WindowActionEvent(me);
  | newEvent.setMode(wae.getMode());
  | newEvent.setParameters(wae.getParameters());
  | }
  | }
  | if(newEvent != null){
  | return newEvent;
  | }else{
  | return context.dispatch();
  | }   
  | }
  | 
  | }
  | }
  | 

I have juste copy and paste the HelloWolrdIPC with my own classes

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

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


[jboss-user] [JBoss Portal] - problem when deploying IPC portlet

2007-06-26 Thread matt4400
Hello,
I'm working with JBoss Portal 2.6CR2 and I'm developping IPC portlet. When I 
deploy the .sar file in JBoss I have this exception : 

java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.wyniwyg.core.blog.portlet.ResourceListePortlet$Listener
  | ...
  | --- MBeans waiting for other MBeans ---
  | ObjectName: portal:service=ListenerService,type=blog_listener
  |   State: FAILED
  |   Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.wyniwyg.core.blog.portlet.ResourceListePortlet$Listener
  |   I Depend On:
  | portal:service=ListenerRegistry
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: portal:service=ListenerService,type=blog_listener
  |   State: FAILED
  |   Reason: java.lang.ClassNotFoundException: No ClassLoaders found for: 
com.wyniwyg.core.blog.portlet.ResourceListePortlet$Listener
  |   I Depend On:
  | portal:service=ListenerRegistry
  | 


The jboss-service.xml

  | 
  |   
  |   portal:service=ListenerRegistry
  |   blog_listener
  |   com.wyniwyg.core.blog.portlet.ResourceListePortlet$Listener
  |
  | 

The default-object.xml

  | 
  |
  | overwrite
  |   default
  |   
  | Blog
  | blog_listener
  | 
  | 
  |BlogPortlet
  |BlogPortletInstance
  |center
  |0
  | 
  | 
  | AddResourcePortlet
  | AddResourceInstance
  | left
  | 0
  | 
  | 
  | ResourceListePortlet
  | ResourceListeInstance
  | left
  | 1
  | 
  | 
  |
  | 
  | 

The portlet.xml

  | 
  | Portlet to add resource
  | AddResourcePortlet
  | AddResource
  | 
com.wyniwyg.core.blog.portlet.AddResourcePortlet
  | 0
  | 
  | text/html
  | VIEW   
  | 
  | 
  | Add a resource
  | Add a resource
  | 
  |  
  |  
  | Portlet to view resource
  | ResourceListePortlet
  | ResourceListe
  | 
com.wyniwyg.core.blog.portlet.ResourceListePortlet
  | 0
  | 
  | text/html
  | VIEW   
  | 
  | 
  | Resource of the article
  | Resource of the article
  |  
  |  
  | 

The portlet-instance.xml

  | 
  | 
  | AddResourceInstance
  | AddResourcePortlet
  | 
  |
  |
  | 
  | ResourceListeInstance
  | ResourceListePortlet
  | 
  |
  | 

Thinks for help

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

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


[jboss-user] [JBoss Portal] - CMS repository

2007-06-13 Thread matt4400
I want to recover the CMS repository for creating a new content type but I 
don't understand how to have an instance of a session or a repository. Is there 
someone who can help me?

I developpe that with JBoss Portal 2.6 CR2

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

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