seam 1 « Development « JSP-Servlet Q&A





1. Faces Servlet threw exception java.lang.StackOverflowError    stackoverflow.com

Ok, I've run across my first StackOverflowError since joining this site, I figured this is a must post :-). My environment is Seam 2.0.1.GA, JBoss 4.2.2.GA and I'm using JSF. ...

2. Integrating Seam app with flash file uploader    stackoverflow.com

I have a seam app and would like to use the MultiPowUploader (http://www.element-it.com/multiple-file-upload/flash-uploader.aspx). They give some processing script files (.asp, .aspx, .php), including a .jsp. One should define a ...

3. Issue with multipart upload in servlet on seam    stackoverflow.com

I created a servlet wich works fine when deployed in a separate war file, but I intend to use it as part of a seam application. I use commons-fileupload but the ...

4. ServletContext.getRealPath("pictures") returns tmp dir?? JBoss    stackoverflow.com

I made an app with seamgen (also with gui) and i created a folder "pictures" in the root of the application for storing profile images . When i evaluate ServletContext.getRealPath("pictures") ...

5. Seam and ServletOutputStream - flush is not immediately visible    stackoverflow.com

I am converting a 6 year old application to Seam 2.2. The application is used to run in java 1.4 and weblogic 8. It only uses jsp and servlet. In one servlet I use:

 ...

6. Seam 2, how to get the servletcontext?    stackoverflow.com

I'm in seam 2. How can I get the servlet context? I can do this: ServletContexts servletContexts = ServletContexts.getInstance(); But this is not the ServletContext.

7. How to configure Jetty 7.2 (and above) with Weld Servlet and Seam Faces?    stackoverflow.com

I have been trying to make Jetty 7.2 (and above) with Seam Weld-1.1.2.Final and Seam Faces 3.0.2.Final; however, each time I run the application, I get two exceptions: (1) java.lang.ClassNotFoundException although ...

8. JBoss AS 6, Eclipse, Seam 2.2 - Servlet donĀ“t show up    stackoverflow.com

I use JBoss AS 6 with Seam 2.2 in Eclipse. I had create a simple Seam 2 Web Project, (I think with seam gen) and now I wanted to add servlet. File->New->Servlet

public ...

9. access EntityManager from a Servlet    seamframework.org

I'm trying to get access to entityManager from a servlet method. The only useful way i found so far is to access it with a jndi lookup, but i'm also trying to startup the seam context in order to do a regular Component.getInstance() addressing the seam's context. Which is the most suitable way to do that?





10. Accessing Seam context in customer servlet    seamframework.org

12. Authentication using Servlet Class    seamframework.org

14. Bug on documentation of Seam Servlet?    seamframework.org

15. call seam entity from servlet    seamframework.org





17. Can't get identity from a SeamResourceServlet    seamframework.org

18. Can we use both jsp's and XHTML pages in same project    seamframework.org

We have a requirement which iswe have a background image and we need to rotate images on top of it i.e Ad's. These rotating images we get from DB. With jsp's we load those images and with the help of java script we each time set the value of the rotating images depending on a criteria SAY every 2 sec.we can ...

20. Conversation in custom servlet    seamframework.org

21. Creating custom Servlets in JBoss Seam    seamframework.org

Here is the scenario: I am printing out rows in a dataTable and the user can change values in each one of these rows as they choose (.i.e., the rows contain input text fields, richCombo boxes, ect). Each one of the rows in this table represents an instance of a TaskingDataObject. Once the user makes all their selections, they hit the ...

22. Custom Servlet Error    seamframework.org

Hi Friends,For google visualization api i am tryin to create a CustomServlet for DataSource. The think is when i try to define my CustomServlet named Tasking Seam gives Error with the URLhttp://localhost:8080/seamfinal/taskingweb.xml configuration: MyTasking Tasking MyTasking /tasking components xml :I also tried to web.xml servlet as , MyTasking org.domain.seamfinal.servket.Tasking ...

23. Custom Servlet using Seam Example    seamframework.org

I am relatively new to Seam community and i am developing one portal together with Seam. I am currently stuck in middle, i would like to use Seam together with my custom servlet which extends HttpServlet. I don't have a clue how to connect Seam entities to work with my custom servlet. Now i have entity Itemcategory in Seam and works ...

24. Does Seam 3 Security module work with jsp?    seamframework.org

25. error 404 invoking Seam Remote Servlet    seamframework.org

2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter start request processing at 02/03/08 15:22 for uri: /myapp/seam/resource/gwt 2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseFilter] Incoming request has Content-Type header with character encoding utf-8 2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseFilter] Filter request output to XML 2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] XML filter service start processing request 2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] create HTML/XML parser for content type: null 2008-03-02 15:22:04,860 DEBUG [org.ajax4jsf.webapp.BaseXMLFilter] ...

