Struts Support: Parsing Portlet JSP File failed

I've manually edited a my .portlet file to contain a strutsContent element (copied
from the struts.porlet in the JSR 168 and Struts Support sample). When I run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--Andy

Subbu,
Thanks for the tip - netuix_taglib.jar was indeed the not the correct version.
Interestingly, this file is not mentioned in the "JSR 168 and Struts Support"
install docs. I have replaced this file and the struts-example webapp now starts
(after setting up an action to forward to the index page).
However, I am having problems with the message bundle properties files ApplicationResources.properties
and AlternateApplicationResources.properties as neither of these files are being
picked up.
These files are located in org/apache/struts/webapp/example in WEB-INF/src and
WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example resides
in <WEBAPP>/struts-example).
I've also tried adding <init-param>'s to the <WEB-APP>/WEB-INF/web.xml file for
the action servlet as follows:
<servlet>
<servlet-name>action</servlet-name>
<init-param>
<param-name>application</param-name>
<param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>alternate</param-name>
<param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
</init-param>
</servlet>
When I use the logon action as the starting action for the portlet, I get:
Error opening /struts-example/logon.jsp.
The source of this error is javax.servlet.ServletException: Cannot find message
resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
Any help would be appreciated.
--Andy
Subbu Allamaraju <subbuATbeaDOTcom> wrote:
Andy,
Does this webapp contain the patched versions of netuix_servlet.jar and
netuix_taglib.jar? Also make sure that the patched netuix_system.jar
is
in the system classpath.
Subbu
Andy Hull wrote:
I've manually edited a my .portlet file to contain a strutsContentelement (copied
from the struts.porlet in the JSR 168 and Struts Support sample). WhenI run my
portal I get an error message:
java.lang.RuntimeException: Didn't find TagInfo for tag:strutsContent
Can anyone help?
Thanks in advance,
--Andy

