!!! Jsp compilation error in deploying : in migrating from WLS 8.1 to 9.2
Hi,
We are trying to migrate a .war file from WLS 8.1 to WLS 9.2. After other changes are done, while deploying the .war file in in WLS 9.2 we are getting errors for a jsp file:
1> Syntax error near 'import' ^-------------------^
2> at Line 6 ;The qualifier of this name is a package,which cannot contain methods ^---------------------^
the jsp is simple one & goes like this:: (this jsp file also included in another jsp file .... not sure if this causing the problem ?)
<%@ page import="com.src.config.ConfigurationManager" %> // this class is properly present in /WEb-INF/classes/com/src/config/ .... causing error 1
<%
String sRequestURI = request.getRequestURI();
String sBaseURI = sRequestURI.substring(0, sRequestURI.lastIndexOf("/"));
ConfigurationManager configMan = ConfigurationManager.getInstance(); // Line 6 .. causing error 2
String sOraRoot = configMan.getProperty("OraRoot");
%>
any help please !!
Edited by: user10284044 on Dec 10, 2008 10:54 PM
Hi,
You can get rid of JSP version specific problems by using the following weblogic.xml file:-
<weblogic-web-app>
<jsp-descriptor>
<jsp-param>
<param-name>backwardCompatible</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
<weblogic-web-app>
It will also confirm if the error you are seeing is due to JSP version differences in 8.1 and 9.x.
Regards.
Similar Messages
-
Hi,
I am using Jdev 11.1.2.0.
migration successfully at 11.1.1.3 to jdeveloper 11.1.2.0.
when I deploy the new version Viewcontroller project I got the error like "An unreported error occurred in Appc. No errors were reported, but the tool returned a failure result code: 1." .
Regards,
Ragu.same discussed here as well.. have you tried the suggestions provided here
Re: Migrate from JDeveloper 11.1.1.3 to 11.1.2 -
Error encountered while doing Migration from WLS 8.1 to WLS 10.0
Hello All ,
We are trying to do a WLS migrate(8.1 to 10.0) for a java/j2ee based application. We did not face any issues while compling application code (using jdk 1.5 & weblogic.jar of WLS 10.0) but while running the ant build script , we encountered an error while executing below part
Line: -----
1 <java classname="weblogic.appc" fork="true" maxmemory="${appc.java.maxmemory}" failonerror="true">
2 <classpath>
3 <pathelement path="${project.classpath}"/>
4 </classpath>
5
6 <jvmarg line="${appc.java.options} -Djava.io.tmpdir=${appc.tmp.dir}"/>
7
8 <arg line="-compiler ${appc.compiler} -output ${_appc.output}
9 -classpath ${_appc.classpath}
10 ${bmwslc.param.options}
11 ${appc.additional.options}
12 ${_appc.input}" />
13 </java>
Line: -----
Following is the error , which we encountered
Line: -----
# [java] Usage: java weblogic.appc [options] <ear, jar, war or rar file or directory>
# [java] where options include:
# [java] -help Print the standard usage message.
# [java] -version Print version information.
# [java] -output <file> Specifies an alternate output archive or
# [java] directory. If not set, output will be
# [java] placed in the source archive or directory.
# [java] -plan <file> Specifies an optional deployment plan.
# [java] -forceGeneration Force generation of EJB and JSP classes.
# [java] Without this flag the classes may not be
# [java] regenerated if it is determined to be
# [java] unnecessary.
# [java] -quiet Turns off output except for errors
# [java] -lineNumbers Add JSP line numbers to generated class
# [java] files to aid in debugging.
# [java] -library <file> Comma-separated list of libraries. Each
# [java] library may optionally set its name and
# [java] versions, if not already set in its
# [java] manifest, using the following syntax: <file>
# [java] [@name=<string>@libspecver=<version>
# [java] @libimplver=<version|string>]
# [java] -librarydir <dir> Registers all files in specified directory
# [java] as libraries.
# [java] -writeInferredDescriptors Write out the descriptors with inferred
# [java] information including annotations.
# [java] -keepgenerated Keep the generated .java files.
# [java] -verbose Compile with verbose output.
# [java] -classpath <path> Classpath to use.
# [java] -source <source> Source version.
# [java] -target <target> Target version.
# [java] -advanced Print advanced usage options.
# [java] <May 18, 2010 12:36:19 PM CEST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
# [java] [J2EE:160128]ERROR: Incorrect appc command-line. Too many arguments were given. The command-line only takes a single argument, the source file, in addition to the supported options.
Line: -----
All the arguments looks correct to me while debugging . here is the summary of echo statements
${appc.additional.options} =""
${bmwslc.param.options} ="-forceGeneration"
${_appc.input}="test_ear-generic.ear"
I am dumb struck at this point
Please suggest any other thoughts , which you have in mind .
Thanks in advance !
Regards
ShobitProbably too late for an answer but I try,
We are not able to build our J2EE 1.4 application with weblo 10, we have to build them with weblo 8 which contains the xdoclet. then we deploy it in WL10. then sometimes we have to fix some build constraints that WL10 doesn't allow anymore. -
Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- nu
When I deploy WAR files with the precompile jsp option, I receive the following error:
Deployment Error -- JSP Compilation Error: java.lang.OutOfMemoryError -- null
Is there a way for me to precompile my jsp's without using this process? Once this blows up, the admin server gets hosed. This is very frustrating. Any suggestions would be appreciated.
Regards,
JoshuaYou need little more memory :-), use java param -mx512M.
You can adjust it in OC Server properties
AS > OC4J_home(demo) > Server Properties
section Multiple VM Configuration, Command Line Options
Java Options: -mx512M
Zajo -
Weblogic 9 and JSP compiler errors
Hello everyone,
I am having problems with my Jsps in my EAR file deployed on WL 9.0.
I have a Jsp called upms.jsp that contains the following code snippets:
After my import statements, I have some code that creates a resource bundle that accesses a properties file:
<%!
ResourceBundle bundle = null;
public void jspInit() {
bundle = ResourceBundle.getBundle("conf.properties");
%>
I get an error from the above code:
upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
import="java.util.ResourceBundle"
^----------------------^
I am totally clueless as to what that error means.
Next I declare a bean I use in the jsp:
<jsp:useBean
id="userPrefsManagerBean"
class="controllers.beans.UserPreferencesManagerBean"
scope="session">
</jsp:useBean>
<jsp:setProperty name="userPrefsManagerBean" property="*" />
I get these errors from the above portion:
upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Expression expected (found '.' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
Has anyone encountered these before?
This jsp worked perfectly well when I deployed my EAR file on JBoss...no such luck using Weblogic.
Is there something I am missing here? I appreciate any help.
Cheers, :-)
M.Mildred,
Two suggestions:
1) use option weblogic.jspc's "-keepgenerated", you can keep the generated
servlet's source code.
Please paste it here.
2) Can you create a simple reproducer(e.g. a war), and put it here, so that
we can debug it and give more clues.
To reproduce your issue, I write a simple a simple
UserPreferencesManagerBean classs below :
package controllers.beans;
public class UserPreferencesManagerBean {
private int p1;
public void setP1(int p)
p1 = p;
public int getP1()
return p1;
But it works(oh, I run it under 910MP1).
We cannot tell too much without your further information
Thanks
Leon
<Mildred A> wrote in message news:[email protected]...
I am still fighting with this issue.. Dang!
I don't know what to change in my JSP because the WL JSP compiler errors are
so out there..
Here is the first portion of the JSP file:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
session="true"
pageEncoding="ISO-8859-1"
import="java.util.ArrayList"
import="java.util.HashSet"
import="java.util.Date"
import="java.util.Collections"
import="java.util.ResourceBundle"
%>
<%!
ResourceBundle bundle = null;
public void jspInit() {
bundle = ResourceBundle.getBundle("conf.properties");
%>
<jsp:useBean
id="userPrefsManagerBean"
class="controllers.beans.UserPreferencesManagerBean"
scope="session">
</jsp:useBean>
<jsp:setProperty name="userPrefsManagerBean" property="*" />
Below is the error I get from this section alone (after precompiling):
upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
import="java.util.ArrayList"
^-----------------^
upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
fields.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
fields.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Expression expected (found '.' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Expression expected (found 'catch' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Illegal use of an expression as a statement.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: No variable or field with this name could be found at this
location.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: No variable or field with this name could be found at this
location.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected ) (found '__ee' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Illegal use of an expression as a statement.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected ; (found ')' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: No variable or field with this name could be found at this
location.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: No variable or field with this name could be found at this
location.
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
upms.jsp:27:3: Syntax error: expected } (found 'EOF' instead)
<jsp:setProperty name="userPrefsManagerBean" property="*" />
^-------------^
Can anyone see what I am doing wrong here? ?:| ?:|
Cheers,
M -
Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N -
Good Afternoon,
My database is acting up. It has come up with a JSP compile Error. This is the error it comes up with.
Compilation of 'C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java' failed:
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
(No more information available, probably caused by another error)
this is my code that it is trying to read:
/* compiled from JSP: /webclient/login/login.jsp
* This code was automatically generated at 5:51:57 PM on Jul 19, 2008
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
package jsp_servlet._webclient._login;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
import psdi.util.*; //[ /webclient/login/login.jsp; Line: 1]
// built-in init parameters:
// boolean _verbose -- wants debugging
// Well-known variables:
// JspWriter out -- to write to the browser
// HttpServletRequest request -- the request object.
// HttpServletResponse response -- the response object.
// PageContext pageContext -- the page context for this JSP
// HttpSession session -- the session object for the client
(if any)
// ServletContext application -- The servlet (application) context
// ServletConfig config -- The ServletConfig for this JSP
// Object page -- the instance of this page's
implementation class (i.e., 'this')
* This code was automatically generated at 5:51:57 PM on Jul 19, 2008
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
* Copyright (c) 2008 by BEA Systems, Inc. All Rights Reserved.
public final class __login
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
//[ /webclient/common/constants.jsp; Line: 1]
static final String READ_ONLY_TAB_INDEX="-1"; //[
/webclient/common/constants.jsp; Line: 2]
static final String READ_ONLY_DEFAULT_FOCUS="false"; //[
/webclient/common/constants.jsp; Line: 3]
static String FIELD_FOCUS_COLOR="#F5F0D5"; //[
/webclient/common/constants.jsp; Line: 4]
static final String FIELD_FOCUS_READ_ONLY_COLOR="#CCC18E"; //[
/webclient/common/constants.jsp; Line: 5]
//common constants //[ /webclient/common/constants.jsp; Line: 6]
static final String IMAGE_PATH = "../webclient/images/"; //[
/webclient/common/constants.jsp; Line: 7]
static final String DESIGNER_IMAGE_PATH =
"../webclient/images/designer/"; //[ /webclient/common/constants.jsp; Line: 8]
//[ /webclient/common/constants.jsp; Line: 9]
//For "section", "sectionrow" and "sectioncol" controls //[
/webclient/common/constants.jsp; Line: 10]
static final String SECTION_HEADER_SUFFIX = "_header"; //[
/webclient/common/constants.jsp; Line: 11]
static final String SECTION_LABEL_SUFFIX = "_label"; //[
/webclient/common/constants.jsp; Line: 12]
static final String SECTION_CONTENT_SUFFIX = "_content"; //[
/webclient/common/constants.jsp; Line: 13]
static final String SECTION_TABLE_SUFFIX = "_table"; //[
/webclient/common/constants.jsp; Line: 14]
static final String SECTION_FOOTER_SUFFIX = "_footer"; //[
/webclient/common/constants.jsp; Line: 15]
//[ /webclient/common/constants.jsp; Line: 16]
//Default values for control properties //[
/webclient/common/constants.jsp; Line: 17]
//For table //[ /webclient/common/constants.jsp; Line: 18]
static final int CONST_TABLE_debug = 0; //[
/webclient/common/constants.jsp; Line: 19]
static final String
CONST_TABLE_PROPERTY_beanclass="psdi.webclient.system.beans.DataBean"; //[ /webclient/common/constants.jsp; Line: 20]
static final int CONST_TABLE_PROPERTY_maxrows = 1000; //[
/webclient/common/constants.jsp; Line: 21]
static final int CONST_TABLE_PROPERTY_rowsperpage = 50; //[
/webclient/common/constants.jsp; Line: 22]
static final int CONST_TABLE_PROPERTY_headerheight = 50; //[
/webclient/common/constants.jsp; Line: 23]
static final int CONST_TABLE_PROPERTY_rowheight = -1; //[
/webclient/common/constants.jsp; Line: 24]
static final String L_CONST_TABLE_PROPERTY_norowmsg = "No rows to
display."; //[ /webclient/common/constants.jsp; Line: 25]
static final String CONST_TABLE_PROPERTY_selectmode = "multiple"; //[
/webclient/common/constants.jsp; Line: 26]
static String CONST_TABLECOL_PROPERTY_headerlabel = null; //[
/webclient/common/constants.jsp; Line: 27]
//for tablecol //[ /webclient/common/constants.jsp; Line: 28]
static final String CONST_TABLECOL_PROPERTY_type = "data"; //[
/webclient/common/constants.jsp; Line: 29]
static final String CONST_TABLECOL_PROPERTY_VALUE_TRUE = "true"; //[
/webclient/common/constants.jsp; Line: 30]
static final String CONST_TABLECOL_CONTROL_PROPERTY_DEFAULT_ID =
"tAbLeCoL_fIeLd"; //[ /webclient/common/constants.jsp; Line: 31]
//For tablebody //[ /webclient/common/constants.jsp; Line: 32]
static final String CONST_TABLEBODY_PROPERTY_displayrowsperpage =
"11"; //[ /webclient/common/constants.jsp; Line: 33]
static final String L_CONST_TABLEBODY_PROPERTY_filterlabel =
"Filter"; //[ /webclient/common/constants.jsp; Line: 34]
//[ /webclient/common/constants.jsp; Line: 35]
//For "table" control //[ /webclient/common/constants.jsp; Line: 36]
static final String TABLE_TITLE_SUFFIX = "_title"; //[
/webclient/common/constants.jsp; Line: 37]
static final String TABLE_ICON_COLLAPSE_SUFFIX = "_icon_collapse";
//[ /webclient/common/constants.jsp; Line: 38]
static final String TABLE_CONTAINER_SUFFIX = "_container"; //[
/webclient/common/constants.jsp; Line: 39]
static final String TABLE_DOWNLOAD_SUFFIX = "_download"; //[
/webclient/common/constants.jsp; Line: 40]
static final String TABLE_HELP_SUFFIX = "_help"; //[
/webclient/common/constants.jsp; Line: 41]
static final String TABLE_HEADER_SUFFIX = "_header"; //[
/webclient/common/constants.jsp; Line: 42]
static final String TABLE_HEADER_ICON_PREVROW_ON_SUFFIX =
"_prevrow_on"; //[ /webclient/common/constants.jsp; Line: 43]
static final String TABLE_HEADER_ICON_PREVROW_OFF_SUFFIX =
"_prevrow_off"; //[ /webclient/common/constants.jsp; Line: 44]
static final String TABLE_HEADER_ICON_NEXTROW_ON_SUFFIX =
"_nextrow_on"; //[ /webclient/common/constants.jsp; Line: 45]
static final String TABLE_HEADER_ICON_NEXTROW_OFF_SUFFIX =
"_nextrow_off"; //[ /webclient/common/constants.jsp; Line: 46]
static final String TABLE_HEADER_ICON_PREVPAGE_ON_SUFFIX =
"_prevpage_on"; //[ /webclient/common/constants.jsp; Line: 47]
static final String TABLE_HEADER_ICON_PREVPAGE_OFF_SUFFIX =
"_prevpage_off"; //[ /webclient/common/constants.jsp; Line: 48]
static final String TABLE_HEADER_ICON_NEXTPAGE_ON_SUFFIX =
"_nextpage_on"; //[ /webclient/common/constants.jsp; Line: 49]
static final String TABLE_HEADER_ICON_NEXTPAGE_OFF_SUFFIX =
"_nextpage_off"; //[ /webclient/common/constants.jsp; Line: 50]
//static final String TABLE_FILTER_ICON_EXPAND =
"_filter_icon_expand"; //[ /webclient/common/constants.jsp; Line: 51]
//static final String TABLE_FILTER_ICON_COLLAPSE =
"_filter_icon_collapse"; //[ /webclient/common/constants.jsp; Line: 52]
static final String TABLE_FILTER_ACTIONS_SUFFIX = "_filter_actions";
//[ /webclient/common/constants.jsp; Line: 53]
static final String TABLE_FILTER_SUFFIX = "_filter"; //[
/webclient/common/constants.jsp; Line: 54]
static final String TABLE_CLEARFILTER_SUFFIX = "_clearfilter"; //[
/webclient/common/constants.jsp; Line: 55]
static final String TABLE_HEADER_ROW_SUFFIX = "_heder_row"; //[
/webclient/common/constants.jsp; Line: 56]
static final String TABLE_HEADER_LABEL_SUFFIX = "_heder_label"; //[
/webclient/common/constants.jsp; Line: 57]
static final String TABLE_CONTENT_HEADER_SUFFIX = "_content_header";
//[ /webclient/common/constants.jsp; Line: 58]
static final String TABLE_CONTENT_HEADER_RESIZE_SUFFIX =
"_content_header_resize"; //[ /webclient/common/constants.jsp; Line: 59]
static final String TABLE_CONTENT_SUFFIX = "_content"; //[
/webclient/common/constants.jsp; Line: 60]
static final String TABLE_CONTENT_TABLE = "_content_table"; //[
/webclient/common/constants.jsp; Line: 61]
static final String TABLE_NOROW_MSG_SUFFIX = "_norowmessage"; //[
/webclient/common/constants.jsp; Line: 62]
static final String TABLE_FILTER_ROW_SUFFIX = "_filter_content"; //[
/webclient/common/constants.jsp; Line: 63]
static final String TABLE_TEMPLATE_ROW_SUFFIX = "_template_content";
//[ /webclient/common/constants.jsp; Line: 64]
static final String TABLE_ROW_DETAILS_SUFFIX = "_rowdetails"; //[
/webclient/common/constants.jsp; Line: 65]
static final String TABLE_BUTTONS_SUFFIX = "_buttons"; //[
/webclient/common/constants.jsp; Line: 66]
//[ /webclient/common/constants.jsp; Line: 67]
static final long TABLE_EXPANDED = 1; //is the table expanded
(visible) //[ /webclient/common/constants.jsp; Line: 68]
static final long TABLE_AT_FIRST_PAGE = 2; //is the table at the
first page //[ /webclient/common/constants.jsp; Line: 69]
static final long TABLE_AT_LAST_PAGE = 4; //is the table at the
last page //[ /webclient/common/constants.jsp; Line: 70]
static final long TABLE_AT_FIRST_ROW = 8; //is the table at the
first row (of all possible rows) //[ /webclient/common/constants.jsp;
Line: 71]
static final long TABLE_AT_LAST_ROW = 16; //is the table at the
last row (of all possible rows) //[ /webclient/common/constants.jsp; Line:
72]
static final long TABLE_FILTER_EXPANDED = 32; //is the table's
filter row expanded (visible) //[ /webclient/common/constants.jsp; Line: 73]
static final long TABLE_DETAILS_EXPANDED = 64; //is the table's
details expanded (visible) //[ /webclient/common/constants.jsp; Line: 74]
static final long TABLE_ROW_CHANGED = 128; //has the table changed
rows //[ /webclient/common/constants.jsp; Line: 75]
static final long TABLE_FILTERED = 256; //has the table been
filtered //[ /webclient/common/constants.jsp; Line: 76]
static final long TABLE_REFRESH_FILTER = 512; //does the filter
inputs need to be refreshed //[ /webclient/common/constants.jsp; Line: 77]
static final long TABLE_REFRESH_ROW = 1024; //does the current row
need to be refreshed //[ /webclient/common/constants.jsp; Line: 78]
static final long TABLE_REFRESH_ALL_ROWS = 2048; //does all the
table's rows need to be refreshed //[ /webclient/common/constants.jsp;
Line: 79]
static final long TABLE_ALL_SELECTED = 4096; //are all the tables
rows selected //[ /webclient/common/constants.jsp; Line: 80]
static final long TABLE_START_EMPTY = 8192; //are all the tables
rows selected //[ /webclient/common/constants.jsp; Line: 81]
static final long TABLE_USE_SUBSELECT = 16384; //does the table use
sub select mode //[ /webclient/common/constants.jsp; Line: 82]
static final long TABLE_SUBSELECT_ON = 32768; //is sub select mode
on for the table //[ /webclient/common/constants.jsp; Line: 83]
//[ /webclient/common/constants.jsp; Line: 84]
static final long TABLECOL_NOT_SORTED = 0; //[
/webclient/common/constants.jsp; Line: 85]
static final long TABLECOL_SORTED_ASC = 1; //[
/webclient/common/constants.jsp; Line: 86]
static final long TABLECOL_SORTED_DESC = 2; //[
/webclient/common/constants.jsp; Line: 87]
//[ /webclient/common/constants.jsp; Line: 88]
static final int TABLECOL_FILTERABLE_WILDCARDSEARCH = 0; //[
/webclient/common/constants.jsp; Line: 89]
static final int TABLECOL_FILTERABLE_EXACTSEARCH = 1; //[
/webclient/common/constants.jsp; Line: 90]
static final int TABLECOL_FILTERABLE_TEXTSEARCH = 2; //[
/webclient/common/constants.jsp; Line: 91]
static final int TABLECOL_FILTERABLE_NONESEARCH = 3; //[
/webclient/common/constants.jsp; Line: 92]
//[ /webclient/common/constants.jsp; Line: 93]
//For tablecol control //[ /webclient/common/constants.jsp; Line:
94]
static final String TABLECOL_CONTROL_PROPERTY_CLONEDTYPE =
"clonedfor"; //[ /webclient/common/constants.jsp; Line: 95]
static final String TABLECOL_CONTROL_PROPERTY_VALUE_FOR_FILTER =
"filter"; //[ /webclient/common/constants.jsp; Line: 96]
static final String TABLECOL_CONTROL_PROPERTY_VALUE_FOR_DATA =
"datarows"; //[ /webclient/common/constants.jsp; Line: 97]
static final String TABLECOL_FILTER_SUFFIX = "_filter_container"; //[
/webclient/common/constants.jsp; Line: 98]
static final String TABLECOL_DATA_SUFFIX = "_data_row"; //[
/webclient/common/constants.jsp; Line: 99]
static final String TABLECOL_ROW_DETAILS_ICON_EXPAND = "_expand"; //[
/webclient/common/constants.jsp; Line: 100]
static final String TABLECOL_ROW_DETAILS_ICON_COLLAPSE = "_collapse";
//[ /webclient/common/constants.jsp; Line: 101]
static final String TABLECOL_SELECT_ROW_SUFFIX = "_select"; //[
/webclient/common/constants.jsp; Line: 102]
static final String TABLECOL_PROPERTY_ID = "id"; //[
/webclient/common/constants.jsp; Line: 103]
static final String TABLECOL_CONTROL_PROPERTY_ID_CLONED_SUFFIX =
"_clone"; //[ /webclient/common/constants.jsp; Line: 104]
static final String TABLECOL_CONTROL_PROPERTY_ID_FILTER_SUFFIX =
"_filter_clone"; //[ /webclient/common/constants.jsp; Line: 105]
static final String TABLECOL_PROPERTY_INPUT_ID_SUFFIX = "_input"; //[
/webclient/common/constants.jsp; Line: 106]
static final String TABLECOL_SELECTALL_ICON_SUFFIX = "_selectall";
//[ /webclient/common/constants.jsp; Line: 107]
//[ /webclient/common/constants.jsp; Line: 108]
static final String TABLEBUTTONS_SUFFIX = "_buttons"; //[
/webclient/common/constants.jsp; Line: 109]
static final String TABLEBUTTON_LABEL_SUFFIX = "_button_label"; //[
/webclient/common/constants.jsp; Line: 110]
//[ /webclient/common/constants.jsp; Line: 111]
static final int QUERY_NONE = -1; //[
/webclient/common/constants.jsp; Line: 112]
static final int QUERY_ALL = -2; //[ /webclient/common/constants.jsp;
Line: 113]
static final int QUERY_KEY = -3; //[ /webclient/common/constants.jsp;
Line: 114]
static final int QUERY_ALL_BOOKMARKS = -4; //[
/webclient/common/constants.jsp; Line: 115]
//[ /webclient/common/constants.jsp; Line: 116]
static final int EVENT_CONTINUE = 2; //[
/webclient/common/constants.jsp; Line: 117]
//[ /webclient/common/constants.jsp; Line: 118]
static final int CONTROL_PROPERTY_TRANSLATE_FLAG = 1; //[
/webclient/common/constants.jsp; Line: 119]
static final int CONTROL_PROPERTY_GLOBAL_FLAG = 2; //[
/webclient/common/constants.jsp; Line: 120]
static final int CONTROL_PROPERTY_DBPERSIST_FLAG = 4; //[
/webclient/common/constants.jsp; Line: 121]
//[ /webclient/common/constants.jsp; Line: 122]
//For DATE DATE_TIME type controls //[
/webclient/common/constants.jsp; Line: 123]
static final int DATE_TIME_TOKENNUM_DAY = 0; //[
/webclient/common/constants.jsp; Line: 124]
static final int DATE_TIME_TOKENNUM_MONTH = 1; //[
/webclient/common/constants.jsp; Line: 125]
static final int DATE_TIME_TOKENNUM_YEAR = 2; //[
/webclient/common/constants.jsp; Line: 126]
static final int DATE_TIME_TOKENNUM_HOUR = 3; //[
/webclient/common/constants.jsp; Line: 127]
static final int DATE_TIME_TOKENNUM_MINUTE = 4; //[
/webclient/common/constants.jsp; Line: 128]
static final int DATE_TIME_TOKENNUM_SECOND = 5; //[
/webclient/common/constants.jsp; Line: 129]
//[ /webclient/common/constants.jsp; Line: 130]
//[ /webclient/common/constants.jsp; Line: 131]
// StaleIndicator interface
public boolean _isStale() {
weblogic.servlet.jsp.StaleChecker sci
=(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/webclient/login/login.jsp",
1206722144000L, "8.1.4.0", "America/Chicago")) return true;
if (sci.isResourceStale("/webclient/common/constants.jsp",
1120751470000L, "8.1.4.0", "America/Chicago")) return true;
return false;
public static boolean
_staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/webclient/login/login.jsp",
1206722144000L, "8.1.4.0", "America/Chicago")) return true;
if (sci.isResourceStale("/webclient/common/constants.jsp",
1120751470000L, "8.1.4.0", "America/Chicago")) return true;
return false;
private static void _writeText(ServletResponse rsp, JspWriter out,
String block, byte[] blockBytes) throws IOException {
if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) {
out.print(block);
} else {
((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
private static boolean _hasEncodingChanged(ServletResponse rsp) {
if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) {
return false;
return true;
private static boolean WLENCODED_BYTES_OK = true;
private static final String WLORIGINAL_ENCODING = "UTF-8";
private static byte[] _getBytes(String block) {
try {
return block.getBytes(_WL_ORIGINAL_ENCODING);
} catch (java.io.UnsupportedEncodingException u) {
WLENCODED_BYTES_OK = false;
return null;
private final static String wlblock0 = "���";
private final static byte[] wlblock0Bytes = getBytes(wl_block0);
private final static String wlblock1 = "<HTML><HEAD><TITLE>";
private final static byte[] wlblock1Bytes = getBytes(wl_block1);
private final static String wlblock2 = "</TITLE>\r<META
content=\"Evrsoft First Page\"
name=GENERATOR>\r<SCRIPT>\r\tif(window.top.document!=document)\r\t{\r\t\twindow.top.document.location=document.location;\r\t}\r</SCRIPT>\r\r<META
http-equiv=content-type content=\"text/html; charset=UTF-8\"><LINK
\rhref=\"../css/maximo.css\" type=text/css rel=stylesheet><LINK
href=\"css/login.css\" \rtype=text/css rel=stylesheet>\r<SCRIPT
language=JavaScript src=\"../javascript/library.js\"></SCRIPT>\r\r<SCRIPT
language=JavaScript src=\"../javascript/maximo.js\"></SCRIPT>\r</HEAD>\r<BODY
class=bgpage onkeydown=\"javascript:enterkey(); event.cancelBubble=true;\"
\rstyle=\"BACKGROUND-IMAGE: url(images/bg_login_template.jpg)\">\r<TABLE
class=welcometo cellSpacing=0 cellPadding=0 width=\"80%\" border=0>\r
<TBODY>\r <TR>\r <TD noWrap>";
private final static byte[] wlblock2Bytes = getBytes(wl_block2);
private final static String wlblock3 =
"</TD></TR></TBODY></TABLE>\r<TABLE class=releasestamp cellSpacing=0 cellPadding=0 width=\"80%\"
border=0>\r <TBODY>\r <TR>\r <TD><!-- release
--></TD></TR></TBODY></TABLE>\r<TABLE class=companylogo cellSpacing=0 cellPadding=0
border=0>\r <TBODY>\r <TR>\r <TD vAlign=top><IMG
src=\"images/companylogo.gif\"> </TD></TR></TBODY></TABLE>";
private final static byte[] wlblock3Bytes = getBytes(wl_block3);
private final static String wlblock4 = "\r<TABLE class=languagelist
cellSpacing=0 cellPadding=0 border=0>\r <TBODY>\r <TR>\r <TD
class=\"languagetext languageheader\" colSpan=5><IMG height=18 \r
src=\"images/login_icon_language.gif\" width=17 align=absBottom> ";
private final static byte[] wlblock4Bytes = getBytes(wl_block4);
private final static String wlblock5 = "</TD></TR>\r <TR>\r <TD
class=\"languagecolumn languagetext languagetable\">";
private final static byte[] wlblock5Bytes = getBytes(wl_block5);
private final static String wlblock6 = "</TD>\r <TD
class=\"languagecolumn languagetext\">";
private final static byte[] wlblock6Bytes = getBytes(wl_block6);
private final static String wlblock7 = "<A class=languages
\rhref=\"javascript: selectLang(\'";
private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7);
private final static String _wl_block8 = "\')\">";
private final static byte[] wlblock8Bytes = getBytes(wl_block8);
private final static String wlblock9 = "</A><BR>";
private final static byte[] wlblock9Bytes = getBytes(wl_block9);
private final static String wlblock10 = "<SPAN
class=selectedlang>";
private final static byte[] wlblock10Bytes =
getBytes(wl_block10);
private final static String wlblock11 = "</SPAN><BR>";
private final static byte[] wlblock11Bytes =
getBytes(wl_block11);
private final static String wlblock12 =
"</TD></TR></TBODY></TABLE>";
private final static byte[] wlblock12Bytes =
getBytes(wl_block12);
private final static String wlblock13 = "\r<TABLE class=mainbgtable
cellSpacing=0 cellPadding=0 border=0>\r <TBODY>\r <TR>\r <TD>\r
<TABLE class=inputheader cellSpacing=0 cellPadding=0 border=0>\r
<FORM name=loginform action=\"";
private final static byte[] _wl_block13Bytes =
_getBytes(_wl_block13);
private final static String _wl_block14 = "\" method=post>\r
<TBODY>\r <TR>\r <TD>";
private final static byte[] wlblock14Bytes =
getBytes(wl_block14);
private final static String wlblock15 = "</TD>\r <TD
control=\"true\"><INPUT class=\"input_parts text inputfield\" \r
onactivate=textbox_onactivate(this); id=username \r
ondeactivate=\"textbox_ondeactivate(this.parentElement, this);\" \r
size=15 value=\"";
private final static byte[] _wl_block15Bytes =
_getBytes(_wl_block15);
private final static String _wl_block16 = "\" name=username
mxpart=\"textbox\"> </TD></TR>\r <TR>\r <TD>";
private final static byte[] wlblock16Bytes =
getBytes(wl_block16);
private final static String wlblock17 = "</TD>\r <TD
control=\"true\"><INPUT class=\"input_parts text inputfield\" \r
onactivate=textbox_onactivate(this); id=password \r
ondeactivate=\"textbox_ondeactivate(this.parentElement, this);\" \r
type=password size=15 name=password mxpart=\"textbox\"> </TD></TR>\r
<TR>\r <TD> </TD>";
private final static byte[] wlblock17Bytes =
getBytes(wl_block17);
private final static String wlblock18 = "\r <TD
class=pushbutton id=loginbtn control=\"true\" mxpart=\"control\" \r ";
private final static byte[] wlblock18Bytes =
getBytes(wl_block18);
private final static String wlblock19 = "</TD>\r
<TD><IMG height=20 src=\"images/buttonright.gif\" width=9 \r
mxpart=\"right\"></TD></TR></TBODY></TABLE><INPUT \r
id=loginbutton_hidden style=\"VISIBILITY: hidden; HEIGHT: 20px\" \r
type=image src=\"\" border=0 name=login_hidden> </TD></TR><INPUT
id=login \r type=hidden value=true name=login> <INPUT
id=langcode type=hidden \r value=\"";
private final static byte[] _wl_block19Bytes =
_getBytes(_wl_block19);
private final static String _wl_block20 = "\" name=langcode>
</FORM></TBODY></TABLE></TD></TR>\r <TR>\r <TD>\r <TABLE
class=newuserheader cellSpacing=0 cellPadding=0 border=0><!--\r\t<tr>\r <td
valign=\"bottom\"><img src=\"images/login_icon_newuser.gif\"
width=\"17\" height=\"18\" align=\"absmiddle\"> ";
private final static byte[] wlblock20Bytes =
getBytes(wl_block20);
private final static String wlblock21 = " <a
id=\"selfreglink\" href=\'javascript:selfreg()\'>";
private final static byte[] wlblock21Bytes =
getBytes(wl_block21);
private final static String wlblock22 = "</a></td>\r
</tr>\r\t<-->\r <TBODY></TBODY></TABLE>\r <TABLE cellSpacing=0
cellPadding=0 border=0>\r <TBODY>\r
<TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- leave image for scrolling purposes
-->\r<DIV style=\"LEFT: 835px; WIDTH: 10px; POSITION: absolute; TOP:
415px\"><BR></DIV>\r<SCRIPT language=JavaScript>\r<!--\rvar
FIELD_FOCUS_COLOR=\"";
private final static byte[] _wl_block22Bytes =
_getBytes(_wl_block22);
private final static String _wl_block23 = "\";\r\tfunction
selfreg()\r\t{\r\t\tshowWait();\r\t\tdocument.location = \'";
private final static byte[] wlblock23Bytes =
getBytes(wl_block23);
private final static String wlblock24 = "\';\r\t}\r\t\r\tfunction
showWait()\r\t{\r\t\tdocument.body.scroll=\"no\";\r\t\twait =
document.createElement(\"<div id=\'wait_img\' width=\'2000\' height=\'2000\'
class=\'loginwait\' oncontextmenu=\'event.returnValue=false;\'
style=\'background-image:url(../images/wait.gif);cursor:wait;display:none;\'></div>\");\r\t\tif(wait)\r\t\t{\r\t\t\t//window.resizeTo(1024,
768);\r\t\t\t//window.moveTo(0,0);\r\t\t\tdocument.body.insertAdjacentElement(\"BeforeEnd\",wait);\r\t\t\twait.style.height=wait.parentElement.scrollHeight+document.body.clientHeight;\r\t\t\twait.style.width=wait.parentElement.scrollWidth+document.body.clientWidth;\r\t\t\twait.style.cursor=\"wait\";\r\t\t\twait.filters(0).opacity=\"10\";\r\t\t\twait.style.display=\"inline\";\r\t\t\tdocument.body.scroll=\"no\";\r\t\t\twait.style.zIndex=\"1000\";\r\t\t\tdocument.body.onkeydown=noKeys;\r\t\t}\r\t\telse\r\t\t{\r\t\t\tdocument.body.scroll=\"auto\";\r\t\t\tdocument.body.onkeydown=\"\";\r\t\t}\r\t}\r\rfunction
noKeys()\r{\r\tevent.cancelBubble=true;\r\tevent.returnValue=false;\r\treturn
false;\r}\r\rfunction
toggleCheckBox(el)\r{\r\r\tif(event.propertyName!=\'checked\')\r\t\treturn\r\r\tcbInputField=event.srcElement\r\r\tcbImage=document.getElementById(cbInputField.id+\"_image\")\r\r\tif(cbInputField.checked)\r\t{\r\t\tcbImage.src=\"cb_checked.gif\"\r\t}\r\telse\r\t{\r\t\tcbImage.src=\"cb_unchecked.gif\"\r\t}\r\r}\r\r\rfunction
enterkey()\r{\r \tif(event.keyCode == 13
)\r\t{\r\t\tevent.returnValue=false;\r\t\tclickbutton();\r\t}\r}\r\rfunction
clickbutton()\r{\r\tshowWait();\r\tdocument.getElementById(\"loginbutton_hidden\").click();\r}\r\rfunction
selectLang(incode)\r{\r\tdocument.loginform.langcode.value=incode;\r\tvar
loginHidden = document.getElementById(\"login\");\r\tif (loginHidden !=
null)\r\t\tloginHidden.removeNode();\r\tdocument.loginform.submit();\r}\r\rfunction loginFormLoaded()\r{\r\tfocusField=\'username\';\r ";
private final static byte[] wlblock24Bytes =
getBytes(wl_block24);
private final static String wlblock25 = "\r \talert(\"";
private final static byte[] _wl_block25Bytes =
_getBytes(_wl_block25);
private final static String _wl_block26 = "\");\r
\tfocusField=\'username\';\r ";
private final static byte[] wlblock26Bytes =
getBytes(wl_block26);
private final static String wlblock27 = "\r\t\t\talert(\'";
private final static byte[] wlblock27Bytes =
getBytes(wl_block27);
private final static String wlblock28 = "\');\r\t";
private final static byte[] wlblock28Bytes =
getBytes(wl_block28);
private final static String wlblock29 = "\r\twindow.scrollTo(550,
850);\r if (focusField==\'username\' ||
document.loginform.username.value == \"\")\r
{\r\t\tdocument.loginform.username.focus();\r\t\tdocument.loginform.username.select();\r\t}\r\telse
\r\t{\r\t\tif(focusField==\'password\' || document.loginform.password.value ==
\"\")\r\t\t{\r\t\t\tdocument.loginform.password.focus();\r\t\t\tdocument.loginform.password.select();\r\t\t}\r\t\telse\r\t\t\tdocument.getElementById(\"loginlink\").focus();\r\t}\r}\r\rwindow.onload
= loginFormLoaded;\r-->\r</SCRIPT>\r</BODY></HTML>\r\r";
private final static byte[] wlblock29Bytes =
getBytes(wl_block29);
public void _jspService(javax.servlet.http.HttpServletRequest
request, javax.servlet.http.HttpServletResponse response) throws
java.io.IOException, javax.servlet.ServletException
// declare and set well-known variables:
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application =
config.getServletContext();
javax.servlet.jsp.tagext.Tag _activeTag = null;
// variables for Tag extension protocol
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext =
javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 131072, true);
response.setHeader("Content-Type", "text/html; charset=UTF-8");
out = pageContext.getOut();
JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession(true);
try { // error page try block
response.setContentType("text/html;charset=UTF-8");
writeText(response, out, wl_block0, wlblock0Bytes);
//INCLUDE /webclient/common/constants.jsp //[
/webclient/login/login.jsp; Line: 1]
request.setCharacterEncoding("UTF-8"); String url = new
java.net.URL(new java.net.URL(request.getRequestURL().toString()),
request.getContextPath()+"/ui/login").toString(); psdi.util.MXSession s =
psdi.webclient.system.controller.RequestHandler.getMXSession(session); if
(psdi.webclient.system.websession.WebAppEnv.useAppServerSecurity() ||
s.isConnected()) { response.sendRedirect(url); return; } MXException
loginException = (MXException)session.getAttribute("loginexception");
String userName = request.getParameter("username"); if(userName==null)
userName=""; String passWord = requesThe ( was in the code
Here is the exact error message I am getting:
Compilation of 'C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java' failed:
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:365: ';' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:366: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:368: '{' expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:370: expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:372: expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:374: expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:376: expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:378: expected
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: invalid method declaration; return type required
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: ')' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:380: illegal start of type
probably occurred due to an error in /webclient/login/login.jsp line 1:
���<%--
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:392: expected
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:393: 'catch' without 'try'
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:307: 'try' without 'catch' or 'finally'
(No more information available, probably caused by another error)
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:404: '}' expected
(No more information available, probably caused by another error)
Full compiler error(s):
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
out.print(String.valueOf("control_events%" mxevent="clientevent: clickbutton();"
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
controltype="pushbutton">>
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
<TABLE id=loginbtn_table tabIndex=0 cellSpacing=0 cellPadding=0
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:365: ';' expected
<TD
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:366: <identifier> expected
class="text pushbuttonmiddle pushbuttonmiddleback pushbutton_default"
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:368: '{' expected
mxpart="middle"><%=labels[7])); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: invalid method declaration; return type required
writeText(response, out, wl_block19, wlblock19Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: <identifier> expected
writeText(response, out, wl_block19, wlblock19Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: ')' expected
writeText(response, out, wl_block19, wlblock19Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:370: <identifier> expected
out.print(String.valueOf(langcode)); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: invalid method declaration; return type required
writeText(response, out, wl_block20, wlblock20Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: <identifier> expected
writeText(response, out, wl_block20, wlblock20Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: ')' expected
writeText(response, out, wl_block20, wlblock20Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:372: <identifier> expected
out.print(String.valueOf(labels[4])); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: invalid method declaration; return type required
writeText(response, out, wl_block21, wlblock21Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: <identifier> expected
writeText(response, out, wl_block21, wlblock21Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: ')' expected
writeText(response, out, wl_block21, wlblock21Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:374: <identifier> expected
out.print(String.valueOf(labels[5])); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: invalid method declaration; return type required
writeText(response, out, wl_block22, wlblock22Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: <identifier> expected
writeText(response, out, wl_block22, wlblock22Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: ')' expected
writeText(response, out, wl_block22, wlblock22Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:376: <identifier> expected
out.print(String.valueOf( FIELD_FOCUS_COLOR )); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: invalid method declaration; return type required
writeText(response, out, wl_block23, wlblock23Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: <identifier> expected
writeText(response, out, wl_block23, wlblock23Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: ')' expected
writeText(response, out, wl_block23, wlblock23Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:378: <identifier> expected
out.print(String.valueOf(url + "?event=loadapp&value=selfreg&login=selfreg" + (langcode == null ? "" : "&langcode=" + langcode))); //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: invalid method declaration; return type required
writeText(response, out, wl_block24, wlblock24Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: <identifier> expected
writeText(response, out, wl_block24, wlblock24Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: ')' expected
writeText(response, out, wl_block24, wlblock24Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:380: illegal start of type
if (loginException != null) { //[ /webclient/login/login.jsp; Line: 1]
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:392: <identifier> expected
writeText(response, out, wl_block29, wlblock29Bytes);
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:393: 'catch' without 'try'
} catch (Throwable __ee) {
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:307: 'try' without 'catch' or 'finally'
try { // error page try block
^
C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:404: '}' expected
^
34 errors
Sat Jul 19 17:51:57 CDT 2008
I have the code that it is trying to read on the first message. This was working early this morning and then this afternoon it came up with the errors. Nothing was changed. -
Trapping jsp compilation errors
I'd like to trap jsp compilation errors and have an error page displayed instead,
but I am currently having difficulty doing this using 6.1 sp1. I've tried a number
of things in the web.xml file:
1) using the error-page directive to trap error code 500
2) using the error-page directive to trap weblogic.servlet.jsp.JspException
3) using the error-page directive to trap java.lang.RuntimeException
4) using the error-page directive to trap java.lang.Exception
In all cases, an error code of 500 is returned to the client instead of my error
page being called.
Any suggestions or insights?
Thanks...
Steve...
Unfortunately, this isn't an option for us because the pages are created on demand,
so our only chance to capture compilation errors is during the fulfillment of
the client's request. We do not anticipate any compilation errors, but then again,
you can't anticipate everything.
Steve...
Nils Winkler <[email protected]> wrote:
>Hi,
>
>this might not be what you're looking for, but how about precompiling
>the jsp files before they are deployed? This way you will hit
>compilation before deploying the JSP files to the server.
>
>Nils
>
>Steve Gamble wrote:
>>
>> To trap the 500 error:
>>
>> <error-page>
>> <error-code>500</error-code>
>> <location>/internalerror.do</location>
>> </error-page>
>>
>> To trap exceptions:
>>
>> <error-page>
>> <exception-type>javax.servlet.ServletException</exception-type>
>> <location>/internalerror.do</location>
>> </error-page>
>>
>> where similar blocks for
>> - javax.servlet.jsp.JspException
>> - java.lang.Exception
>> - java.lang.RuntimeException
>> - weblogic.servlet.jsp.JspException
>>
>> If I modify my code to deliberately throw a ServletException, then
>the error-page
>> is used correctly. If I modify a jsp so that it has a syntax error,
>then the
>> compilation exception is not caught by any of the error-page directives.
>>
>> Thanks in advance...
>> Steve...
>>
>> "Bob Lee" <[email protected]> wrote:
>> >Can you post the directive you are using?
>> >
>> >Bob
>> >
>> >"Steve Gamble" <[email protected]> wrote in message
>> >news:[email protected]...
>> >>
>> >> I'd like to trap jsp compilation errors and have an error page displayed
>> >instead,
>> >> but I am currently having difficulty doing this using 6.1 sp1.
>I've
>> >tried
>> >a number
>> >> of things in the web.xml file:
>> >>
>> >> 1) using the error-page directive to trap error code 500
>> >> 2) using the error-page directive to trap
>> >weblogic.servlet.jsp.JspException
>> >> 3) using the error-page directive to trap java.lang.RuntimeException
>> >> 4) using the error-page directive to trap java.lang.Exception
>> >>
>> >> In all cases, an error code of 500 is returned to the client instead
>> >of my
>> >error
>> >> page being called.
>> >>
>> >> Any suggestions or insights?
>> >>
>> >> Thanks...
>> >> Steve...
>> >
>> >
>
>--
>============================
>[email protected]
-
JSP compilation errors in weblogic 6.1
I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
Full compiler error(s):
error: Invalid class file format:
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:34: Class
com.ford.redherring.model.PropertiesAttributesModel not found in import.
import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 64]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
not found in import.
import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
Line: 68]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
not found in import.
import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
Line: 69]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
not found in import.
import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
Line: 70]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:41: Class
com.ford.redherring.model.DDValidationModel not found in import.
import com.ford.redherring.model.DDValidationModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 71]
This appears to be a CLASSPATH problem (you are missing references to
'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
CLASSPATH may be set in the server startup script. Hope this helps.
Wade.
"Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
> I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
>
> ----------------------------------------------------------------------------
> ----
> Full compiler error(s):
> error: Invalid class file format:
>
>
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:34: Class
> com.ford.redherring.model.PropertiesAttributesModel not found in import.
> import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 64]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
> not found in import.
> import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 68]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
> not found in import.
> import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 69]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
> not found in import.
> import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 70]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:41: Class
> com.ford.redherring.model.DDValidationModel not found in import.
> import com.ford.redherring.model.DDValidationModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 71]
-
Hello Everyone,
I've a some JSP's that work some times and fail sometime with
<head>
<title>Javelin JSP compilation error</title>
</head>
<body>
<b>Compilation of JSP File '/jsp/temp/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
<pre>
I tried restarting the server, removing .wlnotdelete and couple of other things.
Why the JSP is compiled everytime(even if the server is not restarted) and Why a good looking no error JSP failis loading everytime.
Can anyone please help.
~ALAPATII'm using bea weblogic 8.1 SP5.
Java - jrockit81sp5_142_08
<head>
<title>Javelin JSP compilation error</title>
</head>
<body>
<b>Compilation of JSP File '/jsp/output/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
<pre>
Errors found in <PATH TO THE FILE>/Index.jsp:
Error at line 397 column 55:
Description: Type <MyClass> contains no field with this name.
Error at line 399 column 13:
Description: Type <Another Class> contains no methods with this name.
Found 2 error(s) and 0 warning(s).
</pre>
</body></html>
>
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/output/Index.jsp<html>
<head>
<title>Javelin JSP compilation error</title>
</head>
<body>
<b>Compilation of JSP File '/jsp/output/Index.jsp' <font color=#FF0000>failed</font>:</b><HR>
<pre>
Errors found in <PATH TO FILE>/Index.jsp:
Error at line 397 column 55:
Description: Type <MyClass> contains no field with this name.
Error at line 399 column 13:
Description: Type <Another Class> contains no methods with this name.
Found 2 error(s) and 0 warning(s).
</pre>
</body></html>
at weblogic.servlet.jsp.WlwJspStub.compilePage(WlwJspStub.java:208)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilter.java:265)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
2 errors javelin complaining is because of this.
1) I'm trying to access MyClass.SHOW_ME_TEXT
2) I'm trying to create an object of AnotherClass by new AnotherClass();
Please let me know if you want more details. -
Hi,
In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
A bit longer:
We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
Thank you in advance.Hi Steven,
Thanks for your comments.
Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
objects, right!
If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
for some newbies like us. We need something we can trust.
BR
Peter -
Why do I get the JSP compilation error?
Why do I get the JSP compilation error?
Envionment:
AIX,WLS 5.1 sp10,.........
Thu Jun 07 11:54:41 CDT 2001:<I> <ServletContext-dcms> Generated java
file: /usr/local/weblogic/test-weblogic/weblogic/myserver/dcms
web/app/tmp_war/jsp_servlet/_report/_walmart_95_prod_95_proof_95_report.java
Thu Jun 07 11:54:42 CDT 2001:<E> <ServletContext-dcms> Compilation of
/usr/local/weblogic/test-weblogic/weblogic/myserver/dcms_web/a
pp/_tmp_war/jsp_servlet/_report/_walmart_95_prod_95_proof_95_report.java
failed: Exception in thread "main" java.lang.NoClassDefFoun
dError: sun/tools/javac/Main
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[javac, -classpath,
/usr/java_dev2/jre/sh/../lib/rt.jar:/usr
/java_dev2/jre/sh/../lib/i18n.jar:/usr/java_dev2/jre/sh/../classes:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./anderson_co
mmon/3rd_party_jars/jt400.jar:/usr/lpp/db2_07_01/java/db2java.zip::./lib/weblogic510sp8boot.jar:./license:./classes:./lib/weblogicau
x.jar:./myserver/serverclasses:./anderson_common/3rd_party_jars/jt400.jar:/usr/lpp/db2_07_01/java/db2java.zip::./classes/dcms/com.ib
m.mq.iiop.jar:./classes/dcms/com.ibm.mq.jar:./classes/dcms/com.ibm.mqbind.jar:./classes/dcms/com.ibm.mqjms.jar:./classes/dcms/com_au
th.jar:./classes/dcms/com_auth_server.jar:./classes/dcms/com_io.jar:./classes/dcms/com_jms.jar:./classes/dcms/com_jndi.jar:./classes
/dcms/com_system.jar:./classes/dcms/com_system_server.jar:./classes/dcms/com_util.jar:./classes/dcms/dcms_common.jar:./classes/dcms/
dcms_common_server.jar:./classes/dcms/dcms_dl_render_server.jar:./classes/dcms/dcms_finalresting_server.jar:./classes/dcms/dcms_fulf
illment.jar:./classes/dcms/dcms_fulfillment_server.jar:./classes/dcms/dcms_fulfillment_walmart_server.jar:./classes/dcms/dcms_lookup
_server.jar:./classes/dcms/dcms_media_server.jar:./classes/dcms/dcms_order.jar:./classes/dcms/dcms_order_server.jar:./classes/dcms/d
cms_order_session.jar:./classes/dcms/dcms_product.jar:./classes/dcms/dcms_product_server.jar:./classes/dcms/dcms_render_client.jar:.
/classes/dcms/dcms_render_server.jar:./classes/dcms/dcms_talent_server.jar:./classes/dcms/dcms_talent.jar:./classes/dcms/dcms_walmar
t.jar:./classes/dcms/dcms_walmart_server.jar:./classes/dcms/dcms_jms.jar:./classes/dcms/xreport_pro.jar:./classes/dcms/xtools.jar:./
classes/dcms/jms.jar:./classes/dcms/dcms_sql.jar:./classes/dcms/dcms_product_sql.jar::/usr/local/weblogic/test-weblogic/weblogic/mys
erver/tmp_deployments/ejbjar-4971.jar:/usr/local/weblogic/test-weblogic/weblogic/lib/persistence/WebLogic_RDBMS.jar:/usr/local/weblo
gic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4970.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployme
nts/ejbjar-4969.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4968.jar:/usr/local/weblogic/test-web
logic/weblogic/myserver/tmp_deployments/ejbjar-4967.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4
966.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4965.jar:/usr/local/weblogic/test-weblogic/weblog
ic/myserver/tmp_deployments/ejbjar-4964.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4963.jar:/usr
/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4962.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/
tmp_deployments/ejbjar-4961.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4960.jar:/usr/local/weblo
gic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4959.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployme
nts/ejbjar-4958.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4957.jar:/usr/local/weblogic/test-web
logic/weblogic/myserver/tmp_deployments/ejbjar-4956.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4
955.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4954.jar:/usr/local/weblogic/test-weblogic/weblog
ic/myserver/tmp_deployments/ejbjar-4953.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4952.jar:/usr
/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4951.jar:/usr/local/weblogic/test-weblogic/weblogic/./myserve
r/dcms_web/app/WEB-INF/classes:/usr/local/test-weblogic/weblogic/myserver/dcms_web/app/WEB-INF/classes:/usr/local/weblogic/test-webl
ogic/weblogic/./myserver/dcms_web/app/_tmp_war:/usr/local/weblogic/test-weblogic/weblogic/myserver/dcms_web/app/_tmp_war,
-d, /usr/l
ocal/weblogic/test-weblogic/weblogic/myserver/dcms_web/app/_tmp_war,
/usr/local/weblogic/test-weblogic/weblogic/myserver/dcms_web/ap
p/_tmp_war/jsp_servlet/_report/_walmart_95_prod_95_proof_95_report.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:396)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:202)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:284)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java(Compiled
Code))
at com.web.CommonWebUtils.forward(CommonWebUtils.java(Compiled
Code))
at com.web.PageNavServlet.service(PageNavServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------------------Caught exception while forwarding to page
/report/walmart_prod_proof_report.jsp------------------------
----------------------Exception java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[javac, -classpath, /usr/jav
a_dev2/jre/sh/../lib/rt.jar:/usr/java_dev2/jre/sh/../lib/i18n.jar:/usr/java_dev2/jre/sh/../classes:./classes/boot:./eval/cloudscape/
lib/cloudscape.jar:./anderson_common/3rd_party_jars/jt400.jar:/usr/lpp/db2_07_01/java/db2java.zip::./lib/weblogic510sp8boot.jar:./li
cense:./classes:./lib/weblogicaux.jar:./myserver/serverclasses:./anderson_common/3rd_party_jars/jt400.jar:/usr/lpp/db2_07_01/java/db
2java.zip::./classes/dcms/com.ibm.mq.iiop.jar:./classes/dcms/com.ibm.mq.jar:./classes/dcms/com.ibm.mqbind.jar:./classes/dcms/com.ibm
.mqjms.jar:./classes/dcms/com_auth.jar:./classes/dcms/com_auth_server.jar:./classes/dcms/com_io.jar:./classes/dcms/com_jms.jar:./cla
sses/dcms/com_jndi.jar:./classes/dcms/com_system.jar:./classes/dcms/com_system_server.jar:./classes/dcms/com_util.jar:./classes/dcms
/dcms_common.jar:./classes/dcms/dcms_common_server.jar:./classes/dcms/dcms_dl_render_server.jar:./classes/dcms/dcms_finalresting_ser
ver.jar:./classes/dcms/dcms_fulfillment.jar:./classes/dcms/dcms_fulfillment_server.jar:./classes/dcms/dcms_fulfillment_walmart_serve
r.jar:./classes/dcms/dcms_lookup_server.jar:./classes/dcms/dcms_med
rder_server.jar:./classes/dcms/dcms_order_session.jar:./classes/dcm
es/dcms/dcms_render_client.jar:./classes/dcms/dcms_render_server.jar:./classes/dcms/dcms_talent_server.jar:./classes/dcms/dcms_talen
t.jar:./classes/dcms/dcms_walmart.jar:./classes/dcms/dcms_walmart_server.jar:./classes/dcms/dcms_jms.jar:./classes/dcms/xreport_pro.
jar:./classes/dcms/xtools.jar:./classes/dcms/jms.jar:./classes/dcms/dcms_sql.jar:./classes/dcms/dcms_product_sql.jar::/usr/local/web
logic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4971.jar:/usr/local/weblogic/test-weblogic/weblogic/lib/persistence/Web
Logic_RDBMS.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4970.jar:/usr/local/weblogic/test-weblogi
c/weblogic/myserver/tmp_deployments/ejbjar-4969.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4968.
jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4967.jar:/usr/local/weblogic/test-weblogic/weblogic/m
yserver/tmp_deployments/ejbjar-4966.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4965.jar:/usr/loc
al/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4964.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_
deployments/ejbjar-4963.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4962.jar:/usr/local/weblogic/
test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4961.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/
ejbjar-4960.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4959.jar:/usr/local/weblogic/test-weblogi
c/weblogic/myserver/tmp_deployments/ejbjar-4958.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4957.
jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4956.jar:/usr/local/weblogic/test-weblogic/weblogic/m
yserver/tmp_deployments/ejbjar-4955.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4954.jar:/usr/loc
al/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4953.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_
deployments/ejbjar-4952.jar:/usr/local/weblogic/test-weblogic/weblogic/myserver/tmp_deployments/ejbjar-4951.jar:/usr/local/weblogic/
test-weblogic/weblogic/./myserver/dcms_web/app/WEB-INF/classes:/usr/local/test-weblogic/weblogic/myserver/dcms_web/app/WEB-INF/class
es:/usr/local/weblogic/test-weblogic/weblogic/./myserver/dcms_web/app/_tmp_war:/usr/local/weblogic/test-weblogic/weblogic/myserver/d
cms_web/app/_tmp_war, -d,
/usr/local/weblogic/test-weblogic/weblogic/myserver/dcms_web/app/_tmp_war,
/usr/local/weblogic/test-weblog
ic/weblogic/myserver/dcms_web/app/_tmp_war/jsp_servlet/_report/_walmart_95_prod_95_proof_95_report.java])------------------------
Hi, im getting the same thing,
Been tryin to download it for days but keeps saying "Invalid signature"
I even went into ADD REMOVE PROGRAMS hit Apple software update and change and then repair but this did not work.
Help much appreciated. Thanks -
How to see JSP compilation errors - Tomcat 4.1.18- JDK 1.4
Hi There,
I'm kind of new to JSP world, so once in while I forget to put a ; or I put a variable name wrong (I usualy use Eclipse to do my coding in JAVA, but the existing plugins for JSP development are still in their early stages, so there's isn't any plugin that indicates errors on JSP before deploying them).
When I try to see a JSP, if it has an error (compilation-time error), I get this message:
<--->
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
<--->
This doesn't help me a lot to fix the problem, I would like to, at least, see from what line the error came from.
Help anyone?
Thank You
PinhoThis kind of errors often come from syntax error in
the jsp page.
Tomcat is not very friendly with this kind of errors.
A trick is to open the java file under the 'work'
directory and checkIsn't there any way to show the error on a page, just like a run-time error?
Maybe changing some log setting? -
Weblogic 6.1 under Red Hat 7 not indicating JSP compile errors
I downloaded Weblogic 6.1 under Red Hat 7 and ran the console installation. Then
I created $WL_HOME/config/mydomain/applications/DefaultWebApp/test.jsp as follows:
<html>
<head><title>Hello World</title></head>
<body>
<% String hello = "Hello"; %>
<%= hello %> World!
</body>
</html>
Then I put the url in my favorite web browser and saw the "Hello World!" page.
Next I changed test.jsp to have the following:
<html>
<head><title>Hello World</title></head>
<body>
<%= hello %> World!
</body>
</html>
I then refreshed the url with my favorite browser.
The expected behavior is a compile error in test.jsp because the variable "hello"
is not defined. However Weblogic gives no indication of the compile error and
sends the HTML output of the previously compiled servlet. I have tried this with
both the Windows and Solaris versions and I get the compile error as expected.
My question is this:
Is there a fix for this yet? If so, then from where do I download it?
Thanks in advance,
CraigHi.
You need to do 1 of 2 things to get WLS to notice it has a new webapp component:
1. undeploy and deploy the webapp or
2. use the webapp component refresh tools as follows:
java weblogic.management.tools.WebAppComponentRefreshTool [options]
running this with no options prints out a usage message.
Hope this helps,
Michael
Craig Andrews-Jones wrote:
I downloaded Weblogic 6.1 under Red Hat 7 and ran the console installation. Then
I created $WL_HOME/config/mydomain/applications/DefaultWebApp/test.jsp as follows:
<html>
<head><title>Hello World</title></head>
<body>
<% String hello = "Hello"; %>
<%= hello %> World!
</body>
</html>
Then I put the url in my favorite web browser and saw the "Hello World!" page.
Next I changed test.jsp to have the following:
<html>
<head><title>Hello World</title></head>
<body>
<%= hello %> World!
</body>
</html>
I then refreshed the url with my favorite browser.
The expected behavior is a compile error in test.jsp because the variable "hello"
is not defined. However Weblogic gives no indication of the compile error and
sends the HTML output of the previously compiled servlet. I have tried this with
both the Windows and Solaris versions and I get the compile error as expected.
My question is this:
Is there a fix for this yet? If so, then from where do I download it?
Thanks in advance,
Craig--
Developer Relations Engineer
BEA Support -
Getting error while deploying the component from VC 6.0 to Portal 6.0
Hi all,
we are working on Portal 6.0 sp 11 and trying to deploy some components from VC 6.0 to the portal. The developed components on VC gives the desired output on preview. but while deploying it gives the errorr
Error in executing a process for compilation, .\GUIMachine_Business_Packages\TESTRED_24360\com.autogen.guimachine_1104120045\src.core\Iviewred_ctl.java:46: cannot resolve symbol
symbol : constructor BIOlapFunction (java.lang.String,com.sapportals.guimachine.ep5kit.Iviewred_ctl,java.lang.String,java.lang.String,java.lang.String,int,int,java.lang.String)
location: class com.sap.portal.guimachine.bikit.runtime.BIOlapFunction
BIOlapFunction BIO1OZ = new BIOlapFunction ("BIO1OZ", this, profile.getProperty("System1"), "BIO_DEFAULT", "<Objects id=\"\" type=\"TEMPLATE_METADATA\"><Object id=\"0\" type=\"SCHEMA\" name=\"$INFOCUBE\"/><Object id=\"0\" type=\"CUBE\" name=\"$EMP_CUBE\"/><Object id=\"1\" type=\"MEASURE_DIMENSION\" name=\"Key Figures\" uniquename=\"[Measures]\"/></Objects><Objects id=\"\" type=\"TEMPLATE_PARAMETER\"><Object id=\"CUBE\" type=\"TEMPLATE_PARAMETER\" text=\"$EMP_CUBE\" value=\"$EMP_CUBE\" techname=\"null\" uniquename=\"null\"/><Object id=\"MEASURES\" type=\"TEMPLATE_PARAMETER\" text=\"[Measures].[SALARY]\" value=\"[Measures].[SALARY]\" techname=\"null\" uniquename=\"null\"/></Objects><Objects id=\"\" type=\"TEMPLATE_FILTER\"/>",2,500,"KEY");
^
1 error
can any one help us .
Rajendra RedekarHi Rajendra,
What Patch level of VC 6.0 are you using?
In the installable folder of your VC you'll find some sda files in the portal addon folder.
The list of sda files are:
com.sap.visualcomposer.portalcontent.sda
com.sap.visualcomposer.sda
BIUDISystems.sda
com.sap.visualcomposer.BIKit.sda
com.sap.visualcomposer.BIKitQV.ear
Deploy those if they are relevant to SP11 of EP 6.0. Otherwise get those sda files for EP 6.0 SP 11 from service marketplace and deploy them into your portal.
Thanks in advance,
Deep
Message was edited by: Deep Chakrabarti
Maybe you are looking for
-
How to transfer special stock type ''O'' from unrestricted into blocked
Hello! I would like to finD out if there is any movement type which would move sprecial stock ''O'' (provided for Vendor) from unrestricted to blocked? The stock should still belong to vendor afterthat. We want to move the quantity of some batches in
-
How to get rid of Stand in Safari?
Since I have installed Mountain Lion, with Safari 6, I get error messages all linked to Stand. It doesn't prevent Safari from functionning. I have tried getting rid of Stand in Safari. I have erased the bundle in the SIMBL folder. I have erased the f
-
Hi my ipad 3 16gb with iso7 turns of then straight back on can anyone help please
Hi my ipad 3 16gb with iso7 turns of then straight back on can anyone help please
-
when i open an app such as facebook, msn, or even the app store, there is a notification feature. but i have to open the app first to discover if there any notifications, instead of it telling me(which it does once i close the app). i was just wonder
-
What are the Benefits of Implementing SAP
Could someone tell me how a company benefits from implementing SAP?