[jboss-user] [JBoss Portal] - Portal page is not getting displayed properly.
We are facing a peculiar problem where for some logins the portal page is not completely loading and finally we are getting "Page cannot be displayed" in Internet Explorer. Following are the details of our production environment. Web server : Apache 2.2.3 + mod ssl + mod JK App server : JBoss 4.0.5 GA Portal server : Jboss Portal 2.4.0 In Apache all the required settings for IE like nokeep alive and downgrading to http 1.0 response etc are configured properly. After 2 or 3 days if the content of the page changes for that login ID then in the same machine the same portal page is getting displayed properly. In layouts/index.jsp we have added all the headers to disable caching . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103935#4103935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - how to know how many Users accessed a particular portlet
Hi, We are using Jboss Portal 2.4.0 with oracle database. We are right now in production.We have around 12 portlets deployed. We need data on which portlet is most visited by the users. Can we get it from database. Regards, rashmi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054189#4054189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JAAS authentication is failing for Correct User name and pas
Hi, We are using JBoss portal 2.4.0 and JBoss App server 4.0.5.GA with Oracle 9.0 as database in production. We are facing a strange problem.Some times even if we give correct user name and password authentication is failing.After trying for 3 to 4 time then it authenticates correctly. We are not able to find out what is the problem.Even in server log files there are no exception logged. Please help us as it is very critical for us. Regards, Rashmi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051154#4051154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Stream Closed
Hi, System Environment: Jboss 2.4.G.A Windows XP, IE6.0 expolrer Even we are facing the same problem.The portelt is a simple MYFACES 1.1.2 Portlet which displays the data on screen.If i continously press F5 button, we are getting the Stream closed exception. Is there any solution for this as we are planning to JBOSS 2.4 for our Production. Please help, Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009836#4009836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss Portal Page Redirection after successful login
Hi, Go to admin page, Click on root,then on default database icon.At the right side,select the page you want from Default Page Name combo box and click update. Once you login the page u selected will be displayed first. Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996243#3996243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Login.jsp
Hi, Create a page and modify its security such that only logged in user can view that page.Then click on root in Management portlet.Select the default page as the page u have created.IF you access htpp://localhost:8080/portal it will open login page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991520#3991520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JasperException on Hot deploying a war file in jboss-portal-
Hi, We are using jboss-portal-2.4.0 GA. We are using Myfaces framework When we hot deploy a JSF Portlet war file application and access the the portlet index page we are getting JasperException. The stack trace of the Exception is given below. But when we restart the server and access then access the application it is not throwing any exception 16:06:13,224 ERROR [CommandFilter] Exception in command invocation | org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/html/index.jsp:10 | | 7: | 8: | 9: | 10: | 11: | 12: | 13: | | | Stacktrace: | at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | 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 org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65) | 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108) | at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:321) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:296) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:378) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:264) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(T | ransactionInterceptor.java:85) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSup | ported_4827075286966232824.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSup | ported_4827075286966232824.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55) | at org.jboss.portal.port
[jboss-user] [JBoss Portal] - Re: How to share the libs between WARs?
Place the jar files in D:\jboss\jboss-portal-2.4.0\server\default\deploy\jboss-portal.sar\lib folder and remove the jar files from your war files. Thats what i did and it worked for me regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985712#3985712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling UserModule service
hi cpage, Thx for your reply. Actually can i open JTA Transaction as shown below.This code is working fine now.But i dont know whether i can call this way though i am getting result. UserTransaction ut = (UserTransaction)(initCtx.lookup("java:comp/UserTransaction")); | ut.begin(); | user = userModule.createUser(subID, userBean.getPwd(), "[EMAIL PROTECTED]"); regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985351#3985351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling UserModule service
As i have metioned it is not portal application.It is just simple JSF application.I am not using Portlet. Can anybody tell me how to open JTA transaction before calling UserModule View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985298#3985298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling UserModule service
Can u tell me how to open JTA transaction. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985109#3985109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Calling UserModule service
Hi We are using JBOSS Portal 2.4 GA we have requirement where registration should be done in Simple JSF application and not using Portlet. So we devleoped JSF application in which i am calling userModule as shown below String userModuleJNDIName = "java:/portal/UserModule"; | UserModule userModule = (UserModule)(new InitialContext()).lookup(userModuleJNDIName); | User user = userModule.createUser(subID, userBean.getPwd(),"[EMAIL PROTECTED]"); I deployed the this JSF application war file in same Jboss Portal server. I am getting userModule but while creating the user it throwing exception as Caused by: org.hibernate.HibernateException: Unable to locate current JTA transaction | at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) | at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:541) | at org.jboss.portal.identity.db.UserModuleImpl.getCurrentSession(UserModuleImpl.java:327) | at org.jboss.portal.identity.db.UserModuleImpl.createUser(UserModuleImpl.java:212) Is this the corrct way to call userModule.Should i set some parameter in xml file Please help Thanx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984882#3984882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem while deleting the user
We are using Jboss Portal 2.4 GA I am trying to delete the user in jboss portal programatically using the service in the following code String userID="aaa" | userModule.removeUser((Serializable)userID); there is a user with username aaa. But I am getting exception as anonymous wrote : java.lang.IllegalArgumentException: The id is not an long : aaa | at org.jboss.portal.identity.db.UserModuleImpl.removeUser(UserModuleImpl.java:253) How should i pass the username to removeUser function so that it delets the user. please help Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982947#3982947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: insert images into portal-server.war/login.jsp
Why cant we access the images in Portal-server.war as that is also a war file.why is this peculiar behavior? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977114#3977114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: insert images into portal-server.war/login.jsp
Hi below is how my jsp looks. I am inserting image in jsp using img tag .I have placed the images in images folder under D:\jboss\jboss-portal-2.4.0\server\default\deploy\jboss-portal.sar\portal-server.war Please help... Thanks in advance!! | | | | | | " name="loginform" id="loginForm"> | | | | Username: | | | | | | | | Password: | | | | | | | | | | | | | | | | | | | Copyright © 2006 Tata Sky Ltd. | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976870#3976870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - insert images into portal-server.war/login.jsp
I have placed images in images folder in portal-server.war/images. i am accessing the images in login.jsp using img tag. but the images are not displayed in login.jsp please help thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976734#3976734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user