Struts-faces library: provided struts/tiles example doesn't work?!

Dear all,
I�ve been trying to migrate my struts-tiles application to JavaServer Faces using the struts-faces library. I downloaded the latest nightly build, but I was unable to deploy and run the second example (the one using tiles) on Tomcat 5.0.28.
     At first, the <h:commandLink> components for the �Register� and �Login� links on the first page (loggedoff.jsp) wouldn�t work, probably because they should have been replaced by <s:commandLink>. So I fixed that, but then I get an inexplicable http 404 error: �Invalid path /layout was requested� when I click on any of the two links.
     Looking at the source code of both JSP and HTML I noticed that the JSP element <s:form action="/editRegistration"> translates to <form id="menu:_id5" name="registrationForm" action="/StrutsFacesExample/layout.do" method="post">. The action element is obviously(?) wrong: there is no layout.do action mapping anywhere, it�s the path pointing to the main layout jsp with the suffix replaced!
I�ve been able to trace the problem down to method �action� in library class org.apache.struts.faces.renderer.FormRenderer, which does the following:
protected String action(FacesContext context, UIComponent component) {
String actionURL =
context.getApplication().getViewHandler().
getActionURL(context, context.getViewRoot().getViewId());
if (log.isTraceEnabled()) {
log.trace("getActionURL(" + context.getViewRoot().getViewId() +
") --> " + actionURL);
return (context.getExternalContext().encodeActionURL(actionURL));
Any ideas on what could be going wrong here? I also tried deploying the example on Tomcat 5.5.7 and JBoss 3.2.5, but the behavior was the same.
Any comments would be greatly appreciated!
Mario

Did you ever find a solution to this problem? No, unfortunately I am still looking for a solution to this one.
I� ve also reported this to Bugzilla (http://issues.apache.org/bugzilla/show_bug.cgi?id=35265) so you might want to keep an eye on the issue, in case something comes up. However there appears to be no significant activity in the library�s source code repository for almost a month.
After reading other discussions in forums like this one, I must say that I am discouraged: I seriously doubt if anyone has successfully managed to use the struts-faces integration library. A lot of people are suggesting that integrating the two frameworks is not worth the trouble, and so I am now in the process of evaluating the cost of complete migration from struts to jsf (btw, it doesn�t look good�). Nevertheless, some recent articles demonstrate the library�s use (the most recent one is Kito Mann�s http://www.jsfcentral.com/reading/#4030 ) so I might be wrong.
It would be nice though if someone who has managed to integrate the two technologies successfully would share his views on this forum�
Mario

Similar Messages

  • Rich Textbox example doesn't work in Windows 7

    In the past I use the Rich Textbox example (\samples\userint\activex\richTextxbox.prj) in Windows XP (CVI 2010 SP1).
    Now I noticed that this example doesn't work in Windows 7 64-bit because the ActiveX is not registered on the system (see attached error.jpg).
    Isn't this control installed by CVI IDE itself?
    How can I get this example working on my Win 7 64-bit machine?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
    Solved!
    Go to Solution.
    Attachments:
    error.JPG ‏29 KB

    Hi Vix
    It looks like the Rich Textbox control component provided by one of the VB runtimes is no longer included by default with Windows 7.
    I have been able to manually register the ActiveX control using Regsvr32 as described in the following Microsoft KB.
    I was able to download the needed ActiveX control from here and from there you need to copy the .ocx ActiveX control to your C:\Windows\SysWOW64 directory. Open up a command prompt as administrator and run 'REGSVR32 RICHTX32.OCX'.
    SysWOW64 is the 'Windows On Windows' emulation directory which is used for running 32 bit controls in a 64 bit environment.
    I realise this isn't the best solution as it will make application deployment a little more complicated, another solution may be to use another RTF ActiveX control such as the one here: http://www.lebans.com/richtext.htm.
    Thanks
    Chris | Applications Engineer NIUK

  • JClient query by example doesn't work in 10.1.2.

    I've a JClient application I migrated from 9.0.4 to 10.1.2.
    In the migrated app query by example doesn't work anymore in JTables.
    Could someone help ?
    Tks
    Tullio

    Frank, I got a testcase from Tullio. It's a 9.0.4 project uding JClient that is pre-ADF bindings.
    I migrated his 9.0.4 project to 9.0.5.2 first.
    In 9.0.5.2, I see already a change in behavior related to enter-query mode in the JTable, but the number of rows displayed looks correct.
    Tullio, can you confirm if the problem you are seeing vis a vis enter query mode is that if you:
    1. Click enter-query button
    2. Click into a field like Ename and type SMITH but don't [Tab] out of that field yet
    3. Click on the execute-query button
    It behaves as if you've entered no criteria there.
    If at step 2 above you clicked [Tab] to exit the field where you typed SMITH, then it works correctly.
    Is this the enter-query-JTable-related problem you're seeing (that is, related to when you don't focus-out of the field?)
    The "number-of-rows-displayed" issue you mention in this other thread (10.1.2 JClient binding Error. does reproduce with your testcase only in 10.1.2 (as well as also still having this 9.0.5.2 focus-related issue in enter query mode).

  • Oracle standard example doesn't work

    Hi All,
    I am surprsied to see that following standard example from Oracle doesn't work as expected. http://www.oracle.com/technology/products/integration/esb/files/stringtoxml.zip
    Did any one face same error with it?
    Regards,
    Vigni

    Hi,
    The xml string is not valid, you need to place the following part at the beginning of the string:
    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
    So the first line needs to read:
    String in = "&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n<parameters xmlns=\"http://www.tcs.com/WSIF/insurance/IdentifyPolicy/1.0\">\n" +
    You also must change the indexOf parts to >=0 instead of >0. the parseString method should be:
    public static NodeList parseString1(String inputXML) throws XMLParseException,
    SAXException,
    IOException {
    System.out.println(inputXML);
    StringBuffer s4= new StringBuffer(inputXML);
    int index = 0;
    while(s4.indexOf("&gt;") > 0 || s4.indexOf("&lt;") >= 0){
    index = s4.indexOf("&gt;");
    if (index>=0)
    s4.replace(index,index+4,">");
    index = s4.indexOf("&lt;");
    if (index >=0)
    s4.replace(index,index+4,"<");
    System.out.println(s4.toString());
    DOMParser parser1 = new DOMParser();
    ByteArrayInputStream Bis1 = new ByteArrayInputStream(s4.toString().getBytes());
    parser1.parse(Bis1);
    XMLDocument xd1= parser1.getDocument();
    return (xd1.getChildNodes());
    Regards,
    Andre

  • Creating a new library with 'Shift/Start iTunes' doesn't work

    I'm trying to start a new library, but pressing Shift when I start itunes doesn't work. It takes me to my existing library.
    I've uninstalled, rebooted and reinstalled, and completely deleted any other libraries.
    Any ideas how I can start a new library any other way?

    Thanks, that didn't work the first time but did work the second.
    Perhaps I wasn't holding the shift key long enough - you presumably must keep holding it until the 'choose library' dialog actually pops up. I was releasing it after I'd clicked the 'start itunes' button.

  • Why this example doesn't work ?

    for example below:
    html code:
    <applet code=LunarPhasesRB.class width="200" height="200">
        </applet>when i run it on IE , i get below result:
    failed to loading java program.
    why it doesn't work on IE ?
    who can help me ?
    thanks !

    thanks a lot!
    left of web browser appear below info:
    small application program LunarPhasesRB notinited
    what does it mean ?
    if i click "Click to activate and use this control".
    another err:
    failed to loading java program.
    who can help me ?

  • My serial numbers provided on disc sleeve doesn't work

    my serial numbers provided on disc sleeve doesn't work

    Serial number for what? What system? What else? You need to be much more specific.
    Mylenium

  • JSF 2.0 Beta1, simple example, doesn't work, why?

    I made a simple JSF 2.0 NetBeans (Web Application project) example. Only imported library jars are jsf-api.jar and jsf-impl.jar from mojarra-2.0.0-Beta1 release.
    These are files which I added:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
        http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.xhtml</url-pattern>
        </servlet-mapping>
    </web-app>
    test.xhtml (example from DZone JSF 2.0 RefCard):
    <html xmlns="http://www.w3.org/1999/xhtml"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:ui="http://java.sun.com/jsf/facelets">
         <h:head></h:head>
         <h:body>
              <h:form>
                   <h:outputText value="test" />
              </h:form>
         </h:body>
    </html>And that's it. There is no faces-config.xml, as it is not needed. There are no managed beans. JSF and Facelets plugins are disabled.
    When I try to deploy, a get an exception:
    SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.NoClassDefFoundError: com/sun/facelets/tag/jsf/ComponentHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1850)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at com.sun.faces.util.Util.loadClass(Util.java:200)
         at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:308)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processComponent(FaceletTaglibConfigProcessor.java:523)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:358)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:311)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:260)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:312)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:210)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.tag.jsf.ComponentHandler
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 39 moreI tried NetBeans versions: 6.5.1, 6.7-RC3 and 200906261401 Build. Tried with latest Apache-Tomcat and JBoss. It's all the same.
    What is the problem? Why it seeks for a facelets com.sun.faces.config.ConfigureListener, from conventional standalone facelets library? Shouldn't it use facelets classes from JSF 2.0 library?
    I tried to add facelets-1.1.15.B1 jar into project, just to see what happens, and the same exception is thrown ...
    Please help!

    It's because somewhere on your classpath there is a facelet-taglib.xml that's referencing Facelet 1.1.x classes which aren't present.

  • How to recover a library from a laptop that doesn't work

    My laptop died(my brother in law spilled cola on it). I have a new one but I don't know how to recover my library from the old one:( it doesn't start,the GeekSquad told me the motherboard is the problem(too expensive) but I can recover the library if I contact iTunes. So I was thinking to check the forum first,maybe somebody had the same problem.
    Thank you

    If you have everything on an iPod, you can get it back from that, too.
    I don't know if I would trust the Geek Squad person who said contact itunes.
    iTunes store support will not help you with hardware!
    Maybe someone else on the squad could get your entire itunes folder off the hard drive.

  • Images to Video (Sun Example doesn't work for me)

    Hi every one :)
    I'm trying to convert some jpg images into movie file. I saw the [Sun's example|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JpegImagesToMovie.html] , but when I try to execute I have a DataSink error:
    Cannot create the DataSink: javax.media.NoDataSinkException: Cannot find a DataSink for: com.sun.media.multiplexer.BasicMux$BasicMuxDataSource@c1f10e
    Failed to create a DataSink for the given output MediaLocator: foo.mov ¿There's another way to do it?
    P.S: Sorry for my english ;)

    darkskimmer wrote:
    The output MediaLocator, I create it with
    MediaLocator out = new MediaLocator("foo.mov");The error is creating out DataSink. No errors when creating the input stream of images...Which is why I told you specificlly...
    I believe the problem may be with how you're constructing your output MediaLocator... Check out their "main" method and see how they're converting their filenames into MediaLocators, and make sure you do that too. I can tell you, that's not how they do their output mediaLocators. They construct theirs with a "file://" prefix and a fully-rooted pathname. Check the code.
         if ((oml = createMediaLocator(outputURL)) == null) {
             System.err.println("Cannot build media locator from: " + outputURL);
             System.exit(0);
         }

  • Adobe hosted videophone example doesn't work?

    What can be going wrong for me when others claim this is working??
    I've tried using the Adobe hosted videophone example at http://labs.adobe.com/technologies/cirrus/samples/
    It works fine for me when I have two machines on the same LAN both connecting to the service with firewalls operating.
    It does NOT work when one of the machines has a different connection to the Internet, hence diff IP address
    I checked that UDP outbound and inbound is permitted in each firewall.
    Even when I turn firewalls OFF on both machines the app only works when both machines are on the same LAN.
    We have tried this from net connections in USA and UK: in both locations, the videophone app works fine between machines on the same LAN, but fails to work when machines are on a separate Internet connection; and, it goes without saying, we can't connect the videophone app internationally.
    Now all of this is with the Adobe hosted example. We downloaded the sample code and followed the instructions in this article and set up our own working examples, both in a web-hosted Flex version and a desktop AIR version. Again, similar results: our own web and AIR versions work just fine when talking locally over a LAN, but both fail when two machines are connected to different Internet connections and this is regardless of Firewall settings.
    This is REALLY frustrating and we wonder what we can be missing?!

    Thanks for the helpful pointers, Michael. It seems that we likely are running into NAT or firewall issues.
    However, that leaves me wondering what on earth Cirrus can be useful for in the real world? I guess it is just possible that it might be useful in a large corporate campus where you can run multiple instances of an app on machines behind the same firewall; but for anything that is designed to be deployed on multiple end-user machines across the Internet it has no usefulness that I can see. In the real world, there is a huge mix of router and firewall configurations that the developer can have no control over: the P2P capabilities need to handle this without requiring end users to do nasty config work.
    Adobe seems to have dropped the ball here: on the one hand, AIR apps can be easily installed and updated with a single button click; but if the new P2P capabilities are to work it seems we have to get end users to do nasty editing of configuration files to tunnel through NAT/firewall.
    This is just not a subject that most Flex and AIR developers will have experience of so we really need some easy step-by-step instructions or better tools to enable us to make use of these capabilities in the real world!

  • Newbie: Trying to 'call' JSP from CFML (example doesn't work)

    Hi,
    I am (really) just getting started with CFML, so I got ColdFusion 8 Developer deployed onto a GlassFish 3.1.1 server.
    I put a copy of a small hello.cfm into the <GF_DOMAIN>/applications/cfusion/ directory, and when I point a browser to http://<host>:8080/cfusion/hello.cfm, I get the "Hello world".
    So next, I'm trying to 'call' a JSP from a CFML page, and I found this example:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_6.html
    I put a copy of the CFML at cfusion/hellojsp.cfm:
    <cfapplication name="myApp" sessionmanagement="yes">
    <cfscript>
    Request.myVariable = "This";
    Session.myVariable = "is a";
    Application.myVariable = "test.";
    GetPageContext().include("hello.jsp?name=Bobby");
    </cfscript>
    and also created a cfusion/hello.jsp per the above link:
    <%@page import="java.util.*" %>
    <h2>Hello <%= request.getParameter("name")%>!</h2>
    <br>Request.myVariable: <%= request.getAttribute("myVariable")%>
    <br>session.myVariable: <%= ((Map)(session.getAttribute("myApp"))).get("myVariable")%>
    <br>Application.myVariable: <%= ((Map)(application.getAttribute("myApp"))).get("myVariable")%>
    In other words, in the <GF_DOMAIN>/applications/cfusion directory, I have:
    hellojsp.cfm
    hello.jsp
    However, if I point the browser to either http://<host>:8080/cfusion/hellojsp.cfm or http://<host>:8080/cfusion/hello.jsp, I get a 500 error.
    In the GlassFish server.log, I get the following:
    INFO: 03/13 21:17:24 Error [http-thread-pool-8080(5)] - coldfusion.jsp.JspWriterIncludeResponse.getStatus()I The specific sequence of files included or processed is: C:\glassfish3\glassfish\domains\domain1\applications\cfusion\hellojsp.cfm, line: 6
    Mar 13, 2012 9:17:24 PM org.apache.catalina.core.StandardWrapperValve log
    WARNING: StandardWrapperValve[CfmServlet]: PWC1406: Servlet.service() for servlet CfmServlet threw exception
    javax.servlet.ServletException: ROOT CAUSE:
    java.lang.AbstractMethodError: coldfusion.jsp.JspWriterIncludeResponse.getStatus()I
              at javax.servlet.http.HttpServletResponseWrapper.getStatus(HttpServletResponseWrapper.java:2 53)
              at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:356)
              at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:112)
              at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:465)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1562)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2086)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2060)
              at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
              at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
              at cfhellojsp2ecfm1997599341.runPage(C:\glassfish3\glassfish\domains\domain1\applications\cf usion\hellojsp.cfm:6)
              at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
              at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
              at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
              at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
              at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
              at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
              at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
              at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
              at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
              at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
              at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
              at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
              at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
              at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
              at coldfusion.CfmServlet.service(CfmServlet.java:175)
              at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
    Can anyone tell me what might be causing this problem?
    Thanks,
    Jim

    Hi,
    Sigh ... I thought I had this solved, and, in fact, I do get a correct output webpage now.
    However, if I use that small .cfm, with the .forward(), whenever I access it, I get an error/stacktrace:
    Mar 14, 2012 12:44:27 AM org.apache.catalina.core.StandardWrapperValve log
    WARNING: StandardWrapperValve[CfmServlet]: PWC1406: Servlet.service() for servlet CfmServlet threw exception
    javax.servlet.ServletException: ROOT CAUSE:
    java.lang.AbstractMethodError: coldfusion.jsp.JspWriterIncludeResponse.getStatus()I
              at javax.servlet.http.HttpServletResponseWrapper.getStatus(HttpServletResponseWrapper.java:2 53)
              at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:356)
              at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:112)
              at org.apache.catalina.util.InstanceSupport.fireInstanceEvent(InstanceSupport.java:465)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1580)
              at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2086)
              at coldfusion.runtime.NeoPageContext.include(NeoPageContext.java:2060)
              at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
              at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
              at cfhellojsp2ecfm1997599341.runPage(C:\glassfish3\glassfish\domains\domain1\applications\cf usion\hellojsp.cfm:6)
              at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
              at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
              at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
              at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
              at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
              at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
              at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
              at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
              at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
              at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
              at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
              at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
              at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
              at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
              at coldfusion.CfmServlet.service(CfmServlet.java:175)
              at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
              at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:343)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
              at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
              at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:256)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
              at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
              at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
              at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPi peline.java:91)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
              at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
              at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
              at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
              at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
              at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
              at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
              at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
              at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
              at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
              at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
              at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
              at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
              at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
              at java.lang.Thread.run(Thread.java:662)
    Can anyone tell me what is causing that error?
    Thanks,
    Jim
    P.S.  If I change the .forward() to a .include(), I don't get an error...

  • User Function Library for Crystal Reports 10 doesn't work on Win2K3 SP2

    Hi,
    Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
    The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
    We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
    Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
    To reproduce this problem:
    1) Create a UFL in VB 6.0
    2) Use the UFL in a formula in a report
    3) Create a VB 6.0 application and use CR 10 Report Viewer control
    4) Invoke the report from the application
    5) The application crashes on Windows Server 2003 (SP2).
    This is a high priority issue.
    Is there any other alternative to User Function Library?
    Any help on this will be very much appreciated.
    Thanks in advance.

    Hi,
    Recently, we have been facing problem with Crystal Reports 10 developer edition on Windows Server 2003 R2 Service Pack2.
    The user function library concept doesnu2019t seem to be working on Windows Server 2003. We had installed CR10 Service Pack 6.
    We have a UFL written in VB 6.0 and this UFL is used in a formula in one of our reports.
    Whenever this report is invoked, the application crashes with a page fault. Dr Watson log files points to a crash occurring in Crystal Reports component.
    To reproduce this problem:
    1) Create a UFL in VB 6.0
    2) Use the UFL in a formula in a report
    3) Create a VB 6.0 application and use CR 10 Report Viewer control
    4) Invoke the report from the application
    5) The application crashes on Windows Server 2003 (SP2).
    This is a high priority issue.
    Is there any other alternative to User Function Library?
    Any help on this will be very much appreciated.
    Thanks in advance.

  • Simple example doesn't work when on two machines

    I have a simple RMI example that works when I run both the client piece and the server piece on one machine. However, when I seperate them to two different machines, it does not work. The client piece just sits and waits at this line:
    Calculator c = (Calculator)Naming.lookup("rmi://162.130.1.68/CalculatorService");I believe I don't need an HTTP server running on the "server" machine, but is there anything I need to setup on either machine? Do I need to start the rmi registry from a specific folder or put the server files in a specific folder? I've heard the term "network accessible" thrown arround. Do I need to make the files "network accessible?"

    The first thing I would do is what the previous poster said which refers to the term Network Accessible. The second thing I would do is remove "rmi:" in the lookup name. I've never seen that notation anywhere. The third thing I would do is make sure the rmi registry is started on the server. You can actually start it from inside the application like so: java.rmi.registry.LocateRegistry.createRegistry(java.rmi.registry.Registry.REGISTRY_PORT);
    Hope I've helped. Let me know how it works out.
    Dave

  • I deleted the "audio" folder in my HD library preferences, now my computer doesn't work right.  Imagine that.

    I recently clean installed Mountain Lion on my mac mini and I was unable to switch between my HDMI output and the headphone port in sound preferences.  If the headphones were plugged in it wouldn't let me switch to HDMI.  I read a thread where someone suggested deleting the audio folder in preferences.  Like an idiot, I went ahead and did it.  Now my computer's all screwed up.  Audio Midi Setup gives me the pinwheel-of-death and I have to force quit.  I also get the pinwheel when I mouse over the stuff in the top right corner of the screen.  A lot of stuff is giving me the pinwheel.
    How can I fix this?

    OOH...  In the nick of time.  I was getting ready to nuke it from orbit(clean reinstall).  Lucky you chimed in when you did.  Running the installer should be considerably faster than wiping the HD.
    I put ML on a usb drive.  Does this mean I just go into the thumb drive and click on Install OSX Mountain Lion?