26. Error installing to PostClassLoader with seam-servlet-3.0.0...    seamframework.org

Having a reference to the name of a non-existent web fragment was treated as a deployment error in JBoss AS 6 prior to final. That was fixed by JBAS-8767, as you pointed out. However, now we get the same problem on GlassFish 3.1. It comes down to the fact that the specification was not clear about how to handle this case, ...

27. Example of a Servlet Web service on Glassfish    seamframework.org

29. Facelets: faces servlet not invoked (unprocessed XHTML show...    seamframework.org

Basketball Stats Basketball Stats Web Application javax.faces.DEFAULT_SUFFIX .xhtml Basketball Stats Servlet com.kawoolutions.bbstats.servlet.BasketballStatsServlet 5 Basketball Stats Servlet /home Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.seam ...

30. Faces Servlet throw Exception    seamframework.org

Hi All, I was trying to implement a register system and during testing I got the following error. Please find below the stack trace [STDOUT] Hibernate: select contact0_.id as id11_, contact0_.active as active11_, contact0_.company as company11_, ...

31. Feature idea for Seam: @Servlet annotation?    seamframework.org

The reason for this: I would like to be able to use the full power of Seam components, SMPC, etc, within a Servlet. Sure, Seam handles HTML output and PDF output. But sometimes I want some other entirely different type of output, like maybe I want to create an RSS feed, or display an image, or dynamically generate a sound file, ...

33. Generate XML data in JSP    seamframework.org

I have an existing up and running Seam application with JSF as the view layer. However, I need to generate XML data from pojo and I am thinking to use JSP for this particular purpose. I am planning to create a new folder (say: XML) and use JSP files exclusively in this folder for generating XML. Can this be done technically? ...

35. Getting a Stateless component from a servlet does not work ...    seamframework.org

java.lang.IllegalStateException: No active event context at org.jboss.seam.core.Manager.instance(Manager.java:267) at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:55) at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:150) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:379) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:506) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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) ...

37. Glassfish v3 error with seam-servlet 3.0.0.CR3 Latest    seamframework.org