Similar Messages

  • Parsing of JSP File failed

              I have many Jsp files already used at WLS51,
              when I move to WLS6.0 I get the following error:
              Parsing of JSP File '/Ticket/Reservation/ImmigrationSeqNbr.jsp' failed:
              /Ticket/Reservation/ImmigrationSeqNbr.jsp(353): scriptlet close brace '}' unbalanced
              at line 353 which breaks scope '_base_service_scope_'
              probably occurred due to an error in /Ticket/Reservation/ImmigrationSeqNbr.jsp
              line 353:
              finally{
              Can you help me what is the mean of the errro message?
              And how to solve that?
              Thx
              

              It's telling you there is a syntax error in your JSP. Which would be strange if
              it worked fine in 5.1. Please post the JSP.
              Mike
              "Samuel Pun" <[email protected]> wrote:
              >
              >I have many Jsp files already used at WLS51,
              >when I move to WLS6.0 I get the following error:
              >
              >Parsing of JSP File '/Ticket/Reservation/ImmigrationSeqNbr.jsp' failed:
              >--------------------------------------------------------------------------------
              > /Ticket/Reservation/ImmigrationSeqNbr.jsp(353): scriptlet close brace
              >'}' unbalanced
              >at line 353 which breaks scope '_base_service_scope_'
              >probably occurred due to an error in /Ticket/Reservation/ImmigrationSeqNbr.jsp
              >line 353:
              >finally{
              >
              >Can you help me what is the mean of the errro message?
              >And how to solve that?
              >Thx
              

  • Parsing of JSP file

    Parsing of JSP File '/main.jsp' failed:
    /main.jsp(1): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://java.sun.com/jstl/core' into a valid tag library
    probably occurred due to an error in /main.jsp line 1:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    Sun May 06 18:27:39 GMT+05:30 2007
    I got this error when i deployed my application through weblogic...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    I think its because of this line..can someone help me..its urgent

    /Username.jsp(3): Error in using tag library          > y uri='/WEB-INF/struts-html.tld' prefix='html':
              > cannot find tag class:
              > 'org.apache.struts.taglib.html.BaseTag'
              > probably occurred due to an error in /Username.jsp
              > line 3:
              > <%@ taglib uri="/WEB-INF/struts-html.tld"
              > prefix="html" %>
              Ok, we can tell that the JSP compiler was able to read and parse the TLD file, because it refers to a class name specified in the TLD. That's a good sign. However, after it found the class name, it wasn't able to find the actual class file. You'll need to ensure that the "struts.jar" file is in your "WEB-INF/lib" directory of the application.
              If you already have that, or it still doesn't work when you redeploy it with this, then it's possible there is a conflict with another "struts.jar" in the web application classloader context. If that other "struts.jar" is not controlled by you, but is instead controlled by WebLogic, then you may have to specify the "<prefer-web-inf-classes>" element (to specify a "true" value), which will make the web application classloader prefer classes and jars in your WEB-INF directory over classes found elsewhere.

  • Weblogic 10.3 & AIX -- Compilation of JSP File Failed!!!!

    Hi,
    We try to deploy an war to the weblogic 10.3 server. Error happed under AIX.
    The War can be deployed successfully but JSP compile under AIX? I verify that Solaris 9&10, Red hat, HP IA, the war works well after deployed.
    Is there any special  setting for AIX? Both 5.3 and 6.1 have the problem.
    Here is my jsp:
    <%@ page import="com.acta.webapp.mdreport.*" contentType="text/html" language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="/WEB-INF/mdreport.tld" prefix="md" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <%
         AwWebMetaDataContext ctxt = new AwWebMetaDataContext (request,response);
         String logonButton = ctxt.getMessage(DIMetaDataResource.IDS_LOGON_LABEL);
    %>
    <html>
    <head>
    Here is the error message:
    logon.jsp:2:5: Invalid tag library.
    <%@ taglib uri="WEB-INF/mdreport.tld" prefix="md" %>
    ^----^
    logon.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="WEB-INF/mdreport.tld" prefix="md" %>
    ^----^
    logon.jsp:2:5: Invalid tag library.
    <%@ taglib uri="WEB-INF/mdreport.tld" prefix="md" %>
    ^----^
    logon.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="WEB-INF/mdreport.tld" prefix="md" %>
    ^----^
    logon.jsp:3:5: Invalid tag library.
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    ^----^
    logon.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    ^----^
    logon.jsp:3:5: Invalid tag library.
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    Here is the stack trace from the log:
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:328)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:251)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Here is the JDK information.
    Java(TM) SE Runtime Environment (build pap6460sr4-20090219_01(SR4))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460-20090215_29883 (JIT enabled, AOT enabled)

    I am having a similar error but with a different tld...
    From my home-framed.jsp:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <%@ taglib prefix='tiles' uri='struts-tiles'%>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    From my web.xml:
    <jsp-config>
         <taglib>
              <taglib-uri>struts-tiles</taglib-uri>
              <taglib-location>WEB-INF/struts-tiles.tld</taglib-location>
         </taglib>
    </jsp-config>
    Trace from server log:
    ####<Oct 6, 2009 3:20:46 PM EDT> <Error> <HTTP> <aixtd3> <appdev_cinciview_aixtd3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1254856846253> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@6fc66fc6 - appName: 'cinciview', name: 'cinciview.war', context-path: '/cinciview'] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/home-framed.jsp
    home-framed.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix='tiles' uri='struts-tiles'%>
    ^----^
    home-framed.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix='tiles' uri='struts-tiles'%>
    ^----^
         at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:298)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:165)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:145)
         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:251)
         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1144)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:880)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:793)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    This code works on WLS 10.0 MP 1 on Windows but not on AIX.
    I've tried the suggested fix to add a library reference in the weblogic xml without success.
    Has anyone discovered a fix for this yet?

  • Parsing of JSP File '/login.jsp' failed

    hai all,
    iam deploying application from wls7.0 to wls 8.1.when i call this through browser http:\\localhost:7001/dev
    .iam getting this error
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    /login.jsp(18): Error in using tag library uri='/WEB-INF/tlds/struts-bean.tld' prefix='bean': For tag 'cookie', cannot load extra info class 'org.apache.struts.taglib.bean.CookieTei'
    probably occurred due to an error in /login.jsp line 18:
    <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    thanks
    shyam

    Hi
    Can anybody solve this error

  • Parsing of JSP failed in WLS 8.1; useBean

              I'm receiving a message that says,
              Parsing of JSP file '/share/html4login.jsp' failed: /share/html4login.jsp (3)
              class 'String' could not be loaded.......
              Here is the line it identifies as being in error:
              <jsp:useBean id="returnUrl" scope="request" call="String"/>
              If I change it to the following it works,
              <jsp:useBean id="returnUrl" scope="request" call="java.lang.String"/>
              I'm not all that savvy with JSPs, but is this expected behavior??
              Thanks
              

    one option is to create a symbolic link called "applications" under your domain directory pointing to the directory under which the wars are kept.
    cheers !
    Dips

  • Relative Path for JSP Files

    I use Liferay Portal. It has a defined directory structure for all portlets and expects files to be in their proper locations. One of these is that it expects all .jsp files to be in the /webroot/html directory.
    The problem is that all references in the struts-config.xml to .jsp files are assumed to be relative to the /html directory. So if, for instance, I set the path as /test/test.jsp then Liferay looks for the file in /html/test/test.jsp. But NitroX requires the full path, including the /html.
    I've gotten this to work on another competing product - in that product I set the Web Root to be the /html directory and it works great. That product allows you to set the path of the struts-config.xml separately. Is there any way to do something similar with NitroX? I tried changing the webroot in the .m7project file manually but it doesn't like it. It seems to insist that the struts-config.xml file is in the webroot.
    Thanks.

    NitroX currently supports only a war directory structure. When a project is created, the Web Application Root directory is computed as the directory containing the WEB-INF folder (which should contain the web.xml file).
    All web app resources (JSP files, image, css files, etc) are expected to be under the Web Application Root directory (at any nested directory level).
    We will enhance this behavior in the future to support arbitrary directory structures.

  • Runtime parsing of policy.file - from source

    Hi All
    Decided to post here sinceI did not find any similar topic on forums and googling did not solve this.
    Is there any way to parse polic.file like input at runtime? PolicyTool. PolicyFile are classes that do that but:
    1. all methods are private so it does not give much place to have fun - cant make PolicyFile to read from StringReader for instance.
    2. they make immedaite changes to jvm wide Policy object ? without access to installed code sources.
    The question is is there a way to parse policy.file like data in a way that all goodies from PolicyFile are considered? - I mean keystore, principials, etc etc.
    Or is it perfectly legal to create CodeSource and permissions from what is passed and dont worry about location of keystore or verification of signature?

    You can work-around this by removing the language="java" altogether. The
              default is "java" and I don't expect anything else to be supported for a
              very long time to come!
              "kethidi" <[email protected]> wrote in message
              news:3d5bf557$[email protected]..
              > Parsing of JSP File '/jsp/default.jsp' failed:
              > /jsp/default.jsp(2): page directive language at /jsp/default.jsp:2
              previously defined at /jsp/CheckSession.jsp:1
              > probably occurred due to an error in /jsp/default.jsp line 2:
              > <%@ page language="java" import="com.pmi.mi.MIxmlbean"%>
              >
              >
              > I am getting this error, when I upgrade from weblogic5.1sp10 to
              weblogic7.0. The code is working fine when I use weblogic server 5.1 sp10.
              But it displayed the above error, when we convert to weblogc server 7.0.
              >
              > Thanks,
              > kethidi
              

  • Struts Support: "Cannot  parse the struts configuration file" when using the Struts Portlet Wizard

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

  • Recursive calls by JSP tag files fail to compile

    We're hitting an issue with recursive calls in JSP tag files. I found one unanswered post in the General forum - [Tag Files used recursivily throws exception|https://forums.oracle.com/forums/thread.jspa?threadID=853300] - and was wondering if anyone else has hit this or knows of any work-arounds/patches or knows how to raise suspected bugs with Oracle (when you don't have an official support relationship for WebLogic)?
    Example tag file - /WEB-INF/tags/recurse/hello.tag:
    <%@ tag body-content="empty" %>
    <%@ attribute name="name" required="true" type="java.lang.String"%>
    <%@ attribute name="depth" required="true" type="java.lang.Number"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="r" uri="/WEB-INF/tags/recurse/recurse.tld" %>
    <table border="1" cellpadding="3" cellspacing="3">
    <tr>
    <td>
    Hello ${name} [${depth}]
    </td>
    <c:if test="${depth > 1}">
    <td>
    <r:hello name="${name}" depth="${depth-1}"/>
    </td>
    </c:if>
    </tr>
    </table>
    Example tld file - /WEB-INF/tags/recurse/recurse.tld:
    <?xml version="1.0" encoding="UTF-8" ?>
    <taglib 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-jsptaglibrary_2_1.xsd"
    version="2.1">
    <description>Library with Recursive tag</description>
    <tlib-version>1.0</tlib-version>
    <shortname>r</shortname>
    <tag-file>
    <name>hello</name>
    <path>/WEB-INF/tags/recurse/hello.tag</path>
    </tag-file>
    </taglib>
    Example jsp file - /recurse/test.jsp:
    <%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="r" uri="/WEB-INF/tags/recurse/recurse.tld" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Recursive Tag-file Test</title>
    </head>
    <body>
    <c:set var="name" value="${pageContext.request.remoteUser}"/>
    <c:set var="depth" value="${5}"/>
    <p>Welcome ${name}, here are ${depth} greetings</p>
    <r:hello name="${name}" depth="${depth}"/>
    </body>
    </html>
    The expected result from this example would be to get nested 5 HTML tables.
    The current behaviour, is the following is shown on screen when loading the test.jsp:
    Compilation of JSP File '/recurse/test.jsp' failed:
    hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
                        <r:hello name="${name}" depth="${depth-1}"/>
    ^-----^
    hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
                        <r:hello name="${name}" depth="${depth-1}"/>
    ^-----^
    I believe the "JSP version conflicts with current tag" message is misleading (you also get the same error referring to the tag file's folder via a tagdir reference from the JSP and defining an 'implicit.tld' which declares version="2.1"). If you take the recursive <r:hello .../> call out of hello.tag the JSP and tag file compile and function fine. I tried the work around mentioned in the forum post mentioned above, taking the recursive call out, deploying, then putting the recursive tag call back in and just updating the tag file doesn't seem to work for me.
    Using "weblogic.appc" you get a few more messages, though the issue is the same - tag file doesn't compile:
    test.jsp:15:6: The tag handler class was not found "jsp_servlet._tags._recurse.__hello_tag".
    <r:hello name="${name}" depth="${depth}"/>
    ^-----^
    test.jsp:15:14: This attribute is not recognized.
    <r:hello name="${name}" depth="${depth}"/>
    ^--^
    test.jsp:15:29: This attribute is not recognized.
    <r:hello name="${name}" depth="${depth}"/>
    ^---^
    hello.tag:15:6: The tag handler class was not found "jsp_servlet._tags._recurse.__hello_tag".
    <r:hello name="${name}" depth="${depth-1}"/>
    ^-----^
    hello.tag:15:6: Current file's JSP version conflicts with current tag "r:hello"'s.
    <r:hello name="${name}" depth="${depth-1}"/>
    ^-----^
    Happy to send this example as an ear/war for anyone that's interested.
    At this stage, WebLogic seems to be the only servlet container with this limitation.
    This has been tested with WebLogic 10.3.3.0 and 12.1.1.0.
    The context for this is that the issue is present in a (larger) enterprise application. The above simple example with recursive tags is what we have isolated as the problem.
    Although I/we may not have a support relationship for WebLogic, our clients will, so if the solution is apply an already existing patch that solution would be acceptable.

    Somethings definitely wrong with your gcc installation.
    Which gcc are you using. What output do you get from "which gcc".
    Solaris 10 ships with a gcc in /usr/sfw/bin.
    If your using a 3rd party gcc try changing your path to put /usr/sfw/bin before whereever the 3rd party gcc lives. Or just uninstall it.

  • How to do handle multiple JSP file in one portlet?

    Hi...
    I studied the JPDK for multipage..
    What the example do, is just link from page 1 to page 2.
    What i want to do is..
    I have a jsp called infoForm.jsp as a portlet.
    When i clicked submit button, a second page (getForm.jsp) will grab the data and will process it and send the result back to the infoForm.jsp.
    Can anybody help me on this?
    Thanks..

    Akshay,
    If am not wrong, you are trying to upload files using your portlet. Then you expect the content from the uploaded file should be available at the provider midtier to your portlet JSPs. There are certain issues wrt file upload using a web provider.
    Since, the PPE & JPDK communicate using SOAP over HTTP/S, they cannot handle the requests where content type is multipart, as is the case with file uploads. Hence the solution to this is to upload that file in the Portal content area & not to bring it to the provider midtier. There was a DB portlet available on Knowledge Exchange that could do this. So please visit Knowledge Exchange & search for the DB portlet for file upload.
    If there is anything else that you desire, please let me know.
    Regards,
    Abhinav

  • Attempt to process file failed with Exception in XML Parser-format problem

    Hi all,
    Iam getting an unusual error in the J2EE stack in XI.
    And the message is:
    006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)' 2006-11-30 17:31:07 Error Exception caught by adapter framework: null 2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    My scenerio iam posting IDOC to a flat file with content conversion in the receiver side,the mapping got executed successfully and in the audit log i found that the error was after the 'Start converting XML document content to plain text'.
    This means that error occured during content conversion of XML to the prescribed file format.
    Can anyone suggest any better approach using which we may trace the junk data in IDoc. Manual adhoc approach could take time and is error prone.
    Thanks in advance...
    karun

    Hi Bhavesh,
    Thanks for the early reply. I checked the mapping and everything is fine and the output is also in valid XML format.
    The audit log shows that the mapping got executed successfully and the error is after the step 'Start converting XML document content to plain text '. Is there any constraint in the file adapter regarding the message size for parsing.
    2006-11-30 17:30:50 Success Transfer: "BIN" mode, size 2912595 bytes, character encoding -
    2006-11-30 17:30:50 Success Start converting XML document content to plain text
    2006-11-30 17:31:07 Error Attempt to process file failed with Exception in XML Parser (format problem?):'com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)(:main:, row=1, col=1044002) -> com.sap.engine.lib.xml.parser.ParserException: Invalid char #0xf(:main:, row:1, col:1044002)'
    2006-11-30 17:31:07 Error Exception caught by adapter framework: null
    2006-11-30 17:31:07 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
    2006-11-30 17:31:07 Success The asynchronous message was successfully scheduled to be delivered at Thu Nov 30 17:36:07 GMT 2006.
    2006-11-30 17:31:07 Success The message status set to WAIT.
    2006-11-30 17:31:08 Success Acknowledgement creation triggered for type: SystemErrorAck
    2006-11-30 17:31:08 Success Acknowledgement sent successfully for type: SystemErrorAck
    2006-11-30 17:36:08 Success Retrying to deliver message to the application. Retry: 1

  • How to publish a Jsp file as a Portlet

    Hello,
    I am using the Oracle Portal to develop a business system, and I have created a Jsp file with the report builder. I have the Jsp file, I have created the provider.xml and configured the zone.properties on the 9iAS.
    The problem is that; when I try it on the Portal, it does not appear to publish as a portlet. Do I have to make some configurations before?What is missing to work properly?
    I heard something about virtual path, or something like that. Is there anything with it?I also heard about repositories. Do I have to create one?And how?
    thanks...

    hi,
    I'm sure if you'd followed the steps in that document, there should not any problem. Were you able to view the 'Test Page' ? If no, whats the error message you are getting in jserv.log file ?
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Object Expected error in Struts JSP file

    Hi,
    I have a very simple JSP file as shown below.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <html>
    <head>
    <title>pqGlobalStoreProfile.jsp</title>
    </head>
    <body onLoad="getSessionData();disableFieldsLocale();">
    <html:form action="/pqGlobalStoreProfile.do">
    <table cellpadding=5 cellspacing=0>
         <tr><td colspan=2><h3><b>Pq Global Store/Modify Profile</b></h3></td></tr>
         <tr><td>Profile Key *</td><td><html:text property="profileKey"/></td></tr>
    </table>
    </html:form>
    </body>
    </html>
    It is throwing an "Object Expected' error at Line 9 Char 1.
    I am not sure about what is causing this error.
    Thanks.

    it's a Javascript error, cuz it's calling these 2 methods when the page loads...
    onLoad="getSessionData();disableFieldsLocale();"
    Where are these methods defined? Cuz I don't see any inline Javascript, nor a linked script.
    I hope you don't think that those onload functions are going to call Java code defined in the JSP page or something, cuz... well, they aren't.

  • DBA studio: Error add/connect database "Failed to parse tnsnames.ora file"

    I have Oracle (version 8.1.7) installed in my XP machine and when I try to (having chosen "Launch DBA Studio standalone") to open a connection I get:
    "Failed to parse tnsnames.ora file
    ERROR: 100 -- NLNV-NLNV String Format Error".
    Also got this when I tried to manually add a database to a tree.
    I can access the databases listed in my tnsnames.ora using SQL Plus with no error.
    This is my tnsnames.ora.
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora81\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.xx.yy.GE.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyMachine3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = buch3ora)
    (PRESENTATION = http://admin)
    EXTPROC_CONNECTION_DATA.xx.yy.GE.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    MyOra3.xx.yy.GE.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MyMachine3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ora3)
    OORCL.xx.yy.GE.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 3.4.55.66)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = oorcl))
    Does anybody have any idea what is wrong? Thanks a lot. Changsong

    Just found out this IS a string error in my Tnsname.ora. What i did is deleting all the entries in my tnsname.ora, and start adding each one back. I found one particular entry is responsible for the error. This is the old text
    serv32.xxx.ge.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = TCP)(PROTOCOL = TCP)(HOST = sevr32.xxy.ge.com)(PORT = 1521))
    (CONNECT_DATA = (SID = atmo32))
    just looking by itself I can't see anything wrong. I just formatted it a little, making it looked like the other one that is working
    serv32.xxx.ge.com =(DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS =
         (COMMUNITY = TCP)
         (PROTOCOL = TCP)
         (HOST = sevr32.xxy.ge.com)
         (PORT = 1521)))
         (CONNECT_DATA=
         (SID = atmo32)))
    and now it works fine. I Really can't tell the difference, except that some words were moved to the other line. What puzzled me is that the same old tnsname.ora worked in almost all the other circumstances, like sql plus, and other database enginee. But it is just not good enough for dba studio?
    I admit I probably should have used the network utility to add a connection to avoid this type of format error.
    Anyhow, I'm glad it is solved. by the way, the symjct.dll mentioned in the previous post should be symcjit.dll. I guess he mispelled the name. I renamed it to symcjit_old.dll and now the java error was gone. So that is another gain from this post. Thanks Joel for all the information.

