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
          

Similar Messages

  • 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

  • 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

  • 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
              

  • 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

  • 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.

  • How to parse jsp file

    What is the way to prase a JSP file which is in the local drive using a parser inorder to extract some information?.
    For example :
    <%@ page info=" hello world " %>
    <html>
    <head><title>Hello, World</title></head>
    <body bgcolor="blue" >
    <%@ include file="index.html" %>
    <table>
    <tr>
    <td width=150> </td>
    <td width=250 align=right> <h1>Hello, World!</h1> </td>
    </tr>
    </table>
    </body>
    </html>
    What i want to do is to print the "title" of the page and the "file" which is in the tag <%@ include file="index.html" %>.
    Thank you in advance.

    A JSP file is run, not parsed.Ususally a servlet source is generated from the jsp file, it is compiled, and run. Now in order to turn the jsp file into a servlet (code), it has to be (at least partially) parsed first.

  • Error(12,61): Parse of component type files failed,

    I got this error when i wanted to deploy CreditCardValidation
    Error(12,61): Parse of component type files failed, check the adf-config.xml file : "java.lang.reflect.InvocationTargetException"
    how i can resolve this.

    Make sure CreditCardValidation was created using TP3 update 1. You can't deploy an earlier version.
    Heidi.

  • Error(12,61): Parse of component type files failed, check the adf-config

    I got this error when i wanted to deploy CreditCardValidation
    Error(12,61): Parse of component type files failed, check the adf-config.xml file : "java.lang.reflect.InvocationTargetException"

    I got this error when i wanted to deploy CreditCardValidation
    Error(12,61): Parse of component type files failed, check the adf-config.xml file : "java.lang.reflect.InvocationTargetException"

  • Need Jsp file to parse xml dom file

    Hai SDN member,
    I am new to jsp. I am having one xml dom file with follwing content,
    My XMLDOM file
    <root>
    <dir>
    <dirname>Mydir1</dirname>
    <file>
    <filename>f1</filename>
    </file>
    <file>
    <filename>f2</filename>
    </file>
    <dir>
    <dirname>mydir2</dirname>
    <file>
    <filename>f1</filename>
    </file>
    </dir>
    </dir>
    </root>
    This is my XML dom file. I need a sample jsp file which shoule parse the above content.
    Pls help me

    JSTL has an <x:parse> element, doesn't it? At any rate "I need JSP code" sounds very much like a JSP question to me. There's a JSP forum.

  • 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.

  • EL fails in my JSP-files

    Hello,
    today i installed JSTL 1.1 using Tomcat 5.0.25 and J2SDK1.4.2_03. I noticed, that the EL-expressions are only evaluated, if the jsp-files are located in the root-directory of my web-application. My usual location for jsp-files is /WEB-INF/jsp instead. If the jsp-files are located there, the expressions are not evaluated.
    Is it a bug, a feature or a configuration problem?
    Below my minimal example:
    test.jsp:
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <html>
      <head>
        <title>Test</title>
      </head>
      <body>
        <c:out value="${1+1}" />
      </body>
    </html>web.xml:
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
      <description>TestApp</description>
        <servlet>
          <servlet-name>TEST</servlet-name>
          <display-name>TEST</display-name>
          <jsp-file>/WEB-INF/jsp/test.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
          <servlet-name>TEST</servlet-name>
          <url-pattern>/run</url-pattern>
        </servlet-mapping>
    </web-app>The URL to test.jsp is http://localhost:8080/testapp/runMoving test.jsp from TOMCAT_HOME/webapps/testapp/WEB-INF/jsp to TOMCAT_HOME/webapps/testapp and calling http://localhost:8080/testapp/test.jsp works just fine instead.
    Does anyone know, what's going wrong?
    Thank you in advance,
    Tobi :-)

    I haven't seen that before, but perhaps the difference is the web.xml DTD. Try using the newest version,
    so that your web.xml looks like this:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
            http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
            version="2.4">
      <description>TestApp</description>
        <servlet>
          <servlet-name>TEST</servlet-name>
          <display-name>TEST</display-name>
          <jsp-file>/WEB-INF/jsp/test.jsp</jsp-file>
        </servlet>
        <servlet-mapping>
          <servlet-name>TEST</servlet-name>
          <url-pattern>/run</url-pattern>
        </servlet-mapping>
    </web-app>

Maybe you are looking for

  • Error when creating a bookmark in a new folder - defaults to main folder for that group

    When I want to create a new bookmark sub-folder (for example, I have a "Photography" folder and I want to save a URL to a new folder under that category called "Cameras"), I click the "New Folder" button, and it somehow changes the name of main folde

  • Webdav with client ssl certificate

    I have created one webdav enable site in apple mac mini server using apache. The webdav site is secured with https as well as client certificate. While browsing the website using safari/IE everything is working fine,but with ipad's webdav utility it

  • Network diagnostics - can't connect through Ethernet...ps3 and old iMac work but I can't get this macBook online...help!?!!

    Having a problem out of nowhere really getting this MacBook back online through Ethernet.....it's not the modem because my old computer gets online as well as the ps3.....I think it has something to do in network diagnostics but I can't get it. Thank

  • Dynamically updating XML

    Does anyone have any recommendations for the best way to dynamically add new content to an xml file? I have tried to write to the file from a php form using fwrite, but encountered a snag when trying to get the php page to write the new xml to the se

  • Bindings Progmatically

    Is there a way to mess with a bound field (using bindings and an array controller) from your code? Currently I have an NSTableView getting its data and storing its data in a binding to an NSArrayController. This specific controller's entity is a subc