[#|2011-03-20T15:25:23.870-0600|SEVERE|glassfish3.1|org.apache.catalina.core.ContainerBase|_ThreadID=24;_ThreadName=admin-thread-pool-4848(6);|ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null at org.apache.catalina.core.StandardContext.start(StandardContext.java:5328) at com.sun.enterprise.web.WebModule.start(WebModule.java:500) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:100) at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130) at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269) at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235) at org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143) at org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:406) at org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:100) at org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:76) at org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(DeploymentHandler.java:191) ...

38. How can I use JSP in a page instead facelets?    seamframework.org

Is there any way? It's just one page. I just want to write this.<% response.sendRedirect(request.getContextPath() + "/josso_login/"); %>Unfortunetely in my current situation (a redirect triggered by a security-constraint in the web.xml) bypass the "action execute" in pages.xml. So for now a jsp is my only way to make this redirect works.Any idea or alternative solution?

39. How I can not find my servlet class in the seam application?    seamframework.org

I use seam tool to generate a simple war application in the eclipse enviroment. Then generate TestServlet. then get error, I can not see any diffrent with example seamspace.package org.domain.seamtest.session;public class TestServlet extends HttpServlet { }web.xmldisplay-name>seamtest index.html index.htm index.jsp default.html default.htm ...

40. How to exclude weld-servlet's own slf4j bingdings    seamframework.org

in class path:i have a weld-servlet and slf4j-log4j12 in class path------------ org.jboss.weld.servlet weld-servlet 1.1.4.Final------------ org.slf4j slf4j-log4j12 1.6.4------------when deploying the project,log says : "class path contains muliple slf4j bindings".i want to exclude weld-servlet's own slf4j bindings. org.jboss.weld.servlet weld-servlet 1.1.4.Final ???????????????? how to fill ??????????? with correct code ...

41. How to get Seam component from servlet.Application with Spr...    seamframework.org

I use Spring 3.0.0.RELEASE, Spring Security and Seam 2.2.0.GAI try to get Session Seam Component. But All fields of Component are null.My code:public class DocHttpServletRequest extends ContextualHttpServletRequest{ private Sbean sbean; public DocHttpServletRequest (HttpServletRequest request) { super(request); } @Override public void process() throws Exception { sbean= (Sbean )Component.getInstance(Sbean.BEAN_NAME); } public Sbean getSbean () { return sbean ; }}Code ...

42. Identity component in Servlet side (doGet())    seamframework.org

Hi, I create a link with the user information and send a request with the user-information,and using a servlet I intercept the request, and I fill my "person" object withthe appropriate information. I can not access @Identiy components within the servlet doGet (access)and initialize credentials.username credentials.password.how can I access "@Seam.Identity" within my servlet and fill it with correct information and get ...

43. IdentityManager and SeamResourceServlet    seamframework.org

final IdentityManager identityManager = IdentityManager.instance(); new RunAsOperation() { public void execute() { try { List users = identityManager.listUsers(); // These were inserted for debugging purposes, and all return the values I expected for(String user : users) { log.info("USER: " + user); } log.info("ENABLING USER: " + userAccount.getUsername()); log.info("USER EXISTS: " + userAccount.getUsername()); log.info("ROLE EXISTS: " + identityManager.roleExists("user")); identityManager.enableUser(userAccount.getUsername()); identityManager.grantRole(userAccount.getUsername(),"user"); } catch(Exception ...

45. Is it possible to outject from a servlet?    seamframework.org

If I've passed the conversation ID on properly, this shouldn't be a problem, should it? Does anyone have any ideas? Are there limits on what I can do within my action component? (This action component stores a PDF in the Document Manager and sets a session scoped pdfLink string used to retrieve the PDF in my JSF view).

46. JAAS, SeamLoginModule and Third Party Servlets    seamframework.org

I'm working on an seam application that has embedded within in it a WebDav Servlet. The webdav directory will be served from a database and each users directory will be populated according to login. I would like to be able to use the seam login security model for both the seam website and the webdav servlet (take advantage of SeamLoginModule if ...

47. javax.servlet.ServletException and java.lang.IllegalArgumen...    seamframework.org

Forum: Seam Users Forum ListTopic List javax.servlet.ServletException and java.lang.IllegalArgumentException 31. Mar 2009, 10:08 America/New_York | Link Muhammad Ali Hello to every one.I am facing this interesting scenario that when ever I start my JBoss for first time with application deployed I got following exception while doing any work on UI. Either It's validation or a click on a link . But ...

48. JBoss EL compatable for JSP 2.0 ?    seamframework.org

49. JBoss Seam enhances Sip Servlets    seamframework.org

50. JBPM Example todo: jsp file    seamframework.org

13:45:58,855 ERROR [ExceptionFilter] handling uncaught exception org.apache.jasper.JasperException: An exception occurred processing JSP page /login.jsp at line 9 6: 7: 8:

Login

9: 10: 11:
12: Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:415) at ... org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Cannot find FacesContext at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1796) at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1613) at ... org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) ... 40 more 13:45:58,855 ERROR ...

51. jsp error    seamframework.org

jsp error 14. Mar 2011, 05:48 America/New_York | Link sunkari ramesh Hi all,I did validation for two fields from action class but those validations are coming in console.And my code is here.I am facing jsp problem.

52. jsp page    seamframework.org

