Problem while compiling JSP in FORTE

Hello Friends,
I am using Fore for Java 4 Community Edition, I have created a web module. I am using internal tomcat 4.0 server. When I request for a JSP which has a bean or a class file stored in the WEB-INF\classes folder either using useBean tag or if try to create an object of that class, I get compilation error as forte is not including those classes in its classpath. But when I deploy the same application on external tomcat, it works fine. Even after I mount the classes folder in the project, it doesn't solve the purpose. Please help me to get rid of this problem. My directory structure is as follows.
root - jsp and html files
root\WEB-INF\web.xml
root\WEB-INF\classes - all class files
root\WEB-INF\lib - lib jars

I am also working on Forte. Forte has an inbuilt Tomcat. You dont need to copy any files to any where in the file mount system. You need to specify the External / Internal Browser settings, So that when you try to execute it, the .jsp file can be displayed in the browser. I havent faced any problem as you said.
Uma
http://www.javagalaxy.com

Similar Messages

  • Running out of space while compiling JSPs

    Using WL7.0 on JDK1.3.1_06 on Solaris 8 we've run into an exception
    java.io.IOException: Not enough space(see below for full stack trace)
    while compiling JSPs. The problem is that we are running out of RAM
    because our WL7 process is quite large and when it tries to compile a
    JSP it forks itself which creates another large process. On our test
    machines since there might be several running instances of WL this can
    lead to the problem below. The natural fix for this would be to (1)
    precompile all the JSPS, (2) increase the RAM on the machine(s) in
    question, or (3) somehow force weblogic not to fork when doing page
    compilations.
    (1) In production we precompile our pages by running the weblogic.jspc
    class using arguments like -k -compileAll -depend -webapp $BRAND -d
    $DEST.
    Unfortunately this doesn't compile all of the pages probably because
    it doesn't execute cleanly due to the fact that we have some includes
    that aren't proper stand-alone JSPS (I don't know how to fix this
    other than changing all of our includes to dynamic includes which is
    undesirable at runtime). Any ideas here?
    (2) increasing the RAM isn't practical for all places where this
    problem occurs, in some cases we have maxed out the RAM on the
    machines we have.
    (3) Does anyone know if it is possible to tell WL not to fork when
    doing a JSP page compilation?
    Full compiler error(s):
    java.io.IOException: Not enough space
         at java.lang.UNIXProcess.forkAndExec(Native Method)
         at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:546)
         at java.lang.Runtime.exec(Runtime.java:472)
         at java.lang.Runtime.exec(Runtime.java:438)
         at weblogic.utils.Executable.exec(Executable.java:208)
         at weblogic.utils.Executable.exec(Executable.java:133)
         at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:447)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
         at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
         at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    Thanks.
    Steven
    p.s. I did some searching on the forums before I posted this and was
    surprised that most of the posts on this subject were a) very old and
    b) didn't come to the conclusion that it was RAM space that the
    exception is referring to.

    As far as I remember, this error refers to the lack of swap space to
    fork the new process.
    In theory, you can specify compilerclass in weblogic.xml :
    weblogic-web-app
    jsp-descriptor
    param-name compilerclass
    param-value compilerclassname
    to compile in-process, but, for some reason, it doesn't work in 7.0
    (it did in 6.1 - probably a bug or something). When JSPServlet initializes
    in 7.0 it says:
    ... *.jsp: param compileCommand initialized to: compilerclassname>
    and forks javac anyway.
    Steven Samorodin <[email protected]> wrote:
    Using WL7.0 on JDK1.3.1_06 on Solaris 8 we've run into an exception
    java.io.IOException: Not enough space(see below for full stack trace)
    while compiling JSPs. The problem is that we are running out of RAM
    because our WL7 process is quite large and when it tries to compile a
    JSP it forks itself which creates another large process. On our test
    machines since there might be several running instances of WL this can
    lead to the problem below. The natural fix for this would be to (1)
    precompile all the JSPS, (2) increase the RAM on the machine(s) in
    question, or (3) somehow force weblogic not to fork when doing page
    compilations.
    (1) In production we precompile our pages by running the weblogic.jspc
    class using arguments like -k -compileAll -depend -webapp $BRAND -d
    $DEST.
    Unfortunately this doesn't compile all of the pages probably because
    it doesn't execute cleanly due to the fact that we have some includes
    that aren't proper stand-alone JSPS (I don't know how to fix this
    other than changing all of our includes to dynamic includes which is
    undesirable at runtime). Any ideas here?
    (2) increasing the RAM isn't practical for all places where this
    problem occurs, in some cases we have maxed out the RAM on the
    machines we have.
    (3) Does anyone know if it is possible to tell WL not to fork when
    doing a JSP page compilation?
    Full compiler error(s):
    java.io.IOException: Not enough space
         at java.lang.UNIXProcess.forkAndExec(Native Method)
         at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:546)
         at java.lang.Runtime.exec(Runtime.java:472)
         at java.lang.Runtime.exec(Runtime.java:438)
         at weblogic.utils.Executable.exec(Executable.java:208)
         at weblogic.utils.Executable.exec(Executable.java:133)
         at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:447)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
         at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
         at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    Thanks.
    Steven
    p.s. I did some searching on the forums before I posted this and was
    surprised that most of the posts on this subject were a) very old and
    b) didn't come to the conclusion that it was RAM space that the
    exception is referring to.--
    Dimitri

  • Problems placing compiled jsp in the right directory

    I have problems placing compiled jsp in the right directory.
              - My document root is weblogic/myserver/public_html
              - My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
              - My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
              - When weblogic compiles my jsp it places them in
              weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
              Now I want to compile ram1.jsp and place it in above directory. I tried the
              following but it does not place class correct.
              1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
              **** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
              2: java weblogic.jspc -d
              C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
              C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
              ass
              What am I doing wrong ?
              cheers Per
              

              I would try this...
              cd public_html
              java weblogic.jspc -prefix compiled_jsp ram/jsp/ram1.jsp
              I'm not sure if -prefix is the exact option - something like that - maybe package_prefix.
              As always, things work better/easier when you leave things at the default value
              (jsp_servlet).
              Mike
              "Per Lovdinger" <[email protected]> wrote:
              >I have problems placing compiled jsp in the right directory.
              >
              >- My document root is weblogic/myserver/public_html
              >- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
              >- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
              >
              >- When weblogic compiles my jsp it places them in
              >weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
              >
              >Now I want to compile ram1.jsp and place it in above directory. I tried
              >the
              >following but it does not place class correct.
              >
              >1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
              >**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
              >
              >2: java weblogic.jspc -d
              >C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
              >****
              >C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
              >ass
              >
              >What am I doing wrong ?
              >
              >cheers Per
              >
              >
              

  • Problem while compiling the Device Driver source code onSolaris 8 intel pla

    Hello!
    We are writing Device Driver for PCI (PMC) based HS serial
    communication card on Solaris 8(intel edition).The Processor
    used is Celeron/Pentium III.
    We are facing following problems.
    1) Kindly let us know the cc compiler options for xarch=isa.
    2) Presently we have included following header files.
         #include <sys/ddi.h>
         #include <sys/sunddi.h>
    3)We tried to compile our driver soure file (pmc.c) using
    FORTE DEVELOPER 6 UPDATE 1 with the following command.
         # cc -Xa -D_KERNEL -c pmc.c
    4) The compiler is not able to reach to our source code. It prematurely fails
    while compiling the system header files
    5) The errors were reported during Preprocessor
    compilation in /SYS/*.h header files.
    cc: Warning: using -Xa, ignoring all other -X options
    "/usr/include/iso/limits_iso.h", line 54: warning: macro redefined: SHRT_MIN
    "/usr/include/iso/limits_iso.h", line 56: warning: macro redefined: USHRT_MAX
    "/usr/include/iso/limits_iso.h", line 59: warning: macro redefined: UINT_MAX
    "/usr/include/sys/vnode.h", line 486: syntax error before or at: rlim64_t
    "/usr/include/sys/vnode.h", line 486: warning: undefined or missing type for: rlim64_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: cred_t
    "/usr/include/sys/vnode.h", line 487: warning: undefined or missing type for: ssize_t
    "/usr/include/vm/page.h", line 468: undefined or not a type: pgcnt_t
    6)Kindly let us know :-
    a) if any Environment variables to be set.
    b) What all the system include headre files are required & in what sequence if any.
    Expecting a early reply .
    Can anybody help us.
    Thanking you for your kind co-operation.
    A.P.SINGH
    INDIA               

    Try to use cc comiler from /opt/SUNWspro/bin/ like
    /opt/SUNWspro/bin/cc -Xa -D_KERNEL -c pmc.c

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              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.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

  • Server Crashes while compiling JSP

              Hi,
              I have a jsp (in a web app which i have deployed on WLS 7.0)and when i invoke
              it, the server crashes and i get the below mentioned error, somewhere i read this
              is a bug in jdk. I am using the jdk shipped with WLS 7.0. Could someone urgently
              help me in this regard... I am sure that there is no problem with my jsp as sometimes
              its successfully compiled .. but most of the times i get this error/excpetion:
              An unexpected exception has been detected in native code outside the VM.
              Unexpected Signal : 11 occurred at PC=0xc13f1090
              Function name=ZIP_Lock
              Library=/opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libzip.sl
              Current Java thread:
              "ExecuteThread: '6' for queue: 'default'" daemon prio=7 tid=0x0036a670 nid=18
              lwp_id=4647 runnable [0x6c2f9000..0x6c2f9490]
                   at java.util.zip.ZipFile.freeEntry(Native Method)
                   at java.util.zip.ZipFile.getEntry(Unknown Source)
                   at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:182)
                   at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:102)
                   at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
                   - locked <0x717f8900> (a java.util.Collections$SynchronizedList)
                   at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
                   - locked <0x71802ee0> (a java.util.Collections$SynchronizedList)
                   at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:45)
                   at weblogic.utils.classloaders.ChangeAwareClassLoader.upToDate(ChangeAwareClassLoader.java:112)
                   at weblogic.servlet.internal.ServletStubImpl.needToReload(ServletStubImpl.java:580)
                   at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:600)
                   - locked <0x7c56f360> (a weblogic.servlet.jsp.JspStub)
                   at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:155)
                   at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:451)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
                   at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
                   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
                   at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              Dynamic libraries:
              /opt/bea/jdk131_02/bin/../bin/PA_RISC2.0/native_threads/java
                   text:0x00001000-0x00006b2c data:0x00007000-0x00007344
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/server/libjvm.sl
                   text:0xc3c00000-0xc43d3000 data:0x7f709000-0x7f7bf000
              /usr/lib/libpthread.1
                   text:0xc0bb0000-0xc0bc5000 data:0x7f6ae000-0x7f6b1000
              /usr/lib/libm.2
                   text:0xc0230000-0xc0256000 data:0x7f6b1000-0x7f6b7000
              /usr/lib/libcl.2
                   text:0xc1080000-0xc112d000 data:0x7f6b8000-0x7f6fd000
              /usr/lib/libisamstub.1
                   text:0xc003f000-0xc0040000 data:0x7f6b7000-0x7f6b8000
              /usr/lib/libCsup.2
                   text:0xc0b10000-0xc0b2b000 data:0x7f6fd000-0x7f700000
              /usr/lib/librt.2
                   text:0xc022c000-0xc0230000 data:0x7f700000-0x7f701000
              /usr/lib/libc.2
                   text:0xc0100000-0xc022b000 data:0x7f7c0000-0x7f7d7000
              /usr/lib/libdld.2
                   text:0xc0002000-0xc0004000 data:0x7f7bf000-0x7f7c0000
              /opt/bea/jdk131_02/jre/lib/PA_RISC2.0/native_threads/libhpi.sl
                   text:0xc1310000-0xc1321000 data:0x7f6ad000-0x7f6ae000
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libverify.sl
                   text:0xc11f0000-0xc1200000 data:0x7f69b000-0x7f69c000
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libjava.sl
                   text:0xc13b0000-0xc13dc000 data:0x7f696000-0x7f69b000
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libzip.sl
                   text:0xc13e0000-0xc13f3000 data:0x7f694000-0x7f696000
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libnet.sl
                   text:0xc07c4000-0xc07cd000 data:0x7f406000-0x7f407000
              /usr/lib/libnss_dns.1
                   text:0xc00bc000-0xc00c0000 data:0x7f403000-0x7f404000
              /opt/bea/jdk131_02/bin/../jre/lib/PA_RISC2.0/libioser12.sl
                   text:0xc030c000-0xc0310000 data:0x7f402000-0x7f403000
              /usr/lib/libnss_nis.1
                   text:0xc0004000-0xc000a000 data:0x7f401000-0x7f402000
              /usr/lib/libnsl.1
                   text:0xc0040000-0xc00ba000 data:0x6a780000-0x6a844000
              /usr/lib/libxti.2
                   text:0xc00c0000-0xc00d5000 data:0x7d2e8000-0x7d2ed000
              /usr/lib/libnss_files.1
                   text:0xc0028000-0xc002f000 data:0x7f400000-0x7f401000
              /opt/bea/weblogic700/server/lib/hpux11/libmuxer.sl
                   text:0xc03ad000-0xc03b0000 data:0x7d2e7000-0x7d2e8000
              Local Time = Tue Feb 11 16:37:44 2003
              Elapsed Time = 405
              # The exception above was detected in native code outside the VM
              # Java VM: Java HotSpot(TM) Server VM (1.3.1 1.3.1.02-JPSE_1.3.1.02_20011206 PA2.0
              mixed mode)
              thanks in advace
              Manoj
              

    Your original post mentions issues with jsp:useBean and jsp:setProperty, now you're talking about tag libraries and directives. Can you be more specific about what you're trying to do? Are you having problems getting JDev to recognize a tag library or are you having problems with the tag library when running the app? What directive are you trying to use that causes the termination error?

  • K9copy - kdelibs problem while compiling

    hello!
    got the PKGBUILD from the aur.
    http://aur.archlinux.org/packages/k9cop … y/PKGBUILD
    while compiling i had this problem:
    checking if UIC has KDE plugins available... no
    configure: error: you need to install kdelibs first.
    make: *** No targets specified and no makefile found. Stop.
    i have installed all depencies of k9copy (newest versions)!
    anyone has an idea?
    thx for any help!

    user5606182 wrote:
    How to identify which is causing?
    Login as DMTAPPS and issue
    SELECT  *
      FROM  USER_ERRORS
      WHERE NAME = 'DMT_UTILITY_PKG';Or select from all_errors/dba_errors:
    SELECT  *
      FROM  USER_ERRORS
      WHERE OWNER = 'DMTAPPS'
        AND NAME = 'DMT_UTILITY_PKG';SY.

  • Problem while creatin jsp portlet

    hello all,
    i get an error "500 internal server error" while creating jsp portlet. i do not write any thing in view.jsp page.
    can any body tell me what is wrong with it? i am using oracle jdeveloper 10g (version 10.1.2.0.0).
    thanks in advance

    Hi Arshita,
    This issue is corrected. You should make a search in SAP Marketplace. There is a note to correct that issue.
    I cannot search from my place (mobile handy device) but you should be able to find it easily in LO-MD-BP-CM or FI-AP* or FI-AR* + TMOD* or the error number.
    The note is quite recent. Probably less than 6 months.
    reward points if helpful.
    BR

  • Problem in compiling jsp file

    Hi,
    i am using tomcat 4.12 and jdk 1.4.
    My login page contains 3 frames. after succesful login into ur application, 7 frames are getting called.
    i have called a jsp page for each frame.
    sometimes while accessing my application, i am getting jasper exception like cannot resolve symbol....
    for example
    D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\sample\web\helpdesklogin_jsp.java:404: cannot resolve symbol
    symbol : method --ite  (java.lang.String)
    location: class javax.servlet.jsp.JspWriter
    out.write("<tr bgcolor=\"ffffff\">\r\n ");
    i do not understand the what is the problem here....
    likewise i am getting jasper exception. but it is not frequently occured in the frame.
    is there any relation with autoflush page directive attribute...?
    if it then should i increase default buffer size ?
    Reply please
    Thanks

    Your helpdesklogin.jsp file has a compilation error. It's hard to tell, but it looks like you mis-typed out.write() somewhere.
    - Saish

  • Problem while compiling 'dll' files in Form Server..Urgent

    Hi!
    I'm trying to compile the library(dll) in form server and getting a message that "can not open that file".At the same time able to compile 'fmb' files which is in the same directory.
    Could you please help me?
    Thank you,
    Denish

    I am also working on Forte. Forte has an inbuilt Tomcat. You dont need to copy any files to any where in the file mount system. You need to specify the External / Internal Browser settings, So that when you try to execute it, the .jsp file can be displayed in the browser. I havent faced any problem as you said.
    Uma
    http://www.javagalaxy.com

  • Can't compile JSPs with Forte 4

    I upgraded to forte 4 CE. Now I cannot compile my JSP's because they are not finding my class files.
    They all worked in Forte 3 ce.
    If I have class MyClass()
    and try to create an instance in my JSP
    MyClass mc = new MyClass()
    It gives the 'cannot resolve symbol' error on MyClass object.
    What happened? I haven't changed anything. I have about 10 jsps and a bunch of Classes that all worked and now don't.
    I checked the product support for Forte and couldn't find anything.
    If anybody else had this problem and figured it out please post your solution.
    Thanks.
    -chiranjp

    i am having the same problem using my "homemade" class with forte.
    I have all of the .java and .class files and even have a .jar file but it still cannot find them
    could you please give me more details on how you reached your solution?
    where did you place the files so that forte found them?
    any and all help is greatly appreciated.
    thanks
    -j

  • Weblogic.jspc outofmemory error while compiling jsps using ant in eclipse

    Hi all,
    I am trying to execute this target in my ant build:
         <target name="jspc">
              <java classname="weblogic.jspc" fork="yes">
                   <arg line="-verbose -verboseJavac -compileAll -webapp ${project.jsp.dir} -d ${project.jsp.class.dir}" />
                   <classpath>
                        <pathelement path="${classpath}" />
                   </classpath>
         </java>
         </target>
    I am getting the following error:
    [java] Error: [jspc]: 0 file(s) failed:
    [java] [Compilation errors : ]
    [java] The system is out of resources.
    [java] Consult the following stack trace for details.
    [java] java.lang.OutOfMemoryError
    [java] at weblogic.jspc.doCompile(jspc.java:861)
    [java] at weblogic.jspc.runJspc(jspc.java:654)
    [java] at weblogic.jspc.runBodyInternal(jspc.java:412)
    [java] at weblogic.jspc.runBody(jspc.java:319)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
    I am using weblogic 8.1, eclipse3.1, java1.4.1.
    Can some one please help me with this issue?
    thanks in advance.

    --> some error on posting please refer to the next post...
    From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
    <!--
    <assemble
    moduleDir="${generated.module.root}"
    moduleName="${project.name}"
    srcOutputDir="${assembly.src}"
    appRootDir="${ear.root}">
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
    <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
    <classpath refid="assembly.classpath" />
    <fileset dir="${project.dir}">
    <include name="**/*.controls.properties" />
    </fileset>
    </assemble>
         -->
    Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
    Thanks
    -MiM
    Edited by prodigymonish83 at 10/22/2007 5:56 AM

  • Problem in compiling JSP(JSPG0059E)

    Hi
    I have 2 JSPs navleft.jsp and navSupplier.JSP
    In my navLeft scrpitlet I have
    boolean disputeSubLinks = PppNavigator.openDisputeSubLinks(amtAction);
    and in navSupplier.JSP i use this value
    <% if (disputeSubLinks) { %>
    <%@ include file="navSupplierDisputeSubLinks.jsp" %>
    <% } %>
    the problem is quite crazy if the D in disputeSubLinks is in caps it compiles and if I make it small at both places it throws an exception
    Kindly can anybody help??
    I am putting the stack trace here:
    Error Message: JSPG0059E: Unable to compile class for JSP
    Error Code: 500
    Target Servlet: null
    Error Stack:
    java.lang.NumberFormatException: H
    at java.lang.Integer.parseInt(Integer.java:406)
    at java.lang.Integer.parseInt(Integer.java:455)
    at org.apache.jasper.compiler.Compiler.getJspLineErrors(Compiler.java:472)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:313)
    at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:697)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:244)
    at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:261)
    at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:430)
    at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:565)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
    at financing.framework.controller.MainServlet.service(MainServlet.java:66)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
    at com.ibm.servlet.engine.webapp.InvokerServlet.service(InvokerServlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
    at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)

    Hi
    I found something vague tell me if i am correct??
    The problem in my .java of the JSP was that I had missed changing the name of the variable at one place and my javac gives an error something like this.
    test.java:5: cannot resolve symbol
    symbol : variable i
    location: class test
    i=4;
    ^
    1 error
    I think the jasper compiler tries to get the line numbers in the errors given by javac to map it to appropriate line numbers in .jsp file.This line number is found betn 2 colons(eg 5 above).But this missing variable causes 2 more lines to be printed with colons.Can it be the problem??
    Thanks

  • Problem in compiling JSP page in OC4J 10.1.3.0.0

    Dear all,
    I started the ocj4 container that came with Jdeveloper. After starting the ocj4 server, I try to test it with the Servlet and JSP example. The Servlet Example work fine but I encounter the following error when I run the JSP example.
    2006-01-12 11:08:39.379 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page :Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\Program Files\Oracle\j2ee\home\application-deployments\default\defaultWebApp\persist
    ence\_pages\_examples\_jsp\_jsp2\_el\_basic_2d_arithmetic_2e_jsp.java</H3><pre><
    /pre>
    I think this should be a setup problem, please kndly advise.

    After reading the theads in the forum, I am able to get the jsp running by using full path to specify the java executable.
    e.g. C:\Program Files\Java\jdk1.5.0_02\bin\java -jar oc4j.jar
    This should be a path problem. After I set the path variable correctly
    i.e. add C:\Program Files\Java\jdk1.5.0_<version>\bin to PATH environment variable. It work fine. I hope this help the newbie like me. :D
    Indeed, I wonder why we need two jdk for the oc4j. Follow the instruction, I need to install a jdk. However, I find there is another jdk under $ORACLE_HOME\jdk. This is make the situation confusing and saw quite a lot of threads are related to this problem long time ago!

  • Database DNS problem while uploading jsp's

    We create DNS while working with localhost on winodws machine but when we upload the jsp's and database then how do we manage the DNS problem do we have to create the DNS there too or there is some other way out

    Sorry for spelling mistake actually it was DSN data source that had been asked

Maybe you are looking for

  • Running a j2ee application

    I deployed a j2ee application. and when i tried to run it with localhost:8080/contextroot., it asks me for user name and password. I am running it on windows XP. can anybody please help me?

  • Reservations not showing in MD04

    Hello, I have three reservations with movement type Transfer within plant 311 which is transferring stock from storage location A to B. These three reservations do not show up in MD04 stock requirements screen but show up in Transaction MB25(Reservat

  • AP. Adjusting Selected Invoices for Manual Payments

    Hi We have the problem when Adjusting Selected Invoices for Manual Payments: The system does not prevent user from the adjusting invoices on cleared payments, though in Oracle Payables User Guid is said: "You cannot adjust invoices on a cleared payme

  • Error Loading Material Master Data

    Hi All, When I try to load ZMATERIAL in BW development. I am getting the below error. I am on BI 7.0. seems like bad data, but how to fix it?? any thoughts?? in the details TAB of the monitor, I  get a red error message under 'Transfer (IDocs and TRF

  • Radius & wireless & IP address

    Hello, I''d like to use a Radius to dynamically authenticate wireless users, but I'd know if it's possible to assign dinamically address to the wireless port, when accesing to the RADIUS, or validaing it to avoid wireless clients of changing their IP