Error Compiling JSP
I am running a custum OA page and forward it to a jsp page. I got all the jtf class and jsp files in my directory, Also added jtf/jar to my additional classpath project settings ,but gives me the following error:
Errors compiling:C:\JdevIDE\jdevhome\jdev\myclasses\.jsps\\_jtfacerr.java
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
method getExceptionStackTrace(java.lang.Throwable) not found in class oracle.apps.jtf.admin.adminconsole.HtmlWriter
Where as this method is sitting in the right directory. Do I need to setup OJSPCOMPILE utility and/or apply Patch 2886919 "Precompiler for JSP Pages"
any suggestions please.Thanks
I did as you suggested. but same error pops up.
On my OAF page , I have submit button, which calls a CO and there I am forwarding the control to a jsp page which has some includes:
example-
<%@include file="jtfincl.jsp" %>
"hello jsp"
If I remove the include , I get hello jsp printed on the page.
I went through 'Launching a JTT Page from an OA Framework Application'
but did not get any clue how to implement it in my custom application.
would JTF files go under jdev/myhtml/OA_HTML ?
I have put all the classes under oracle/apps/jtf
Any reference to how to set the classpath for jtf files, in OA would be a great help.
Thanks
Similar Messages
-
hello
I am getting the above error when I try to start the Web Services Navigator in my J2EE engine of Solution Manager 4.0 system.
I am on NW 7.0 Java Components SP10.
The full error message is:
500 Internal Server Error
com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
Error compiling [/jsps/explorer/enterwsdl_main.jsp] of alias [wsnavigator] of J2EE application
Can anyone help me out please? Or is it a case of just applying the latest SP?
Many Thanks
SteveI have had a suggestion that I need to make sure that tools.jar is in the classpath for Tomcat. How can you get the value of variables Tomcat is using such as its CLASSPATH or JAVA_HOME ? Where are these set ? I assume that there must be a config file someplace...
Thanks in advance for any suggestions,
-James -
Please help.
I have downloaded the J2EE package - Server, Tutorial, etc. I am trying to get a BASIC jsp page with a single class to compile, but haven't had any luck.
Server error message is:
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:348)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:424)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
etc, etc, etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Server log shows:
[#|2004-04-20T15:13:27.286-0500|SEVERE|j2ee-appserver1.4|org.apache.jasper.compiler.Compiler|_ThreadID=12;|Env: Compile: javaFileName=/C:/Sun/AppServer/domains/domain1/generated/jsp/j2ee-modules/default-web-module-server//org/apache/jsp/ch06\ch06_jsp.java
classpath=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server;/C:/Sun/AppServer/lib/install/applications/__xa/
cp=C:\Sun\AppServer\lib\commons-launcher.jar;C:\Sun\AppServer\jdk\lib\tools.jar;C:\Sun\AppServer\lib\admin-cli.jar;C:\Sun\AppServer\lib\appserv-admin.jar;C:\Sun\AppServer\lib\appserv-upgrade.jar;C:\Sun\AppServer\lib\appserv-ext.jar;C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\lib\appserv-cmp.jar;C:\Sun\AppServer\lib\appserv-jstl.jar;C:\Sun\AppServer\lib\j2ee-svc.jar;C:\Sun\AppServer\lib\commons-logging.jar;C:\Sun\AppServer\lib\activation.jar;C:\Sun\AppServer\lib\mail.jar;C:\Sun\AppServer\lib\jaxr-api.jar;C:\Sun\AppServer\lib\jaxr-impl.jar;C:\Sun\AppServer\lib\jax-qname.jar;C:\Sun\AppServer\lib\jaxrpc-api.jar;C:\Sun\AppServer\lib\jaxrpc-impl.jar;C:\Sun\AppServer\lib\relaxngDatatype.jar;C:\Sun\AppServer\lib\xsdlib.jar;C:\Sun\AppServer\lib\saaj-api.jar;C:\Sun\AppServer\lib\saaj-impl.jar;C:\Sun\AppServer\lib\appserv-rt.jar;C:\Sun\AppServer\lib\tools.jar;C:\Sun\AppServer\jdk/lib/tools.jar;C:\Sun\AppServer/lib/install/applications/jmsra/imqjmsra.jar;C:\Sun\AppServer\imq\lib/imq.jar;C:\Sun\AppServer\imq\lib/jaxm-api.jar;C:\Sun\AppServer\imq\lib/imqadmin.jar;C:\Sun\AppServer\imq\lib/imqutil.jar;C:\Sun\AppServer\imq\lib/fscontext.jar;C:\Sun\AppServer\imq\lib/providerutil.jar;C:\Sun\AppServer/lib/ant/lib/ant.jar;C:\Sun\AppServer/pointbase/lib/pbclient.jar;C:\Sun\AppServer/pointbase/lib/pbembedded.jar
cp=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
cp=C:\Sun\AppServer\lib\install\applications\__xa
extension dir=C:\Sun\AppServer\jdk/jre/lib/ext;C:\Sun\AppServer\domains\domain1/lib/ext
work dir=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
srcDir=C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server
include=org/apache/jsp/ch06/ch06_jsp.java
|#]
[#|2004-04-20T15:13:27.286-0500|SEVERE|j2ee-appserver1.4|org.apache.jasper.compiler.Compiler|_ThreadID=12;|Error compiling file: /C:/Sun/AppServer/domains/domain1/generated/jsp/j2ee-modules/default-web-module-server//org/apache/jsp/ch06\ch06_jsp.java [javac] Compiling 1 source file
[javac] C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\default-web-module-server\org\apache\jsp\ch06\ch06_jsp.java:6: package ch06a does not exist
[javac] import ch06a.ch06class; I have also tried "import ch06a.*" with the same results.
[javac] ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Autoexec.bat reads:
SET PATH=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;c:\Sun\AppServer\share\bin;c:\Sun\AppServer\jdk\jre\bin;
SET JAVA_HOME=c:\Sun\AppServer\jdk;
SET J2EE_HOME=C:\Sun\AppServer;
SET CLASSPATH=C:\Sun\AppServer\lib\j2ee.jar;c:\Sun\AppServer\jdk\lib\tools.jar;c:\Sun\AppServer\domains\domain1\lib\classes;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am developing the jsp in c:\Sun\AppServer\domains\domain1\docroot\ch06 (I know that I shouldn't, but I am trying anything at this point).
ch06 structure is
|-WEB-INF
|-classes
| |-ch06a
| |-ch06class.class
|-lib
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ch06.jsp:
<%@ page import="ch06a.*" %>
<HTML>
</HEAD>
<TITLE>Using a JavaBean</TITLE>
<HEAD>
<BODY>
<H3>Using a JavaBean</H3>
<% ch06class messager = new ch06class(); %>
The message is: <%= messager.msg() %>
</BODY>
</HTML>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ch06class.java:
package ch06a;
public class ch06class{
public ch06class(){
public String msg(){
return "Hello from JSP!";
Please let me know if I can supply anymore information.
ThanksMake sure have the latest version of the application server. The previous release had a bug as described in this thread:
http://forum.java.sun.com/thread.jsp?forum=136&thread=473280
Here is a reply from that thread from one of the Web container engineers:
The error message about the missing Java compiler is misleading, and is being caused by a bug in the way compilation error messages are being propagated.
This problem has been fixed in the latest Appserver 8.0 PE release.
I think your JSP fails to compile because of an error in your JSP. Your appserver log should contain the real compilation error. Can you check?
BTW, the date example describe in this chapter does contain a class file:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro2.html#wp84418 -
I am new to developing jsp pages. I have created a jsp that pulls data from an HTML form and inputs that data into an ACCESS database. I am storing the variables representing the columns of the table in a Bean. I am successful in compiling the bean, but when I try to compile the jsp page I am getting all kinds of errors that make me think the servlet cannot properly instantiate the bean.
<%@ page language="java" %>
<!--Importing the Packages-->
<%@ page import = "java.sql.*" %>
<%@ page import = "java.io.*" %>
<%@ page import="treesubmittal" %>
<HTML>
<HEAD>
<TITLE>OakMapper Tree Submittal</TITLE>
</HEAD>
<BODY BGCOLOR="BBE4C6" TEXT="0E351A">
I left out a bunch to save room-I did not think it was causing the errors.
</FORM>
</TD></TR></TABLE>
<%
//Creating Database Instanse
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc:odbc:http://hilda.espm.berkeley.edu/website/OakMapperResearch/plotsubmittal/SuddenOak.mdb","","");
//Creating the Connection Statement
Statement stmt = con.createStatement();
ResultSet recset = stmt.executeQuery("Select * From Treesubmittals where SubmissionID>0");
%>
<!.. Instantiate the treesubmittal bean with an id of "treesubmittal" ..>
<jsp:useBean id="treesubmittal" scope="session" class="treesubmittal" />
<!.. Set the values of the treesubmittal bean to the request values ..>
<jsp:setProperty name="treesubmittal" property="*" />
<%
if (strEmail !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + strEmail);
recset.GEOCODED="Pending";
recset.DATE_ENTER=Date;
if (strSpecies !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + strSpecies);
if (strOther_Tree !=""); {
statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + strOther_Tree);
if (strBackground !="") ;{
statement.executeUpdate("INSERT INTO Treesubmittal.BACKGROUND" + strBackground);
if (strBackgr !=""); {
statement.executeUpdate("INSERT INTO Treesubmittal.BACKGR" + strBackgr);
if (strSetting !=""); {
statement.executeUpdate("INSERT INTO Treesubmittal.SETTING" + strSetting);
if (strSettingoth !=""); {
statement.executeUpdate("INSERT INTO Treesubmittal.SETTINGOTH" + strSettingoth);
if (strDead_Leave !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.DEAD_LEAVE Yes");
if (strCrown_Disc !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.CROWN_DISC Yes");
if (strBark_Disco !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.BARK_DISCO Yes");
if (strBore_Holes !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.BORE_HOLES Yes");
if (strShoot_Dieb !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.SHOOT_DIEB Yes");
if (strBleeding !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.BLEEDING Yes");
if (strHypoxylon !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.HYPOXYLON Yes");
if (strFrass !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.FRASS Yes");
if (strAddress !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.ADDRESS" + strAddress);
if (strCity !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.CITY" + strCity);
if (strZipcode !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.ZIPCODE" + strZipcode);
if (strCounty !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.COUNTY" + strCounty);
if (strZone !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.ZONE" + strZone);
if (strY !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.Y" + strY);
if (strX !="") {
statement.executeUpdate("INSERT INTO Treesubmittal.X" + strX);
if (strDead_Leave !="") {
strDead_Leave1="Yes";
else{
strDead_Leave1="No";
if (strCrown_Disc !="") {
strCrown_Disc1="Yes";
else{
strCrown_Disc1="No";
if (strBark_Disco !="") {
strBark_Disco1="Yes";
else{
strBark_Disco1="No";
if (strBore_Holes !="") {
strBore_Holes1="Yes";
else{
strBore_Holes1="No";
if (strShoot_Dieb !="") {
strShoot_Dieb1="Yes";
else{
strShoot_Dieb1="No";
if (strBleeding !="") {
strBleeding1="Yes";
else{
strBleeding1="No";
if (strHypoxylon !="") {
strHypoxylon1="Yes";
else{
strHypoxylon1="No";
if (strFrass !="") {
strFrass1="Yes";
else{
strFrass1="No";
%>I am working in the Sun Studio 4 update 1 IDE and aside from the first error which makes me think the bean is not instantiated they are all the same error: cannot resolve symbol. Any help is most appreciated.
test$jsp.java [5:1] '.' expected
import treesubmittal;
^
test$jsp.java [403:1] illegal start of expression
public class treesubmittal {
^
test$jsp.java [403:1] ';' expected
public class treesubmittal {
^
test$jsp.java [797:1] cannot resolve symbol
symbol : variable strEmail
location: class org.apache.jsp.test$jsp
if (strEmail !="") {
^
test$jsp.java [799:1] cannot resolve symbol
symbol : variable strEmail
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + strEmail);
^
test$jsp.java [799:1] cannot resolve symbol
symbol : variable statement
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.EMAIL" + strEmail);
^
test$jsp.java [801:1] cannot resolve symbol
symbol : variable GEOCODED
location: interface java.sql.ResultSet
recset.GEOCODED="Pending";
^
test$jsp.java [802:1] cannot resolve symbol
symbol : variable DATE_ENTER
location: interface java.sql.ResultSet
recset.DATE_ENTER=Date;
^
test$jsp.java [802:1] cannot resolve symbol
symbol : variable Date
location: class org.apache.jsp.test$jsp
recset.DATE_ENTER=Date;
^
test$jsp.java [804:1] cannot resolve symbol
symbol : variable strSpecies
location: class org.apache.jsp.test$jsp
if (strSpecies !="") {
^
test$jsp.java [806:1] cannot resolve symbol
symbol : variable strSpecies
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + strSpecies);
^
test$jsp.java [806:1] cannot resolve symbol
symbol : variable statement
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.SPECIES" + strSpecies);
^
test$jsp.java [810:1] cannot resolve symbol
symbol : variable strOther_Tree
location: class org.apache.jsp.test$jsp
if (strOther_Tree !=""); {
^
test$jsp.java [812:1] cannot resolve symbol
symbol : variable strOther_Tree
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + strOther_Tree);
^
test$jsp.java [812:1] cannot resolve symbol
symbol : variable statement
location: class org.apache.jsp.test$jsp
statement.executeUpdate("INSERT INTO Treesubmittal.OTHER_TREE" + strOther_Tree);
^ -
"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 AMYes 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> -
Getting error in JSP at compile time:
Hello,
I am getting this error in JSP at compile time, have no idea whatd going wrong here..!! Everything in the code looks good.
Please help..!! The error is:
Error 500: Unable to compile class for JSP /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java:188: Type expected. } catch (Throwable t) { ^ 1 errorEverything looks good, but then you can never spot your own mistakes :-)
There are a couple of things.
1 - curly brackets in scriptlets. Make sure they are all opened and closed correctly.
2 - Custom tags (JSTL and the like) need to be closed. If it is a simple tag, have you forgotten the slash before the closing angle bracket? ie is it <c:out value="hello"> when it should be <c:out value="hello"/>
Take a look at the generated java code at /opt/WebSphere/AppServer/temp/jasi80corpgeNode/HRAppServer/Billinginterface/BillingInterfaceWEB.war/_select_5F_course.java, line 188
See if you can make any sense out of the java file generated from the jsp
If you want any more specific help than this, please post some jsp code :-)
If you don't want to do that, I would recommend commenting all the code out with <%-- --%>
get it to compile, and then uncomment a bit at a time
Good luck,
evnafets -
Hi,
I'm running 12.1.3 in virtualbox and the OAF toolbox tutorials work after logging onto EBS.
After installing jdeveloper (on windows 8) and doing the documented setup, even the "Hello World" test fails when run in jdeveloper.
I've double checked the setup and that the jdeveloper patch version is right (p9879989_R12_GENERIC)
and have the "Default Local IP address" checkbox selected as well.
I guess some windows install/config is incorrect,but don't know what. Any ideas?
Thanks.
The exact browser error is -
500 Internal Server Error
JSP Error:
Request URI:/OA_HTML/OA.jsp
Exception:
OracleJSP:oracle.jsp.provider.JspCompileException:
Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java
and the full stack is -
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
C:\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jdevbin\j2ee\home\oc4j.jar;C:\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
26/12/2013 11:09:23 com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source C:\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
Ready message received from Oc4jNotifier.
Embedded OC4J startup time: 10061 ms.
Target URL -- http://192.168.56.1:8988/OA_HTML/test_fwktutorial.jsp
13/12/26 11:09:29 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
26/12/2013 11:09:44 oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
INFO: Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\jdevhome\jdev\myclasses\.jsps\\_OA.java</H3><pre></pre>
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Hi,
i think you missed JDEV_HOME environment variable.
below blog may help,
Oracle Apps By Kishore: Steps to make JDeveloper Environment -
Using: OC4J Standalone, JDK 1.4
Servelets work OK but JSPs fail to compile. Is this a problem using JDK1.4 (and if so is it possible to tell OC4J to use a lower version)
Thanks
The error (running the OC4J Date sample http://localhost:8888/examples/jsp/dates/date.jsp):
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\oc4j_extended\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_dates\_date.java
error: Invalid class file format in c:\j2sdk1.4.0_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\oc4j_extended\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_dates\_date.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package examples.jsp._dates;
^
2 errorsAhhh after experimenting I realized what happened:
1.) The search does not look for words in the Title (only looks in the Body)
2.) The search does not look for occurances of words if they appear anywhere in the doc but rather only for exact phrase.
So for the doc you gave me (http://forums.oracle.com/forums/message.jsp?id=767439) here is a test:
[Search phrase] [did the doc come up?] [comment]
[oc4j doesn't compile JSPs with JDK 1.4?] [no] [the doc title]
[JSPs shipped with oc4j] [yes] [exact phrase in body]
[JSPs shipped oc4j] [no] [words in body but not exact phrase]
OK I have way to much time on my hands I see -- he he ... but I'm just putting this info out (respectfully of course) just so the forum owner will have the info so maybe he/she might want to change way search is done (add title, etc).
Best regards
Matt -
Error compiling CitiesSql.jsp /SessionBean/
http://otn.oracle.com/sample_code/tech/java/jsp/htdocs/jspdemo/jspdemohome.html
jsp Samples - SessionBean.jws/CitiesSql.jsp
Error:(40)cannot access class oracle.jsp.jml.JmlFPNumber;
file oracle\jsp\jml\JmlFPNumber.class not found.
Error: (40) cannot access class oracle.jsp.jml.JmlNumber;
file oracle\jsp\jml\JmlNumber.class not found.
Error: (40) cannot access class oracle.jsp.jml.JmlBoolean;
file oracle\jsp\jml\JmlBoolean.class not found.
Any idea ? missing *.jar ? which one ?
Thanks NaskoHi,
I think [SAP NetWeaver AS, Java |SAP NetWeaver Application Server; will be more suitable.
I suggest to get more detailed traces at J2EE logs. because the statement : Error compiling ... , doesn't help much.
Probably, you could start with some basic checks on environment variable JAVA_HOME, profile parameter 'jstartup/vm/home', go through standard notes like below to check the recommended JVM settings,...
#723909 - Java VM settings for J2EE 6.40/7.0
#716604 - Access to Sun J2SE and recommended J2SE options
Regards,
Vincent -
HTTP Error 500 Compiling JSP's [SOLVED]
Basic Problem: I am unable to compile jsp's and display them via Tomcat. I am using the Netbeans IDE for web development and webapps that use html files/servlets run just fine. It's when I try to run a jsp that I get an Error 500:
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:391)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.lang.IllegalStateException: No Java compiler available
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:228)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:638)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
My config is as follows:
kernel 3.2.4-1-ARCH
Tomcat: 7.0.25
jdk: 7-3
$ java -showversion
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
Netbeans: 7.1
I am running the Sun JRE/JDK.
I emailed the Tomcat mailing list and was told the compiler should be in a file called ecj-3.7.1.jar. I did a locate on that file and I found the following in /usr/share/java:
lrwxrwxrwx 1 root root 21 Nov 7 20:41 ecj.jar -> eclipse-ecj-3.7.1.jar
-rw-r--r-- 1 root root 1183268 Nov 7 20:41 eclipse-ecj-3.7.1.jar
lrwxrwxrwx 1 root root 21 Nov 7 20:41 eclipse-ecj.jar -> eclipse-ecj-3.7.1.jar
According to the fellow who I think is the Tomcat maintainer, the eclipse-ecj-3.7.1.jar isn't distributed in standard Tomcat and so to ask whoever packaged mine, which I installed with pacman.
Thanks.
UPDATE: I uninstalled tomcat7 via pacman and installed the stock Tomcat7 from apache.org. Jsp's now compile.
Last edited by JLucien (2012-02-14 20:58:59)i did not find an answer..
-
VSM-BC4J IN JDEV9042:compile error at JClient and run error at JSP
compile error at JClient:
C:\VSM-BC4J\src\oracle\otnsamples\vsm\client\admin\profilePanal.java
--! Wraning(424,18):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(425,20):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(428,21):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(430,13):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
run error at JSP:
503 Service Unavailable
Servlet error:Parsing error processing resource pathSolution: don't use a runtime expression for the id attribute.
The id attribute is used to declare
- an attribute in scope
- a scriptlet variable on the page
These are only available for the duration of the <logic:iterate> tag
The "id" is only used in your programming. You don't need to make it dynamic. -
[b]Error during JSP page processing[/b]
hi , i'm mech.
i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet . i have this coding and error.
------------------------jsp code--------------------------
package pagecompile.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import com.sun.server.http.pagecompile.jsp.runtime.*;
import java.beans.*;
import com.sun.server.http.pagecompile.jsp.JspException;
import java.sql.*;
public class _Connect extends HttpJspBase {
static char[][] jspxhtml_data = null;
public _Connect( ) {
private static boolean jspxinited = false;
public final void jspxinit() throws JspException {
ObjectInputStream oin = null;
int numStrings = 0;
try {
FileInputStream fin = new FileInputStream("E:\\JavaWebServer2.0\\tmpdir\\default\\pagecompile\\jsp\\pagecompile.jspConnect.dat");
oin = new ObjectInputStream(fin);
jspxhtml_data = (char[][]) oin.readObject();
} catch (Exception ex) {
throw new JspException("Unable to open data file");
} finally {
if (oin != null)
try { oin.close(); } catch (IOException ignore) { }
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
boolean jspxcleared_due_to_forward = false;
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
jspxinit();
jspxinited = true;
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
out.print(_jspx_html_data[0]);
out.print(_jspx_html_data[1]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(14,2);to=(28,2)]
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myconn=DriverManager.getConnection("Jdbc:Odbc:mm","madhulika","madhulika");
Statement stmt = myconn.createStatement();
ResultSet myResultSet = stmt.executeQuery("Select * from peopletable");
if(myResultSet != null)
while(myResultSet.next())
int eid=myResultSet.getInt("id");
String fname=myResultSet.getString("firstname");
String lname=myResultSet.getString("lastname");
String mail=myResultSet.getString("email");
// end
out.print(_jspx_html_data[2]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(30,10);to=(30,13)]
out.print(eid);
// end
out.print(_jspx_html_data[3]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(31,10);to=(31,15)]
out.print(fname);
// end
out.print(_jspx_html_data[4]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(32,10);to=(32,15)]
out.print(lname);
// end
out.print(_jspx_html_data[5]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(33,10);to=(33,14)]
out.print(mail);
// end
out.print(_jspx_html_data[6]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(37,5);to=(43,0)]
stmt.close();
myconn.close();
// end
out.print(_jspx_html_data[7]);
} catch (Throwable t) {
if (out.getBufferSize() != 0)
out.clear();
throw new JspException("Unknown exception: ", t);
} finally {
if (!_jspx_cleared_due_to_forward)
out.flush();
_jspxFactory.releasePageContext(pageContext);
-------------------error in browser----------------------
Error during JSP page processing
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at java.sql.SQLException.(SQLException.java:43)
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Compiled Code)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3814)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1029)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:145)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:165)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at pagecompile.jsp._Connect._jspService(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.runServlet(JspServlet.java:469)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:259)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.ServletState.callService(ServletState.java:226)
at com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at com.sun.server.http.stages.Runner.process(Runner.java:79)
at com.sun.server.ProcessingSupport.process(Compiled Code)
at com.sun.server.Service.process(Service.java:204)
at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(CompiledBacking up a moment, is there a particular reason that you're using the JDBC-ODBC bridge rather than using the Oracle JDBC driver?
Have you taken a look at the JSP sample code available on OTN? I would start by making sure you can run that.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
RE: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hi Todd,
removing the defaultValue="" attribute works.
I have not got around to testing the SP3.
BTW. The reason the default value tag was added was to stop Null pointer
exceptions being thrown in the
HrefTag.beginDisplay().
buffer.append("?")
.append(field.getQualifiedName()) // "FooHref"
.append("=")
.append(URLEncoder.encode(value.toString())); // "/foo"
If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
HrefTag.getDefaultValue() returns null.
Our hack was to add the following in HrefTag.java.
if (value==null)
value=getDefaultValue();
//===========================
//IP6 ADDED THE FOLLOWING LINE
value = (value== null? "":value);
//============================
Is that pheasible work-around ? This eliminates the need to add
defaultValue="" to all HREF tags.
Also, I might as well point another behavior that we encountered with HREFS.
In ND, if a HREF's display Field was bound to a column in DataObject and the
particular record had no value, no URL would be rendered on the page.
The HTML would look something like this( from memory ):
<A
HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
ND URL STUFF"></A>
In JATO by default a url get displayed with "null" as the link. ie.
<a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
Our hack was modify the HrefTag.doEndTag method to not append "null" to the
buffer.
if (displayed)
buffer.append(getBodyContent().getString().equals("null")? "":
getBodyContent().getString()))
// IP6 HACK buffer.append(getBodyContent().getString())
.append("</a>");
writeOutput(fireEndDisplayEvent(buffer.toString()));
Is there a better way to do this?
thanks
Kostas
-----Original Message-----
From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
Sent: Tuesday, July 03, 2001 12:46 AM
Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hey Kostas--
I personally haven't seen this kind of error. Have you tried simplifying
the expression inside the href tag? For example:
<% Object foo =
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
%>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
<%= foo %>
</jato:href>
Also, is there a different version you could upgrade to? iAS SP3 includes
the Jasper compiler from Tomcat, which should behave quite differently.
Todd
----- Original Message -----
From: "Kostas Morfis" <kmorfis@i...>
Sent: Tuesday, July 03, 2001 12:17 AM
Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
>
Hi all,
has anyone come across the following error in iPlanet?
[02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
JSP parser. Missing endtag: /jato:href
Exception Stack Trace:
java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
at com.netscape.jsp.JSP.parseBlock(Unknown Source)
at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
at com.netscape.jsp.JSP.parseTag(Unknown Source)
at com.netscape.jsp.JSP.parseNext(Unknown Source)
etc etc.
We have tested the page in Resin and it works fine.
It seems the JSP parser has a problem with the following type of HREFtags.
>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
defaultValue=""><%=
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
>
re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
%></jato:href></font></td>
anyone have any suggestions/thoughts/comments ?
Kostas Morfis
Senior Consultant
iRise
www.iRise.com
[Non-text portions of this message have been removed]
[email protected]
[email protected]Hi Todd,
removing the defaultValue="" attribute works.
I have not got around to testing the SP3.
BTW. The reason the default value tag was added was to stop Null pointer
exceptions being thrown in the
HrefTag.beginDisplay().
buffer.append("?")
.append(field.getQualifiedName()) // "FooHref"
.append("=")
.append(URLEncoder.encode(value.toString())); // "/foo"
If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
HrefTag.getDefaultValue() returns null.
Our hack was to add the following in HrefTag.java.
if (value==null)
value=getDefaultValue();
//===========================
//IP6 ADDED THE FOLLOWING LINE
value = (value== null? "":value);
//============================
Is that pheasible work-around ? This eliminates the need to add
defaultValue="" to all HREF tags.
Also, I might as well point another behavior that we encountered with HREFS.
In ND, if a HREF's display Field was bound to a column in DataObject and the
particular record had no value, no URL would be rendered on the page.
The HTML would look something like this( from memory ):
<A
HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
ND URL STUFF"></A>
In JATO by default a url get displayed with "null" as the link. ie.
<a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
Our hack was modify the HrefTag.doEndTag method to not append "null" to the
buffer.
if (displayed)
buffer.append(getBodyContent().getString().equals("null")? "":
getBodyContent().getString()))
// IP6 HACK buffer.append(getBodyContent().getString())
.append("</a>");
writeOutput(fireEndDisplayEvent(buffer.toString()));
Is there a better way to do this?
thanks
Kostas
-----Original Message-----
From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
Sent: Tuesday, July 03, 2001 12:46 AM
Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hey Kostas--
I personally haven't seen this kind of error. Have you tried simplifying
the expression inside the href tag? For example:
<% Object foo =
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
%>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
<%= foo %>
</jato:href>
Also, is there a different version you could upgrade to? iAS SP3 includes
the Jasper compiler from Tomcat, which should behave quite differently.
Todd
----- Original Message -----
From: "Kostas Morfis" <kmorfis@i...>
Sent: Tuesday, July 03, 2001 12:17 AM
Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
>
Hi all,
has anyone come across the following error in iPlanet?
[02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
JSP parser. Missing endtag: /jato:href
Exception Stack Trace:
java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
at com.netscape.jsp.JSP.parseBlock(Unknown Source)
at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
at com.netscape.jsp.JSP.parseTag(Unknown Source)
at com.netscape.jsp.JSP.parseNext(Unknown Source)
etc etc.
We have tested the page in Resin and it works fine.
It seems the JSP parser has a problem with the following type of HREFtags.
>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
defaultValue=""><%=
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
>
re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
%></jato:href></font></td>
anyone have any suggestions/thoughts/comments ?
Kostas Morfis
Senior Consultant
iRise
www.iRise.com
[Non-text portions of this message have been removed]
[email protected]
[email protected] -
Error in jsp in retreiving data from a bean.
i made a bean retrieving some data for a form and while i declared and put the use bean tag through run time i got this error :
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
Created dir: E:\IOULevel3\12-March-2009\IOUCom\build\generated\src
org.apache.jasper.JasperException: Cannot find any information on property 'firstname' in a bean of type 'reg.RegisterationBean'
E:\IOULevel3\12-March-2009\IOUCom\nbproject\build-impl.xml:440: Java returned: 1
BUILD FAILED (total time: 1 second)does anybody have a clue?guys here is the bean:
package reg;
* @author Asmaa
public class RegisterationBean
//////////////////////Personal Data Declaerations//////////////////////////
public String firstname;
//////////////////////Personal Data Methods////////////////////////////////////////
public void setFirstName(String firstname)
this.firstname=firstname;
public String getFirstName()
return firstname;
} -
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!
Maybe you are looking for
-
Difference between null vector and empty Vector
What is the diffrence between null vector and empty vector.
-
When I open up a image and resize it how can I make the background from white to transparent as my default?
-
How can i modify this code in BI?
hi friends, suppose i have data in infosource with deffirent customers. like from usa,germany,uk. i created 3 cubes and uploaded records corresponding countries. i have written code like this in 3.5 loop at data_package. if data_package-/bic/zcustome
-
Parameter Mapping with RFC Callable Object not working
Hi Folks Scenario I have a process scenario like this Interactive Form Callable Object A -triggers> Process [Interactive Form Callble Object B -> Interactive Form Callble Object C -> RFC Callable Object ] All the forms A, B, C use same form template,
-
Original hd sequence only shows a partial frame!?
hello, got the problem, I am loading my sequenz 48khw hd 16:9 in premier pro..as Mp4... I see everything perfectly as well in the small thumbnail in the timeline. The screen however shows only a fraction more or less only 3:4 even though I have check