When working with Seam it is important that you spend a good amount of time reading the doco and looking at the examples. It may seem like time wasting because you are not working on your own project but, if you do not do this then you will be spending a LOT of time waiting for someone to come answer your ...

53. JSP seam 2.2    seamframework.org

Hi,I am trying to run following jsp using seam 2.2. JSP shows error at . Can anyone please help?I have referred seam 1.1 documentation at http://docs.jboss.org/seam/1.1.6.GA/reference/en/html/tutorial.html showing sample jsp. I hope these jsp should work in 2.2. If not what is the best sample jsp which works in seam 2.2<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %><%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> ...

54. jsp sorting    seamframework.org

55. JSPs working along side JSFs    seamframework.org

I am moving over to Seam from our current framework. Due to a lot of legacy code, I need to make JSPs work along side JSFs. This is proving rather difficult. Currently the login is done through JSF, but after login the user needs to be redirected to a JSP. Seam uses the .seam extension and ignores what ever extension is ...

56. Latest Servlet Module breaks GlassFish 3.0    seamframework.org

57. Method on servlet just isn't executed sometimes    seamframework.org

I have a method on the action which works well when it's executed, the problem is sometimes it just stops being called even though nothing has changed. I can monitor the code executing through the converters and with debug logging see the action being loaded but logging in the method itself isn't logged and the execution doesn't stop at entry breakpoints. ...

58. MockViewHandler and Birt Servlet    seamframework.org

59. Need access to HttpServletResponse object within a seam com...    seamframework.org

I'm using GWT 1.7 and remoting (RPC) to a seam component using Seam 2.2. I don't want to introduce the Faces API (namely javax.faces.context.FacesContext) to access the request/response object when we are not using Faces for presentation layer but using GWT instead. I'm looking for a way to expose the request and response object to my seam component.

60. No file extension in servlet path    seamframework.org

61. NPE in SeamResourceServlet for delivering XML    seamframework.org