Maybe you are looking for

  • Dell E176FP monitor won't work with os 9.2

    Hi I bought a dell 17 inch E176FP monitor but there is no display with my powermac g4 running os 9.2 It works fine when I plug it into my Dell inspiron laptop (awful product) and a smaller viewsonic model works fine with my G4. I've done a factory re

  • Configuring mail account in Mail App with restriction account on

    Hi there, How is possible to create an account in Mail App with the restriction Accounts enable? I explain myself. I configure all the iPads of my business with the restrictions enabled and select "Don´t Allow Changes" on the Accounts tab. Settings >

  • Individual error bars in charts

    I can't figure out how to put individual errors bars in a bar chart. That is, a different amount of error on each bar. It can be done in Numbers by putting a range in the 'custom' option, but 'custom' is not selectable on my version of Keynote 09. I

  • Simplest screenshot process

    Hi, I have read a lot of web literature about screenshots on OS X 10.6. but I did not find the missing software/process/keyboard trick. Does anyone know a software that just let me do the 3 following steps: 1. Make a keyboard combination to make appe

  • PSE 8 - Help with Editing Group Layers

    I am working with some templates right now that are apparently set up in Grouped layers.  I've looked into it, and the best result I can find is that I hav eto "simplify" the group in order to be able to edit the layers.  That doesn't seem to allow m