Maybe you are looking for

  • Batch creation through ME21N, ME22N and MSC1N

    Hi All, Please note we are already using EXIT_SAPLV01Z_001, EXIT_SAPLV01Z_002, EXIT_SAPLV01Z_003, EXIT_SAPLCLFM_002, EXIT_SAPLV01Z_012, EXIT_SAPLV01Z_014 for Batch creation based on different logics for Material type, Plant and PO doc type and curren

  • Changes are not saved in Exported file

    I am using the trial version of Lightroom 5. When I do a Lens Correction and then export the file, the new file is the same as the original before my corrections when I open it in Photoshop or another program. Help!

  • Powerbook 17" and 20" display

    Hi evevryone, I am thinking about buying the 20" display for an extended desktop for my powerbook 17", just wondered if there are any issues with this? i was using a sony sdm-hs95p and this is currently for sale on ebay but i figured i wanted a wide

  • Simple Question? What Code or Program Tells Time for Documents?

    I would like to know( for the sake of learning and teaching an old dog new tricks) what program or extension etc. tells the the computer what time it is in general (Menu Bar/System Preferences/this I know) and what date and _time_ is when you use Get

  • How to edit Summary of Contents?

    I would like to edit the Summary of Contents of files I review.  The comments are mostly Sticky Notes and Highlights.  I want an end result that has just the page number, bookmark and note with all of them on one page, rather than separate pages. Is