@Scope(ScopeType.APPLICATION) @Name("flashCommunicationResource") public class FlashCommunicationResource extends AbstractResource { // // attributes // @Logger private static Log logger; @In(create = true, required = false) private FlashController flashController; @Override public String getResourcePath() { return "/myresource"; } @Override public void getResource(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { new ContextualHttpServletRequest(request) { @Override public void process() throws IOException { doWork(request, response); } }.run(); ...

62. Null Objects With Seam Servlet    seamframework.org

63. occasionally ---- Servlet.service() for servlet default thr...    seamframework.org

Think of it like this. If I came to you as a tester of your application and said. I get a NullPointerException occasionally when I'm using the app can you go fix it please. Would you be able to fix it? No. (You want to know what page I was on, what button I clicked on, what options I had chosen, ...

64. org.jboss.seam.servlet.SeamRedirectFilter    seamframework.org

65. pagination - jsp, xhtml, tld    seamframework.org

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://corejsf.com/pager" prefix="corejsf" %> Test komponentu przewijania

66. passing object from jsp    seamframework.org

67. Problem including xhtml page in jsp    seamframework.org

68. problem with a jsp file    seamframework.org

I use the version of 2.0.2.CR1 seam, I would like execute a jsp file, but the problem is that I do not. I created a form with a button which allows you to download a file, when you click on the button I open the file to download but the problem is that in the address bar of firefox, it opens ...

69. Problem with Resteasy integration and SeamResourceServlet    seamframework.org

Current state of path configuration for JAX-RS resources is a showstopper IMHO because one have to serve them under "SeamResourceServlet path + resource-path-prefix" prefix and in the same time you cannot change SeamResourceServlet path to something different than "/seam/resource" because there are elements in Seam (like for example s:graphicImage tag) that have default path hardcoded and breaks when it is changed. ...

70. Problem with servlet    seamframework.org

public class Download extends HttpServlet{ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ FacesContext context = FacesContext.getCurrentInstance(); ExternalContext ec = context.getExternalContext(); String filePath = null; String fileName = null; int read = 0; byte[] bytes = new byte[1000]; response.setContentType("application/pdf"); response.addHeader("Content-disposition", "attachment; filename=\"" + fileName +"\""); filePath = "C:\\Yannick\\tutoriaux"; fileName = "jpa.pdf"; try { ServletOutputStream os = response.getOutputStream(); File file = ...

71. redirecting from xhtml to jsp    seamframework.org

72. redirecting to jsp page    seamframework.org

73. Running arquillian with Seam Servlet    seamframework.org

75. Seam 3 Rest module does not support Servlet Container?    seamframework.org

I configured the project according to the description in the doc. In servlet 2.5 container(tomcat 6), there is almost no configurtion, a Applcation(and registered in web.xml), but in servlet 3.0 container(tomcat 7), the SeamRestStartup(with a @WebListener annotation) was invoked automatically. But i noticed weld info when tocmat starts up. It indicated that weld can not inject object into Listener.

76. Seam and Servlets?    seamframework.org

What's on that KB article is what I do as well, so nothing realy new in my example. The thing that is missing in article (which I did remember existing) is kind of explicitly stating injection does not work directly in the filter. Since many people already 'doWork' in their existing, non-seam filters, they expect that to work but it does ...

77. Seam and WCAG 1.0 - JSP as alternative view    seamframework.org

hello,i am new to Seam :) We would like to use Seam in project for specific customer. It want to have web application which follow WCAG 1.0. It's bit problem because JSF itself use Javascript and it's not recommended by WCAG 1.0. Our idea is create application with Seam and RichFaces/ICeFaces as view for regular pages. And as alternative web pages ...

78. Seam compatibility with Servlet API 2.4    seamframework.org

79. Seam components+bijection for pure JSP app?    seamframework.org

My next app will have a rich client side (currently I am thinking ExtJS) with a JAX-RS back-end. (JSF/facelets can give me neither the performance nor the flexibility that I aim for.) OTOH I'd like to generate the pages with pre-filled data (to avoid costly, unnecessary round trips to the server) and with page-static content dynamically generated on the server. I ...

80. Seam context in Servlet    seamframework.org

81. Seam Faces, Persistence, Servlet, Catch produce NullPointer...    seamframework.org

4.0.0.20110209-M6 3.0.0.b09 org.jboss.seam seam-bom ${seam.bom.version} import pom org.jboss.seam.faces seam-faces joda-time joda-time 1.6 org.jboss.logging jboss-logging-logmanager 2.2.0.CR2 org.jboss.seam.catch seam-catch org.jboss.seam.servlet seam-servlet org.jboss.logging jboss-logging ...

82. seam-gen jsp    seamframework.org

83. Seam Mail in Servlet    seamframework.org

84. Seam Managed EntityManager is null In Servlet    seamframework.org

85. SeamResourceServlet and SeamListener Problem    seamframework.org

87. Seam vs JSP proposal    seamframework.org

Simultaneously, we are proposing one of our customers, an insurance company, for migrating its current system (also built for us) from JSP/Servlet to JSF/SEAM. Because the former system is performing pretty well on a production environment for around six years, the client is asking for a pro/con proposal. Also, the customer is scared with the latest changes on the Java Arena, ...

88. Seam Wicket and Servlet    seamframework.org

Seam Wicket is currently a bit out of date. In fact, it has never been released as Seam Wicket, only as Weld Wicket. We are focused on getting the foundation modules into beta, so Seam Wicket is further back in the queue atm. However, if someone in the community wants to look into upgrading it, we welcome it and will be ...

89. ServletContext.getResourceAsStream Exception in Netweaver    seamframework.org

Error in method getResourceAsStream(debug.page.xml). The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebMalformedURLException: A resource path must begin with [ / ]. The error occurred in [{0}]. at com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl.getResource(ServletContextImpl.java:471) at com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl.getResourceAsStream(ServletContextImpl.java:500) at com.icesoft.faces.webapp.http.servlet.ServletExternalContext.getResourceAsStream(ServletExternalContext.java:197) at org.jboss.seam.util.FacesResources.getResourceAsStream(FacesResources.java:22) at org.jboss.seam.faces.ResourceLoader.getResourceAsStream(ResourceLoader.java:34) at org.jboss.seam.navigation.Pages.createPage(Pages.java:178) at org.jboss.seam.navigation.Pages.getPage(Pages.java:159) at org.jboss.seam.core.ConversationPropagation.restoreNaturalConversationId(ConversationPropagation.java:108) at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:56) at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:387) at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226) at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:192) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42) at com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65) at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44) at ...

90. Servlet-controller role in Seam apps    seamframework.org

91. ServletException with rich:tabPanel    seamframework.org

92. Servlet execution threw an exception    seamframework.org

11:29:37,353 WARN [ExceptionFilter] handling uncaught exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at ...

93. Servlet execution threw an exception ERROR    seamframework.org

94. Servlet in Seam    seamframework.org

I have RestEasy working with different Consumer and Provider types, from plain text to whatever complex type. It took me some time to figure out what was wrong, but you really need a clear undesratnding of the technology you're using. Without some basic testing, it will not work with or without Seam.

95. Servlet in seam app....    seamframework.org

In my seam application, I am using a datatable to display some data. I am taking that same data, and exporting it to excel format using jxl. I can not use the exporter to export to excel due to the table has a lot of sub-tables to construct the final output. So, what I was trying to do is call a ...

96. Servlet response already use Writer, OutputStream not possi...    seamframework.org

package com.xxx.bean; import javax.faces.context.FacesContext; import javax.servlet.http.HttpServletResponse; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Logger; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.log.Log; import py.com.sif.util.SIFDataConverter; import py.com.sif.util.web.http.MIMETypes; @Name("documentGenerator") @Scope(ScopeType.PAGE) public class DocumentGeneratorAction { @Logger Log log; public String generate(FileBean bean) { FacesContext facesContext = FacesContext.getCurrentInstance(); HttpServletResponse response = (HttpServletResponse) facesContext.getExternalContext().getResponse(); response.addHeader("Content-Length", SIFDataConverter.getStringValue(bean.getData().length, false)); response.addHeader("Content-Disposition", "inline; filename=" + bean.getName()); response.addHeader("Expires", "0"); response.addHeader("Pragma", "cache"); response.addHeader("Cache-Control", "private"); response.setContentType(MIMETypes.ApplicationPDF.toString()); try { response.getOutputStream().write(bean.getData()); ...

97. Servlet.service() for servlet Blocking Servlet threw except...    seamframework.org

09:37:50,624 ERROR [[Blocking Servlet]] Servlet.service() for servlet Blocking Servlet threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:126) at org.jboss.seam.web.RedirectFilter$1.sendRedirect(RedirectFilter.java:70) at org.jboss.seam.mock.MockExternalContext.redirect(MockExternalContext.java:520) at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:209) at org.jboss.seam.faces.FacesManager.redirect(FacesManager.java:174) at org.jboss.seam.faces.Redirect.execute(Redirect.java:139) at org.jboss.seam.exception.DebugPageHandler.handle(DebugPageHandler.java:32) at org.jboss.seam.exception.Exceptions.handle(Exceptions.java:75) at org.jboss.seam.web.ExceptionFilter.endWebRequestAfterException(ExceptionFilter.java:114) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:70) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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 ...

98. Servlet wildcard Path option    seamframework.org

99. Uncaught ServletException (ViewExpiredException)    seamframework.org

ERROR [javax.enterprise.resource.webcontainer.jsf.lifecycle] JSF1054: (Phase ID: RESTORE_VIEW 1, View ID: ) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@4473b976] 2008-11-14 10:11:12,404 WARN [org.jboss.seam.web.ExceptionFilter] handling uncaught exception javax.servlet.ServletException: viewId:/alertOverview.seam - View /alertOverview.seam could not be restored. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:270) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:508) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at ...

100. unknown ServletException    seamframework.org

unknown ServletException 19. Jan 2009, 11:59 America/New_York | Link Enrico Drusiani hi alli have some trouble in understanding an Exception that was originated on a production server. i don't know which page caused it, by now, so i can't reproduce it and have more info.i'm using:SEAM 1.2.1jboss 4.2.2javax.servlet.ServletException: 2048here's the complete stacktrace"ERROR ExceptionFilter uncaught exceptionjavax.servlet.ServletException: 2048 ...