Sci.isResourceStale error
We're using Weblogic 5.10 sp 8 on Solaris with SDK1.3. We're often getting the following exception even inside or outside a webapp :
Wed Mar 21 17:22:37 CET 2001:<E> <WebAppServletContext-error> Compilation of /data/apps/weblogic/webapps/error/WEB-INF/_tmp_
/data/apps/weblogic/webapps/error/WEB-INF/_tmp_war_error/jsp_compiled/_error.java:48: isResourceStale(java.lang.String,long)
if (sci.isResourceStale("/error.jsp", 985191537000L, "5.1.0 Service Pack 8 12/20/2000 16:34:54 #95137")) return true
^
1 error
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac, -classpath, /weblogic/sdk/
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:168)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:101)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Wed Mar 21 17:22:37 CET 2001:<E> <WebAppServletContext-error> Servlet failed with Exception
java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac, -classpath, /weblogic/sdk/
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:168)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:101)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
[att1.html]
Easy.
You were (possibly) running with WLS 5.1 sp1. The jsps were compiled
into .class files.
Then you installed sp8. The JSPs were not recompiled because the
source .jsp files were not updated.
Voila.
"Laurent PAILLARD" <[email protected]> wrote:
>How could it be ?? Only one classpath is declared in start
>script
>
>"Mike Reiche" <[email protected]> a écrit dans le message
>news:
>[email protected]...
>>
>> The JSP -> java is being generated with SP8, but the
>javac that
>> is compling the .java file does not have SP8 in it's
>classpath.
>>
>> Mike
>>
>> "Laurent PAILLARD" <[email protected]>
>wrote:
>> >C'est un message de format MIME en plusieurs parties.
>> >
>> >
>> >We're using Weblogic 5.10 sp 8 on Solaris with SDK1.3.
>> >We're often =
>> >getting the following exception even inside or outside
>> >a webapp :
>> >
>> >Wed Mar 21 17:22:37 CET 2001:<E> <WebAppServletContext-error>
>> >=
>> >Compilation of /data/apps/weblogic/webapps/error/WEB-INF/_tmp_
>>
>>/data/apps/weblogic/webapps/error/WEB-INF/_tmp_war_error/jsp_compiled/_er=
>> >ror.java:48: isResourceStale(java.lang.String,long)
>> > if (sci.isResourceStale("/error.jsp", 985191537000L,
>> >"5.1.0 =
>> >Service Pack 8 12/20/2000 16:34:54 #95137")) return
>true
>> > ^
>> >1 error
>> >
>> >java.io.IOException: Compiler failed =
>> >executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac,
>> >-classpath, =
>> >/weblogic/sdk/
>> > at =
>>
>>weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
>> >java:439)
>> > at =
>>
>>weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)=
>> >
>> > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
>> > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
>> > at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)
>> > at =
>>
>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java=
>> >:168)
>> > at =
>>
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
>> >ava:101)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:907)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:851)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCont=
>> >extManager.java:252)
>> > at =
>>
>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:36=
>> >4)
>> > at =
>> >weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
>> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>> > =20
>> >
>> >Wed Mar 21 17:22:37 CET 2001:<E> <WebAppServletContext-error>
>> >Servlet =
>> >failed with Exception
>> >java.io.IOException: Compiler failed =
>> >executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac,
>> >-classpath, =
>> >/weblogic/sdk/
>> > at =
>>
>>weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
>> >java:439)
>> > at =
>>
>>weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)=
>> >
>> > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)
>> > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)
>> > at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)
>> > at =
>>
>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java=
>> >:168)
>> > at =
>>
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
>> >ava:101)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:907)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:851)
>> > at =
>>
>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCont=
>> >extManager.java:252)
>> > at =
>>
>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:36=
>> >4)
>> > at =
>> >weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
>> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>> >=20
>> >
>> >
>> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> ><HTML><HEAD>
>> ><META http-equiv=3DContent-Type content=3D"text/html;
>> >=
>> >charset=3Diso-8859-1">
>> ><META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
>> ><STYLE></STYLE>
>> ></HEAD>
>> ><BODY bgColor=3D#ffffff>
>> ><DIV><FONT face=3DArial size=3D2>We're using Weblogic
>> >5.10 sp 8 on =
>> >Solaris with=20
>> >SDK1.3. We're often getting the following exception
>> >even inside or =
>> >outside=20
>> >a webapp :</FONT></DIV>
>> ><DIV><FONT face=3DArial size=3D2></FONT> </DIV>
>> ><DIV><FONT face=3DArial size=3D2>Wed Mar 21 17:22:37
>CET
>> >2001:<E>=20
>> ><WebAppServletContext-error> Compilation of=20
>>
>>/data/apps/weblogic/webapps/error/WEB-INF/_tmp_<BR>/data/apps/weblogic/we=
>> >bapps/error/WEB-INF/_tmp_war_error/jsp_compiled/_error.java:48:=20
>> >isResourceStale(java.lang.String,long)<BR> &=
>> >nbsp; =20
>> >if (sci.isResourceStale("/error.jsp", 985191537000L,
>"5.1.0
>> >Service Pack =
>> >8=20
>> >12/20/2000 16:34:54 #95137")) return=20
>> >true<BR> =
>> >; =20
>> >^<BR>1 error</FONT></DIV>
>> ><DIV><FONT face=3DArial size=3D2></FONT> </DIV>
>> ><DIV><FONT face=3DArial size=3D2>java.io.IOException:
>> >Compiler failed=20
>> >executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac,
>> >-classpath, =
>> >
>> >/weblogic/sdk/<BR>
>> >at=20
>>
>>weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
>> >java:439)<BR> =20
>> >at=20
>>
>>weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)=
>> ><BR> =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)<BR>
>=
>> >; =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)<BR>
>&n=
>> >bsp; =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)<BR>
>&nb=
>> >sp; =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java=
>> >:168)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
>> >ava:101)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:907)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:851)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCont=
>> >extManager.java:252)<BR> =20
>> >at=20
>>
>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:36=
>> >4)<BR> =20
>> >at=20
>>
>>weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)<BR>=
>> > =20
>> >at =
>> >weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>&nbs=
>> >p;=20
>> ></FONT></DIV>
>> ><DIV><FONT face=3DArial size=3D2></FONT> </DIV>
>> ><DIV><FONT face=3DArial size=3D2>Wed Mar 21 17:22:37
>CET
>> >2001:<E>=20
>> ><WebAppServletContext-error> Servlet failed with=20
>> >Exception<BR>java.io.IOException: Compiler failed=20
>> >executable.exec([Ljava.lang.String;[/weblogic/sdk/bin/javac,
>> >-classpath, =
>> >
>> >/weblogic/sdk/<BR>
>> >at=20
>>
>>weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
>> >java:439)<BR> =20
>> >at=20
>>
>>weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)=
>> ><BR> =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:337)<BR>
>=
>> >; =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:217)<BR>
>&n=
>> >bsp; =20
>> >at=20
>> >weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:99)<BR>
>&nb=
>> >sp; =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java=
>> >:168)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.j=
>> >ava:101)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:907)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContext=
>> >Impl.java:851)<BR> =20
>> >at=20
>>
>>weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletCont=
>> >extManager.java:252)<BR> =20
>> >at=20
>>
>>weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:36=
>> >4)<BR> =20
>> >at=20
>>
>>weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)<BR>=
>> > =20
>> >at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>=20
>> ></FONT></DIV></BODY></HTML>
>> >
>> >
>>
>
>
Similar Messages
-
Error: Wrong number of arguments in method
Hi all,
I keep getting the above mentioned error when compiling simple JSPs with
only a few lines of codes. Here are the log dump.
Mon Aug 07 20:02:30 GMT+08:00 2000:<I> <ServletContext-General> file: init
Mon Aug 07 20:02:30 GMT+08:00 2000:<E> <ServletContext-General> Cannot find
resource 'language.html' in document root 'C:\weblogic\myserver\public_html'
Mon Aug 07 20:02:30 GMT+08:00 2000:<E> <ServletContext-General> Cannot find
resource 'top.html' in document root 'C:\weblogic\myserver\public_html'
Mon Aug 07 20:02:30 GMT+08:00 2000:<E> <ServletContext-General> Cannot find
resource 'language.html' in document root 'C:\weblogic\myserver\public_html'
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: init
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
verbose initialized to: true
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
packagePrefix initialized to: jsp
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
compileCommand initialized to: C:/jdk1.2.2/bin/javac.exe
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
srcCompiler initialized to weblogic.jspc
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
superclass initialized to null
Mon Aug 07 20:02:54 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
workingDir initialized to: C:\weblogic\myserver\classfiles
Mon Aug 07 20:02:55 GMT+08:00 2000:<I> <ServletContext-General> *.jsp: param
pageCheckSeconds initialized to: 1
Mon Aug 07 20:02:55 GMT+08:00 2000:<I> <ServletContext-General> *.jsp:
initialization complete
Mon Aug 07 20:02:55 GMT+08:00 2000:<I> <ServletContext-General> Generated
java file: C:\weblogic\myserver\classfiles\jsp\helloworld.java
Mon Aug 07 20:02:59 GMT+08:00 2000:<E> <ServletContext-General> Compilation
of C:\weblogic\myserver\classfiles\jsp\helloworld.java failed:
C:\weblogic\myserver\classfiles\jsp\helloworld.java:54: Wrong number of
arguments in method.
if (sci.isResourceStale("/helloworld.jsp", 933320916000L, "5.1.0
Service Pack 4 06/29/2000 18:18:23 #74560")) return true;
^
C:\weblogic\myserver\classfiles\jsp\helloworld.java:55: Wrong number of
arguments in method.
if (sci.isResourceStale("/dukebanner.html", 933321078000L, "5.1.0
Service Pack 4 06/29/2000 18:18:23 #74560")) return true;
^
2 errors
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/jdk1.2.2/bin/javac.exe, -classpath,
c:\weblogic\lib\weblogic510sp4boot.jar;c:\weblogic\myserver\User.jar;c:\webl
ogic\myserver\Person.jar;c:\weblogic\myserver\TradingAccount.jar;c:\weblogic
\myserver\uniquesequence.jar;c:\weblogic\myserver\stockbroker.jar;;C:\jdk1.2
.2\jre\lib\rt.jar;C:\jdk1.2.2\jre\lib\i18n.jar;C:\weblogic\classes\boot;C:\w
eblogic\eval\cloudscape\lib\cloudscape.jar;c:\weblogic\lib\weblogic510sp4.ja
r;c:\weblogic\license;c:\weblogic\classes;c:\weblogic\myserver\serverclasses
;c:\weblogic\lib\weblogicaux.jar;C:\weblogic\myserver\tmp_deployments\ejbjar
-10126.jar;C:\weblogic\lib\persistence\WebLogic_RDBMS.jar;C:\weblogic\myserv
er\tmp_deployments\ejbjar-10125.jar;C:\weblogic\myserver\tmp_deployments\ejb
jar-10124.jar;C:\weblogic\myserver\tmp_deployments\ejbjar-10123.jar;C:\weblo
gic\myserver\tmp_deployments\ejbjar-10122.jar;C:\weblogic\myserver\tmp_deplo
yments\ejbjar-10121.jar;C:\weblogic\myserver\servletclasses;C:\weblogic\myse
rver\classfiles, -d, C:\weblogic\myserver\classfiles,
C:\weblogic\myserver\classfiles\jsp\helloworld.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
a, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
7)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:142)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Mon Aug 07 20:02:59 GMT+08:00 2000:<E> <ServletContext-General> Servlet
failed with Exception
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[C:/jdk1.2.2/bin/javac.exe, -classpath,
c:\weblogic\lib\weblogic510sp4boot.jar;c:\weblogic\myserver\User.jar;c:\webl
ogic\myserver\Person.jar;c:\weblogic\myserver\TradingAccount.jar;c:\weblogic
\myserver\uniquesequence.jar;c:\weblogic\myserver\stockbroker.jar;;C:\jdk1.2
.2\jre\lib\rt.jar;C:\jdk1.2.2\jre\lib\i18n.jar;C:\weblogic\classes\boot;C:\w
eblogic\eval\cloudscape\lib\cloudscape.jar;c:\weblogic\lib\weblogic510sp4.ja
r;c:\weblogic\license;c:\weblogic\classes;c:\weblogic\myserver\serverclasses
;c:\weblogic\lib\weblogicaux.jar;C:\weblogic\myserver\tmp_deployments\ejbjar
-10126.jar;C:\weblogic\lib\persistence\WebLogic_RDBMS.jar;C:\weblogic\myserv
er\tmp_deployments\ejbjar-10125.jar;C:\weblogic\myserver\tmp_deployments\ejb
jar-10124.jar;C:\weblogic\myserver\tmp_deployments\ejbjar-10123.jar;C:\weblo
gic\myserver\tmp_deployments\ejbjar-10122.jar;C:\weblogic\myserver\tmp_deplo
yments\ejbjar-10121.jar;C:\weblogic\myserver\servletclasses;C:\weblogic\myse
rver\classfiles, -d, C:\weblogic\myserver\classfiles,
C:\weblogic\myserver\classfiles\jsp\helloworld.java])
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
a, Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:200)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:18
7)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:118)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:142)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
I believe that it has got something to do with the configuration of the
server and not the code in the JSPs. Have anyone encountered this error
before? Pls advice thanx!
Cheers,
kianhui
double d[] = new double[300];
getMax(d);Pass the array, not an element in the array. -
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. -
Translate table field from German to English? Info on SCI generated table?
I need to translate the desc field of SLIN_DESC table. I am using 'select' statement to pull 'DESC' field. The data is stored in German. How do i translate it to English before i display the data? Or is there any other table which contains the description when SCI generates error/warning report. Basically i need to display error/warning description generated by SCI when it is executed. Any help will be appreciated.
Thanks
NahmanHello Nahman
This table appears to be a special one. When I call SE16 (logon language = EN) I see the German code descriptions like you did.
If you look at package SLIN you will find class <b>CL_SLIN_TEST_INFO</b> which has a static method <b>DESC_GET_DESCRIPTION</b>. When I call this method for code='0000' I get the English text (<i>Program contains syntax errors</i>).
Regards
Uwe -
JSP Redirection fails, from Servlet
Hi I have simple web application, where im doing some java operation in servlet and Req dispatching to JSP page
Most of the the times, on first request i see JSP null pointer exception and in the next request service runs fine.
Below is the error msg
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
<Apr 23, 2014 2:35:12 PM EDT> <Warning> <HTTP Session> <BEA-100094> <The session id: y107TYHGnQTzJjJqndgvXDjky7bv1Q9LpHBNbBDyT4tJfyLl1RMF has been accessed from 7205002717985624119S:3.239.16.221:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server1, a server that is not the primary (2944952919000475971S:3.239.16.221:[15002,15002,-1,-1,-1,-1,-1]:3.239.16.221:15001,3.239.16.221:15002:dev:soa_server2). The request URL was: NONE>
map size is :1
java.lang.NullPointerException
at jsp_servlet.__downloaddocument._jspService(__downloaddocument.java:140)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.ge.render.servlets.GenerateReportServlet.doPost(GenerateReportServlet.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Please let me know, if you need source code of the files.
Please help.
_____________________________My JSP Page:_________________________________________
<%@ page contentType="text/html; charset=US-ASCII" pageEncoding="US-ASCII"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="java.util.Properties"%>
<%@ page import="java.net.HttpURLConnection"%>
<%@ page import="java.net.URL"%>
<html>
<head>
<script type="text/javascript">
function preloader() {
document.getElementById("loading").style.display = "none";
document.getElementById("content").style.display = "block";
//preloader
window.onload = setTimeout(preloader, 60000);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>
<meta http-equiv="Connection" content="keep-alive"></meta>
<link type="text/css" rel="stylesheet" href="CSS/GridTable.css"/>
</head>
<body>
<table width="100%" height="100%" class="gridtable">
<tr height="80">
<th colspan="2">
<jsp:include page="/common/header.jsp"/>
</th>
</tr>
<tr>
<td>
<div id="loading" align="center" style="display:block">
<img src="images/loader.gif" alt="Loading..."></img><br></br>
<p>
Please wait. Report generation is in progress. <br>
Report generation time depends on number of reports being submitted.
</p>
</div>
<div id="content" align="center" style="display:none">
Report Generation Results.<br></br><br></br>
<table>
<%
Properties props = new Properties();
props=(Properties)session.getAttribute("props");
Properties eProps = new Properties();
eProps=(Properties)session.getAttribute("exeProps");
String name = null;
HashMap<String, String> map= (HashMap<String, String>)request.getAttribute("url");
// HashMap<String, String> Names= (HashMap<String, String>)request.getAttribute("names");
String key=null ;
System.out.println("map size is :"+map.size());
String Customer=null;
if(!(map.isEmpty())){
Iterator keySetIterator =map.keySet().iterator();
while(keySetIterator.hasNext()){
key = keySetIterator.next().toString();
Customer=props.getProperty(key);
if(Customer == null){
Customer=eProps.getProperty(key);
if(map.get(key).toString().equals("ErrorMessage.jsp")){
%>
<tr> <td><b>
<%=Customer%></b>
Report Generation Failed
<a href="<%=map.get(key)%>">click here</a>
to see error. </td></tr>
<%
}else{
%>
<tr>
<td width="55%">
<b>
<%=Customer%></b>
</td>
<td width="25%">Ready</td>
<td width="50%">
<a href="<%=map.get(key)%>" target="_blank">click here</a>
</td>
</tr>
</table>
<%}
}}%>
</div>
<br></br>
<div id="backbutton" align="center">
<a href="LoginSuccess.jsp">Back</a>
</div>
</td>
</tr>
<tr height="40">
<td colspan="2">
<jsp:include page="/common/footer.jsp"/>
</td>
</tr>
</table>
</body>
</html>
________________________Servlet code_______________________________________________
public class GenerateReportServlet extends HttpServlet {
private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
Properties FusionProps=null;
@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
try{
FusionProps=new Properties();
FusionProps.load(getServletContext().getResourceAsStream("/WEB-INF/Properties/Fusion.properties"));
}catch(Exception e){
e.printStackTrace();
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException {
String[] list1= request.getParameterValues("custs");
if(list1 == null){
request.setAttribute("msg", "<b><font color=\"red\">Select atleast one ReportID for custome report generation</font><b>");
RequestDispatcher rd =
request.getRequestDispatcher("/LoginSuccess.jsp");
rd.forward(request, response);
else{
try{
GenerateReportDAO gr=new GenerateReportDAO();
HashMap<String, String> cust_urls = new HashMap<String, String>();
HashMap<String, String> url_stats = new HashMap<String, String>();
int count=list1.length;
long starttime=System.nanoTime();
String proxy=FusionProps.getProperty("ProxyHost");
String port=FusionProps.getProperty("ProxyPort");
String RUrl=FusionProps.getProperty("Url");
String RToken=FusionProps.getProperty("xyz");
String Furl=FusionProps.getProperty("SOACReqReceiver");
for(int i = 0; i < count; i++)
String URL = gr.generateReport(list1[i],proxy,port,RUrl,RToken,Furl);
cust_urls.put(list1[i], URL);
if(URL=="ErrorMessage.jsp"){
cust_urls.put(list1[i], URL);
long completeTime=System.nanoTime();
System.out.println("Total Elapsed time "+ (completeTime-starttime) + "NanoSeconds");
request.setAttribute("url", cust_urls);
// request.setAttribute("stats", url_stats);
// request.setAttribute("names", cust_names);
RequestDispatcher rd =
request.getRequestDispatcher("/DownloadDocument.jsp");
rd.forward(request, response);
catch(Exception e){
e.printStackTrace();
request.setAttribute("msg", "Server encountered internal error, Please try again. If error persists contact corporate oracle soa team.");
RequestDispatcher rd =
request.getRequestDispatcher("/ErrorMessage.jsp");
rd.forward(request, response);i have found the class and decompiled it. Pasting the contents below.
I have tried to find something from it. didnt help.
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: __downloaddocument.java
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import weblogic.jsp.internal.jsp.JspFunctionMapper;
import weblogic.servlet.jsp.*;
import weblogic.utils.http.HttpParsing;
public final class __downloaddocument extends JspBase
implements StaleIndicator
public __downloaddocument()
private static void _releaseTags(PageContext pageContext, JspTag t)
while(t != null)
DependencyInjectionHelper.preDestroy(pageContext, t);
if(t instanceof Tag)
Tag tmp = (Tag)t;
t = ((Tag)t).getParent();
try
tmp.release();
catch(Exception exception) { }
} else
t = ((SimpleTag)t).getParent();
public boolean _isStale()
boolean _stale = _staticIsStale((StaleChecker)getServletConfig().getServletContext());
return _stale;
public static boolean _staticIsStale(StaleChecker sci)
return sci.isResourceStale("/DownloadDocument.jsp", 0x1459066fe00L, "10.3.6.0", "US/Eastern");
private static byte[] _getBytes(String block)
try
return block.getBytes(_WL_ORIGINAL_ENCODING);
catch(UnsupportedEncodingException u)
_WL_ENCODED_BYTES_OK = false;
return null;
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
JspTag _activeTag = null;
Object page = this;
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
response.setHeader("Content-Type", "text/html; charset=US-ASCII");
JspWriter out = pageContext.getOut();
ByteWriter _bw = (ByteWriter)out;
_bw.setInitCharacterEncoding(_WL_ORIGINAL_ENCODING, _WL_ENCODED_BYTES_OK);
JspWriter _originalOut = out;
HttpSession session = request.getSession(true);
try
response.setContentType("text/html; charset=US-ASCII");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block1Bytes, "\r\n\r\n");
_bw.write(_wl_block0Bytes, "\r\n");
_bw.write(_wl_block2Bytes, "\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ");
String __page = "/common/header.jsp";
String __queryParams[][] = new String[0][];
String __encoding = request.getCharacterEncoding();
if(__encoding == null)
__encoding = "ISO-8859-1";
if(__queryParams.length == 0)
pageContext.include(__page);
else
pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
_bw.write(_wl_block3Bytes, "\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ");
Properties props = new Properties();
props = (Properties)session.getAttribute("props");
Properties eProps = new Properties();
eProps = (Properties)session.getAttribute("exeProps");
String name = null;
HashMap map = (HashMap)request.getAttribute("url");
String key = null;
System.out.println((new StringBuilder("map size is :")).append(map.size()).toString());
if(map.size() < 5)
_bw.write(_wl_block4Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ");
else
if(map.size() > 5 && map.size() < 10)
_bw.write(_wl_block5Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ");
else
if(map.size() > 10)
_bw.write(_wl_block6Bytes, "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ");
String Customer = null;
if(!map.isEmpty())
for(Iterator keySetIterator = map.keySet().iterator(); keySetIterator.hasNext();)
key = keySetIterator.next().toString();
Customer = props.getProperty(key);
if(Customer == null)
Customer = eProps.getProperty(key);
if(((String)map.get(key)).toString().equals("ErrorMessage.jsp"))
_bw.write(_wl_block7Bytes, "\r\n \r\n <b>\r\n ");
out.print(String.valueOf(Customer));
_bw.write(_wl_block8Bytes, "</b>\r\n Report Generation Failed\r\n <a href=\"");
out.print(String.valueOf(map.get(key)));
_bw.write(_wl_block9Bytes, "\">click here</a>\r\n to see error.\r\n \r\n ");
} else
_bw.write(_wl_block10Bytes, "\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ");
out.print(String.valueOf(Customer));
_bw.write(_wl_block11Bytes, "</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"");
out.print(String.valueOf(map.get(key)));
_bw.write(_wl_block12Bytes, "\" target=\"_blank\">click here</a></td></tr></table>\r\n ");
_bw.write(_wl_block13Bytes, "\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ");
String __page = "/common/footer.jsp";
String __queryParams[][] = new String[0][];
String __encoding = request.getCharacterEncoding();
if(__encoding == null)
__encoding = "ISO-8859-1";
if(__queryParams.length == 0)
pageContext.include(__page);
else
pageContext.include(HttpParsing.makeURI(__page, __queryParams, __encoding));
_bw.write(_wl_block14Bytes, "\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>");
catch(Throwable __ee)
if(!(__ee instanceof SkipPageException))
for(; out != null && out != _originalOut; out = pageContext.popBody());
_releaseTags(pageContext, _activeTag);
pageContext.handlePageException(__ee);
private static boolean _WL_ENCODED_BYTES_OK = true;
private static final String _WL_ORIGINAL_ENCODING = "US-ASCII".intern();
private static final String _wl_block0 = "\r\n";
private static final byte _wl_block0Bytes[] = _getBytes("\r\n");
private static final String _wl_block1 = "\r\n\r\n";
private static final byte _wl_block1Bytes[] = _getBytes("\r\n\r\n");
private static final String _wl_block2 = "\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ";
private static final byte _wl_block2Bytes[] = _getBytes("\r\n<html>\r\n <head>\r\n <script type=\"text/javascript\">\r\n function preloader() {\r\n document.getElementById(\"loading\").style.display = \"none\";\r\n document.getElementById(\"content\").style.display = \"block\";\r\n }\r\n //preloader\r\n // window.onload = setTimeout(preloader, 10000);\r\n </script>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"></meta>\r\n <meta http-equiv=\"Connection\" content=\"keep-alive\"></meta>\r\n <link type=\"text/css\" rel=\"stylesheet\" href=\"CSS/GridTable.css\"/>\r\n </head>\r\n <body>\r\n <table width=\"100%\" height=\"100%\" class=\"gridtable\">\r\n <tr height=\"80\">\r\n <th colspan=\"2\">\r\n ");
private static final String _wl_block3 = "\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ";
private static final byte _wl_block3Bytes[] = _getBytes("\r\n </th>\r\n </tr>\r\n \r\n <tr>\r\n <td>\r\n <div id=\"loading\" align=\"center\" style=\"display:block\">\r\n <img src=\"images/loader.gif\" alt=\"Loading...\" ></img><br>\r\n <p> Please wait. Report generation is in progress. <br>\r\n Report generation time depends on number of reports submitted.</p>\r\n </div>\r\n <div id=\"content\" align=\"center\" style=\"display:none\" >\r\n Report Generation Results.<br><br>\r\n \r\n \r\n ");
private static final String _wl_block4 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ";
private static final byte _wl_block4Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 60000);\r\n </script>\r\n ");
private static final String _wl_block5 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ";
private static final byte _wl_block5Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 80000);\r\n </script>\r\n ");
private static final String _wl_block6 = "\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ";
private static final byte _wl_block6Bytes[] = _getBytes("\r\n <script type=\"text/javascript\">\r\n window.onload = setTimeout(preloader, 100000);\r\n </script> \r\n ");
private static final String _wl_block7 = "\r\n \r\n <b>\r\n ";
private static final byte _wl_block7Bytes[] = _getBytes("\r\n \r\n <b>\r\n ");
private static final String _wl_block8 = "</b>\r\n Report Generation Failed\r\n <a href=\"";
private static final byte _wl_block8Bytes[] = _getBytes("</b>\r\n Report Generation Failed\r\n <a href=\"");
private static final String _wl_block9 = "\">click here</a>\r\n to see error.\r\n \r\n ";
private static final byte _wl_block9Bytes[] = _getBytes("\">click here</a>\r\n to see error.\r\n \r\n ");
private static final String _wl_block10 = "\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ";
private static final byte _wl_block10Bytes[] = _getBytes("\r\n <table>\r\n <tr> <td width=\"55%\">\r\n <b> ");
private static final String _wl_block11 = "</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"";
private static final byte _wl_block11Bytes[] = _getBytes("</b> </td><td width=\"25%\">Ready</td>\r\n <td width=\"50%\"><a href=\"");
private static final String _wl_block12 = "\" target=\"_blank\">click here</a></td></tr></table>\r\n ";
private static final byte _wl_block12Bytes[] = _getBytes("\" target=\"_blank\">click here</a></td></tr></table>\r\n ");
private static final String _wl_block13 = "\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ";
private static final byte _wl_block13Bytes[] = _getBytes("\r\n </div>\r\n <br></br>\r\n <div id=\"backbutton\" align=\"center\">\r\n <a href=\"LoginSuccess.jsp\">Back</a>\r\n </div>\r\n </td>\r\n </tr>\r\n \r\n <tr height=\"40\">\r\n <td colspan=\"2\">\r\n ");
private static final String _wl_block14 = "\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>";
private static final byte _wl_block14Bytes[] = _getBytes("\r\n </td>\r\n </tr>\r\n </table>\r\n </body>\r\n</html>");
private static JspFunctionMapper _jspx_fnmap = JspFunctionMapper.getInstance(); -
Visual Age 3.5, WLS 5.1, Integration Kit 5.1 beta and JSP?
Hello,
i have a problem with the missing JSP-support in Visual Age. It would be a
workaround to develop JSP outside Visual Age and just put them into the
myserver/public_html directory. But if i start WLS from within Visual Age,
the JSP won't compile, i get the error:
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
arguments in method.
if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
Pack 6 09/20/2000 21:03:19 #84511")) return true;
Operating System is WinNT 4.0, Service Pack 6, i use the professional
edition of Visual Age.
Is there a wrong setting in the IDE or is it impossible to develop JSPs with
the Integration Kit?
Regards,
Reinhard Maier
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
arguments in method.
if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
Pack 6 09/20/2000 21:03:19 #84511")) return true;
^
1 error
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
, "D:\Programme\IBM\VisualAge for
Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
java\ide\project_resources\Weblogic Java 2
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Java Enterprises Libraries;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Support
Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
\Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
void
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
void weblogic.utils.compiler.CompilerInvoker.compile()
void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, boolean)
void
weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
javax.servlet.Servlet
weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
weblogic.servlet.internal.ServletStubImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
int
weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
t.MuxableSocketHTTP)
int weblogic.socket.MuxableSocketHTTP.invokeServlet()
void
weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
Mo Jan 08 12:00:03 GMT+01:00 2001:<E> <ServletContext-General> Servlet
failed with Exception
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
, "D:\Programme\IBM\VisualAge for
Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
java\ide\project_resources\Weblogic Java 2
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Java Enterprises Libraries;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Support
Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
\Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
void
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
void weblogic.utils.compiler.CompilerInvoker.compile()
void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, boolean)
void
weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
javax.servlet.Servlet
weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
weblogic.servlet.internal.ServletStubImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
int
weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
t.MuxableSocketHTTP)
int weblogic.socket.MuxableSocketHTTP.invokeServlet()
void
weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()Hi ,
There is a solution posted in "weblogic.beta.tools.visualage" newsgroup which will enable u to
develope and debug JSP's from IVJ .
TITLE "JSP debugging in IVJ "
cheers
Amjad
Dana Jeffries wrote:
Visual Age does not support the latest versrions of the JSP/servlet spec. I believe they're still
.92 and 1.0.
Reinhard Maier wrote:
Hello,
i have a problem with the missing JSP-support in Visual Age. It would be a
workaround to develop JSP outside Visual Age and just put them into the
myserver/public_html directory. But if i start WLS from within Visual Age,
the JSP won't compile, i get the error:
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
arguments in method.
if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
Pack 6 09/20/2000 21:03:19 #84511")) return true;
Operating System is WinNT 4.0, Service Pack 6, i use the professional
edition of Visual Age.
Is there a wrong setting in the IDE or is it impossible to develop JSPs with
the Integration Kit?
Regards,
Reinhard Maier
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java:48: Wrong number of
arguments in method.
if (sci.isResourceStale("/test.jsp", 978702001388L, "5.1.0 Service
Pack 6 09/20/2000 21:03:19 #84511")) return true;
^
1 error
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
, "D:\Programme\IBM\VisualAge for
Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
java\ide\project_resources\Weblogic Java 2
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Java Enterprises Libraries;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Support
Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
\Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
void
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
void weblogic.utils.compiler.CompilerInvoker.compile()
void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, boolean)
void
weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
javax.servlet.Servlet
weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
weblogic.servlet.internal.ServletStubImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
int
weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
t.MuxableSocketHTTP)
int weblogic.socket.MuxableSocketHTTP.invokeServlet()
void
weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
Mo Jan 08 12:00:03 GMT+01:00 2001:<E> <ServletContext-General> Servlet
failed with Exception
java.io.IOException: Compiler failed
executable.exec([Ljava.lang.String;[d:/java/jdk1.2/bin/javac.exe, -classpath
, "D:\Programme\IBM\VisualAge for
Java\ide\program\lib\rt.jar;.;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Examples;d:\programme\ibm\visualage for
java\ide\project_resources\Weblogic Java 2
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Java Enterprises Libraries;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic OCI;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server;d:\programme\ibm\visualage for
java\ide\project_resources\WebLogic Server
Classes;d:\programme\ibm\visualage for java\ide\project_resources\WebLogic
Support
Libraries;d:\java\bea51\classes\boot\;d:\java\bea51\classes\;d:\java\bea51\l
icense\;d:\java\bea51\myserver\serverclasses\;d:\java\bea51\lib\weblogicaux.
jar;d:\java\bea51\myserver\ejb_basic_containerManaged.jar;d:\java\bea51\myse
rver\ejb_extensions_readMostly.jar;d:\java\bea51\classes;D:\Java\bea51\myser
ver\tmp_deployments\ejbjar30505.jar;d:\java\bea51\myserver\servletclasses;D:
\Java\bea51\myserver\classfiles", -d, D:\Java\bea51\myserver\classfiles,
D:\Java\bea51\myserver\classfiles\jsp_servlet\_test.java])
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
void
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(java.lang.String
void weblogic.utils.compiler.CompilerInvoker.compile()
void weblogic.servlet.jsp.JspStub.compilePage(java.lang.String,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, boolean)
void
weblogic.servlet.jsp.JspStub.prepareServlet(weblogic.servlet.internal.Servle
tRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
javax.servlet.Servlet
weblogic.servlet.internal.ServletStubImpl.getServlet(weblogic.servlet.intern
al.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletStubImpl.invokeServlet(weblogic.servlet.int
ernal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl,
weblogic.servlet.internal.ServletStubImpl)
void
weblogic.servlet.internal.ServletContextImpl.invokeServlet(weblogic.servlet.
internal.ServletRequestImpl, weblogic.servlet.internal.ServletResponseImpl)
int
weblogic.servlet.internal.ServletContextManager.invokeServlet(weblogic.socke
t.MuxableSocketHTTP)
int weblogic.socket.MuxableSocketHTTP.invokeServlet()
void
weblogic.socket.MuxableSocketHTTP.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run() -
Hello,
I am trying to make following page work:
<%@ page contentType="text/html; charset=SJIS" %>
<% out.println("\u30ab\u30c6\u30b4\u30ea\u306e\u8aac\u660e"); %>
(I tried also Big5, Shift_JIS with the same result)
I DON'T set encoding on initArgs.*.jsp in weblogic.properties for this
test.
I run WL 5.1 with SP3 on Windows 2000. JDK 1.2.2
I am getting following JSP parsing exception when I try to go to the
page
first time :
Mon Jul 10 12:08:13 JST 2000:<E> <WebAppServletContext-CRM> Servlet
failed
with Exception weblogic.servlet.jsp.JspException: (line 1): multiple
charsets defined for
this page: started with charset='UTF8', current content-type specifies
'SJIS'
at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:602)
at weblogic.servlet.jsp.JspLexer.contentTypeDirective(JspLexer.java:729)
at weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE_BODY(JspLexer.java,
Compiled Code) at
weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java, Compiled Code
The Parsing Error is also thrown back to my browser (IE 5).
I've also tried to set encoding=SJIS on initArgs. When I remove "page"
directive,
the servlet code looks like this (attached is the complete file):
JspFactory.getDefaultFactory().getPageContext(this, request,
response, null, true, 8192, true);
out = pageContext.getOut();
((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("UTF8");
response.setHeader("Content-Type", "text/html; charset=UTF8");
and the Exception is gone, but the output is still UTF8 as you can
guess.
I've tried to ask WL Japanese support (by virtue of paying twice for the
WebLogic my
company entitled to Japanese support only), and after two days of mail
going
back and forward I finally got very promising answer:
>BEA Japan Support Center wrote:
>And, I suggest that you should use Japanese Windows.
>In japanese environment, we have no problem on encoding japanese (SJIS).
Classic.
Hope for the help
Anatol
* This code was automatically generated at 6:50:52 PM on Jul 12, 2000
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
package examples.jsp.tagext.sql;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
// User imports
// 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 6:50:52 PM on Jul 12, 2000
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
* Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
public class charset
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
// StaleIndicator interface
public boolean _isStale() {
weblogic.servlet.internal.ServletContextImpl sci =(weblogic.servlet.internal.ServletContextImpl)(getServletConfig().getServletContext());
java.io.File f = null;
long lastModWhenBuilt = 0L;
if (sci.isResourceStale("/charset.jsp", 963395299134L)) return true;
return false;
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();
Object page = this;
javax.servlet.jsp.JspWriter out;
PageContext pageContext =
JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
out = pageContext.getOut();
((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("UTF8");
response.setHeader("Content-Type", "text/html; charset=UTF8");
HttpSession session = request.getSession(true);
try { // begin check exception try block
out.print("\r\n\r\n");
out.println("\u30ab\u30c6\u30b4\u30ea\u306e\u8aac\u660e"); //[ /charset.jsp; Line: 3]
} catch (RuntimeException __ee) { // propagate runtime exception
throw __ee;
} catch (Exception __ee) {
if(__ee instanceof IOException) throw (IOException)__ee; // propagate ioexception
// wrap all others in ServletException
if (__ee instanceof ServletException) throw (ServletException)__ee;
throw new ServletException("Caught Exception on JSP: " + getClass().getName(), __ee);
} // end exception handling block
//before final close brace...
I am happy to hear that it works for you. I still hope that
somebody from BEA will step in and give concrete advice.
Thanks,
Anatol
"Li Zhongling (Alex)" wrote:
>
> Hi,
>
> In my case, i do the same thing in <%@ page contentType="text/html; charset=gb2312" %>, but, in <% out.println(""); %>
> I directly input Chinese, while not in Unicode format like you did (i mean \u30ab\u30cb).
>
> I works fine for me.
>
> Alex
>
> Anatol Filin wrote:
>
> > Hello,
> >
> > I am trying to make following page work:
> >
> > <%@ page contentType="text/html; charset=SJIS" %>
> > <% out.println("\u30ab\u30c6\u30b4\u30ea\u306e\u8aac\u660e"); %>
> >
> > (I tried also Big5, Shift_JIS with the same result)
> >
> > I DON'T set encoding on initArgs.*.jsp in weblogic.properties for this
> > test.
> >
> > I run WL 5.1 with SP3 on Windows 2000. JDK 1.2.2
> >
> > I am getting following JSP parsing exception when I try to go to the
> > page
> > first time :
> >
> > Mon Jul 10 12:08:13 JST 2000:<E> <WebAppServletContext-CRM> Servlet
> > failed
> > with Exception weblogic.servlet.jsp.JspException: (line 1): multiple
> > charsets defined for
> > this page: started with charset='UTF8', current content-type specifies
> > 'SJIS'
> > at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:602)
> > at weblogic.servlet.jsp.JspLexer.contentTypeDirective(JspLexer.java:729)
> > at weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE_BODY(JspLexer.java,
> > Compiled Code) at
> > weblogic.servlet.jsp.JspLexer.mPAGE_DIRECTIVE(JspLexer.java, Compiled
> > Code)
> > at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java, Compiled Code
> >
> > The Parsing Error is also thrown back to my browser (IE 5).
> >
> > I've also tried to set encoding=SJIS on initArgs. When I remove "page"
> > directive,
> > the servlet code looks like this (attached is the complete file):
> >
> > JspFactory.getDefaultFactory().getPageContext(this, request,
> > response, null, true, 8192, true);
> >
> >
> > out = pageContext.getOut();
> > ((weblogic.servlet.jsp.JspWriterImpl)out).setEncoding("UTF8");
> > response.setHeader("Content-Type", "text/html; charset=UTF8");
> >
> >
> > and the Exception is gone, but the output is still UTF8 as you can
> > guess.
> >
> > I've tried to ask WL Japanese support (by virtue of paying twice for the
> > WebLogic my
> > company entitled to Japanese support only), and after two days of mail
> > going
> > back and forward I finally got very promising answer:
> >
> > >BEA Japan Support Center wrote:
> > >And, I suggest that you should use Japanese Windows.
> > >In japanese environment, we have no problem on encoding japanese (SJIS).
> >
> > Classic.
> >
> > Hope for the help
> > Anatol
> >
> > ------------------------------------------------------------------------
> > /*
> > * This code was automatically generated at 6:50:52 PM on Jul 12, 2000
> > * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
> >
>
> --
>
> Best Regards
>
> Li Zhongling (Alex)
>
> --
> Carpe Diem, Seize the Day !!
-
WLS 9.2.2: JSP recompile for every page load with JAR'ed tag files
I have a small custom tag library of three tag files. With the server running in development mode and the tag files in a JAR (included in WEB-INF/lib), the server appears to be doing a JSP recompile on every page load. However, it only compiles on the first page load if the tag files are included in WEB-INF/tags (no JAR). Also, running the server in production mode with the JAR'ed tag files avoids the recompile for every page load.
Is that how the server should behave?
For whatever it's worth, I'm also using Eclipse 3.3.2 with WTP and WebLogic Server Tools 1.1.2. The server is running the Sun JVM (1.5_10).Vikram,
I went back and created a simple example to test. Below I'm posting the Java source code generated from the two relevant files: index.jsp, and hello.tag.
__index.java:
package jsp_servlet;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public final class __index extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
while (t != null) {
if(t instanceof javax.servlet.jsp.tagext.Tag) {
javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
try {
tmp.release();
} catch(Exception ignore) {}
else {
t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
public boolean _isStale(){
boolean stale = staticIsStale((weblogic.servlet.jsp.StaleChecker) getServletConfig().getServletContext());
return _stale;
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
if (sci.isResourceStale("/index.jsp", 1207926672370L ,"9.2.2.0","America/Denver")) return true;
if (sci.isResourceStale("/null", 1207926783245L ,"9.2.2.0","America/Denver")) return true;
return false;
private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
throws java.io.IOException {
if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
out.print(block);
} else {
((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
String encoding = rsp.getCharacterEncoding();
if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
return false;
if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
return false;
return true;
private static boolean WLENCODED_BYTES_OK = true;
private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
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 ="<!--\n * $Id$\n-->\n \n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n \n";
private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
private final static String wlblock1 =" \n \n\t";
private final static byte[] wlblock1Bytes = getBytes( wl_block1 );
private final static String wlblock2 ="\n";
private final static byte[] wlblock2Bytes = getBytes( wl_block2 );
private final static String wlblock3 ="\n\n<html>\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n\n\t<title>Tag File Test</title>\n</head>\n<body> \n\t";
private final static byte[] wlblock3Bytes = getBytes( wl_block3 );
private final static String wlblock4 ="\n</body>\n</html>";
private final static byte[] wlblock4Bytes = getBytes( wl_block4 );
static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException, java.io.IOException {
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.ServletContext application = config.getServletContext();
javax.servlet.jsp.tagext.JspTag _activeTag = null;
Object page = this;
javax.servlet.jsp.JspWriter out;
javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true , 8192 , true );
response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
out = pageContext.getOut();
javax.servlet.jsp.JspWriter _originalOut = out;
javax.servlet.http.HttpSession session = request.getSession( true );
try {;
response.setContentType("text/html; charset=ISO-8859-1");
{_writeText(response, out, _wl_block0, _wl_block0Bytes);}
{_writeText(response, out, _wl_block1, _wl_block1Bytes);}
{_writeText(response, out, _wl_block2, _wl_block2Bytes);}
{_writeText(response, out, _wl_block3, _wl_block3Bytes);}
jsp_servlet._tags.__hello_tag __tag0 = null ;
int __result__tag0 = 0 ;
if (__tag0== null )__tag0 = new jsp_servlet._tags.__hello_tag ();
__tag0.setJspContext(pageContext);
__tag0.setParent(null);
activeTag=_tag0;
__tag0.doTag();
{_writeText(response, out, _wl_block4, _wl_block4Bytes);}
} catch (Throwable __ee){
if(!(__ee instanceof javax.servlet.jsp.SkipPageException)) {
while ((out != null) && (out != _originalOut)) out = pageContext.popBody();
releaseTags(activeTag);
pageContext.handlePageException(__ee);
__hello_tag.java:
package jsp_servlet . _tags ;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public final class __hello_tag extends javax.servlet.jsp.tagext.SimpleTagSupport {
private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
while (t != null) {
if(t instanceof javax.servlet.jsp.tagext.Tag) {
javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
try {
tmp.release();
} catch(Exception ignore) {}
else {
t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
if (sci.isResourceStale("/META-INF/tags/hello.tag", 1207926783175L ,"9.2.2.0","America/Denver")) return true;
return false;
protected static final String tagxTagInfo = "-84,-19,0,5,116,0,5,104,101,108,108,111,116,0,29,106,115,112,95,115,101,114,118,108,101,116,46,95,116,97,103,115,46,95,95,104,101,108,108,111,95,116,97,103,116,0,5,101,109,112,116,121,112,112,112,112,119,5,0,0,0,0,3,116,0,10,106,115,112,67,111,110,116,101,120,116,119,1,0,116,0,28,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,74,115,112,67,111,110,116,101,120,116,113,0,126,0,4,119,1,1,112,119,2,1,0,112,112,116,0,7,106,115,112,66,111,100,121,119,1,0,116,0,36,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,70,114,97,103,109,101,110,116,113,0,126,0,6,119,1,1,112,119,2,1,0,112,112,116,0,6,112,97,114,101,110,116,119,1,0,116,0,31,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,84,97,103,113,0,126,0,8,119,1,1,112,119,2,1,0,112,112,119,4,0,0,0,0,112,112,";
protected JspContext jspContext ;
public void setJspContext ( JspContext ctx ){
super . setJspContext ( ctx );
java.util.List nested = null ;
java.util.List atBegin = null ;
java.util.List atEnd = null ;
this.jspContext = new javelin.jsp.JspContextWrapper(ctx, nested, atBegin, atEnd, null);
}public JspContext getJspContext() {
return this.jspContext;
private java.io.Writer jspxsout;
private javax.servlet.jsp.tagext.JspTag _activeTag;
private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
throws java.io.IOException {
if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
out.print(block);
} else {
((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
String encoding = rsp.getCharacterEncoding();
if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
return false;
if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
return false;
return true;
private static boolean WLENCODED_BYTES_OK = true;
private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
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 ="\n<center><h1>Hello World</h1></center>";
private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
public void doTag() throws JspException, java.io.IOException {
javax.servlet.jsp.PageContext pageContext = (javax.servlet.jsp.PageContext) getJspContext();
javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) pageContext.getRequest ();
javax.servlet.http.HttpServletResponse response = (javax.servlet.http.HttpServletResponse) pageContext.getResponse();
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
javax.servlet.ServletConfig config = pageContext.getServletConfig();
javax.servlet.jsp.JspWriter out = jspContext.getOut();
javax.servlet.jsp.tagext.JspTag _activeTag = null;
try {
{_writeText(response, out, _wl_block0, _wl_block0Bytes);}
} catch ( Throwable t ){
if( t instanceof javax.servlet.jsp.SkipPageException )
{throw (javax.servlet.jsp.SkipPageException)t;}
if( t instanceof java.io.IOException )
{throw (java.io.IOException)t;}
if( t instanceof IllegalStateException )
{throw (IllegalStateException)t;}
if( t instanceof javax.servlet.jsp.JspException )
{throw (javax.servlet.jsp.JspException)t;}
throw new javax.servlet.jsp.JspException(t);
finally {
((javelin.jsp.JspContextWrapper)jspContext).syncEndTagFile();
Edited by Stephen Davison at 04/11/2008 9:02 AM -
Pre-compiled JSPs not being recognized (WLS 8.1 SP2)
We're running into a strange problem here, where our pre-compiled JSPs (precompiled
via an ant target) are being recognized as "stale" and recompiled by Weblogic,
as the following log message indicates. The strange thing is, on one hand it says
they were precompiled by a "different" version of Weblogic server, and then right
after that, immediately contradicts itself by logging the SAME version for the
JSP and WLS builds:
####<Jan 31, 2004 11:24:40 AM PST> <Info> <HTTP> <ladybug> <fwmharris-ms01> <ExecuteThread:
'11' for
queue: 'default'> <dhecking> <> <BEA-101295> <Recompiling JSP
[ServletContext(id=20425572,name=fwmhis-www,context-path=)], resource
[tiles/table/td_twisty_group_tile.jsp], because it is stale. It was previously
compiled using a
different version of WebLogic Server.
JSP build version: 8.1.2.0
WLS build version: 8.1.2.0.>
As can be seen, the two build versions are identical (8.1.2.0) which is the correct
version (Weblogic 8.1 SP2). Has anyone else run into this problem? If so, is there
a fix?
The platform is Solaris btw.
Thank you.
..Hrishi
Hrishi Dixit
Finaplex
[email protected]
Kostas Symeonidis wrote:
> I have exactly the same problem with 8.1sp2 on Win2000 and I will test it tomorrow on Solaris.
>
> It seems that the code checks two things:
> 1. the version of the JSPC
> 2. the timestamp of the files
> In both cases the logged message is the same(!!!) "recompiling because is stale..." but you can see that clearly the version numbers are the same, therefore the stale check failed on step 2.
>
> Now my guess is that step 2, either doesn't find the page, or the time check is done erratically. Mind you, in 8.1sp2 BEA changed the isResourceStale method signature and added an extra String parameter for the TimeZone, see code in generated JSPs below:
> 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("/index.jsp", 1082047780159L, "8.1.2.0", "Europe/London")) return true;
> return false;
> }
>
> I'm also quite sure that we should be waiting for a rolling patch quite soon.
Your guess is correct. Unfortunately a the message logged is wrong. A
patch for CR133453 fixes that. Basically its failing (2) and logging the
same message as (1).
-
Weblogic isResourceStale method error
Hi,
I am trying to deploy a web application in exploded format in weblogic8.1. The
same application is working fine when deployed in a jar file. When trying to deploy
it, I am facing an error in the first display request for the jsp itself.
The jsp doesn't show up, showing the following error message:
C:\bea81\user_projects\domains\ccapWebAppDevDomain\.\myserver\.wlnotdelete\extract\myserver_ccapwebportal_ccapwebportal\jsp_servlet\_jsp\__ccapmainmenu.java:51:
isResourceStale(java.lang.String,long,java.lang.String) in weblogic.servlet.jsp.StaleChecker
cannot be applied to (java.lang.String,long,java.lang.String,java.lang.String)
(No more information available, probably caused by another error)
I have tried to sort this out using many means, but this wont go away.
The concerned method in the weblogic.jar file indeed contains a different signature,
but then why has this file been made so......
Thanks in advance,Hi Vikas,
Do you have any patches installed on the server? Can you post the patch nos
so we can make sure that you dont have any confliciting ones which modify
the same class? (namely: weblogic/servlet/jsp/JspParser)
--Nagesh
"Vikas Chaudhary" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
I am trying to deploy a web application in exploded format in weblogic8.1.The
same application is working fine when deployed in a jar file. When tryingto deploy
it, I am facing an error in the first display request for the jsp itself.
The jsp doesn't show up, showing the following error message:
C:\bea81\user_projects\domains\ccapWebAppDevDomain\.\myserver\.wlnotdelete\e
xtract\myserver_ccapwebportal_ccapwebportal\jsp_servlet\_jsp\__ccapmainmenu.
java:51:
isResourceStale(java.lang.String,long,java.lang.String) inweblogic.servlet.jsp.StaleChecker
cannot be applied to(java.lang.String,long,java.lang.String,java.lang.String)
(No more information available, probably caused by another error)
I have tried to sort this out using many means, but this wont go away.
The concerned method in the weblogic.jar file indeed contains a differentsignature,
but then why has this file been made so......
Thanks in advance, -
hi guys,
In SCI Code inspector, I gave Development class as input for Syntax Error collection.
Defined variants as Syntax error and EPC check.
In object set i defined Development class
I created inspection variable and executed.
Does the Error analysis scope covers all DDIC and ABAP objects including Query,Sapscripts,Classes, Programs,Funcgroup,Tables,Dataelements,Domain,View etc or only to Programs/Modulepools/Functions.
Please confirm whether my way of execution covers all type of ABAP and DDIC objects.
regards
Priyanchopra
Edited by: Priyan chopra on Feb 1, 2008 7:03 AMHi,
It will check all the objects.
Regards,
Renjith Michael. -
Getting an error saying no primary index is used in where condition in SCI.
Hi,
I have develped a report using table PAYR.
The selection -screen of this report consists of Runid, Identification and Payment date.
The select qurey i used is
SELECT chect
zaldt
rwbtr
znme1
voidd
FROM payr INTO TABLE it_details
WHERE laufd EQ p_laufd AND
laufi EQ p_laufi AND
zaldt EQ p_date.
But when i check the code with code inspector im getting an error saying no primary index is used in where condition.
How can i solve this problem.
Pls. provide some pointers.
Thanks.HI Deepti,
The problem is since the fields used in where condition is not mentioned in any of the indexes created for table ( you can check the maintained indexes for table by clicking on the 'Indexes' button or ctrl+F5)
Atlease include MANDT in where condition, or create your own index with the fields which you have used in SELECT query.
this will solve the problem
Regards
Seema -
we recently upgraded our development test sandbox from 46C to ECC6.0 using downtime minimized strategy for practice purposes.After a sucessful completion of the upgrade we applied all the support packages successfully upto the latest available. Upon testing we found that everything else works fine except code inspector. Everytime we go to transaction sci we get syntax error
Runtime Errors SYNTAX_ERROR
Date and Time 08/20/2008 08:26:29
Short text
Syntax error in program "SAPLS_CODE_INSPECTOR ".
What happened?
Error in the ABAP Application Program
The current ABAP program "????????????????????????????????????????" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLS_CODE_INSPECTOR " in
include "LS_CODE_INSPECTORTOP " in
line 11:
""SCI_DYNP" must be a flat structure. You cannot use internal tables, s"
"trings, references, or structures as components. ."
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "CRENSHAWDP "
Error in the ABAP Application Program
The current ABAP program "????????????????????????????????????????" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLS_CODE_INSPECTOR ".
You can also perform the syntax check from the ABAP Editor.
If the problem persists, proceed as follows:
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
r analysis
The following syntax error was found in the program SAPLS_CODE_INSPECTO
""SCI_DYNP" must be a flat structure. You cannot use internal tables, s
"trings, references, or structures as components. ."
to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
tem environment
SAP-Release 700
Application server... "kiel"
Network address...... "138.254.140.161"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "000B7B2ED600"
Character length.... 8 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "kiel"
Database type..... "ORACLE"
Database name..... "UPD"
Database user ID.. "SAPR3"
Terminal................. "D800204486"
Char.set.... "en_US.ISO8859-1"
SAP kernel....... 700
created (date)... "Jun 22 2008 20:58:25"
create on........ "AIX 2 5 005DD9CD4C00"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 166
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5, AIX 1 6"
Memory consumption
Roll.... 16128
EM...... 8379840
Heap.... 0
Page.... 40960
MM Used. 705904
MM Free. 3481488
r and Transaction
Client.............. 070
User................ "CRENSHAWDP"
Language key........ "E"
Transaction......... "SCI "
Transactions ID..... "48AB59A7D7E00112E10080008AFE8CA1"
Program............. "????????????????????????????????????????"
Screen.............. " "
Screen line......... 0
Information on where terminated
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080820
SY-UZEIT 082629
SY-XPROG
SY-XFORM
Internal notes
The termination was triggered in function "ab_genprog"
of the SAP kernel, in line 1551 of the module
"//bas/700_REL/src/krn/runt/abgen.c#10".
The internal operation just processed is " ".
Internal mode was started at 20080820082629.
Program name.........: "SAPLS_CODE_INSPECTOR ".
Error message........: ""SCI_DYNP" must be a flat structure. You cannot use
internal tables, s".
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit = 2684354560
=> Stack limit = unlimited
=> Core limit = unlimited
=> File size limit = unlimited
=> Heap address = 0x11716f260
=> Stack address = 0xfffffffffff2a20
=> Stack low = 0xfffffffffff2a20
=> Stack high = 0xffffffffffff710
=> Stack Trace:
#AixStack() at 0x1000a2474
#CTrcStack2() at 0x1000a256c
#rabax_CStackSave__Fv() at 0x1000d0e04
#ab_rabax() at 0x1000cd7e4
#ab_genprog() at 0x100b3d5f8
#newload__FPCcP13TmpSubpoolDirUiPUi() at 0x1002194ac
#ab_LoadProgOrTrfo__FPCcUiPUi() at 0x10021905c
#ab_load() at 0x100218e2c
#ab_LoadMainProg() at 0x100820d6c
#dystartx() at 0x100ade944
#dy_cdiag() at 0x100833174
#ab_ctransaction__Fv() at 0x100ae1ef0
#ab_retdynp__Fi() at 0x100821c98
#ab_dstep() at 0x100821924
#dynpmcal() at 0x100e932e0
#dynppai0() at 0x100e905ec
#dynprctl() at 0x100e99d48
#dynpen00() at 0x100e8cc18
#Thdynpen00() at 0x1000f9ed4
#TskhLoop() at 0x1000fec7c
#ThStart() at 0x100115890
#DpMain() at 0x1017f4b14
#nlsui_main() at 0x1018e2b6c
We contacted SAP OSS about this problem and they suggested that we check our LS_CODE_INSPECTORTOP include in program SAPLS_CODE_INSPECTOR and revert it to the original version. We did that and still are getting this error. Any suggestions how to fix this issue. All advices are welcome.
Thanks.
KamranNope... this is SAP standard code so I will reply to the OSS and wait for them to come back to you.
Regards
Juan -
Diagnostic information for administrators:
Generating server: cb.intra.lutron.com
[email protected]
#554 5.6.0 STOREDRV.Deliver; Corrupt message content ##
Original message headers:
Received: from p01c11m061.mxlogic.net (208.65.144.247) by
ls186.cb.intra.lutron.com (8.14.172.44) with Microsoft SMTP Server (TLS) id
8.3.377.0; Mon, 27 Oct 2014 20:08:14 -0400
Authentication-Results: p01c11m061.mxlogic.net; spf=none
Received: from unknown [216.211.128.132] (EHLO mail-in02.adhost.com) by
p01c11m061.mxlogic.net(mxl_mta-8.2.0-0) over TLS secured channel with ESMTP
id b6ede445.0.50240.00-2357.83404.p01c11m061.mxlogic.net (envelope-from
<[email protected]>); Mon, 27 Oct 2014 18:08:11 -0600 (MDT)
Received: from bradleysweekbjs.lan (unknown [187.204.142.185]) (using TLSv1
with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate
requested) by mail-in02.adhost.com (Postfix) with ESMTPSA id 70542CBCD3C;
Mon, 27 Oct 2014 17:07:56 -0700 (PDT) (envelope-from
[email protected])
Message-ID: <[email protected]>
Date: Mon, 27 Oct 2014 18:07:53 -0600
From: Bradley Sweek <[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Carolynn Velas <[email protected]>, "shou >> Matt Shoudy"
<[email protected]>
Subject: Fwd: PO from AMIGA Light
References: <[email protected]>
In-Reply-To: <[email protected]>
X-Forwarded-Message-Id: <[email protected]>
Content-Type: multipart/mixed;
boundary="------------070107060209020302070902"
X-AnalysisOut: [v=2.1 cv=WKNrXxcR c=1 sm=1 tr=0 a=Gd5qAohCj8m7N02WsvT0RA==]
X-AnalysisOut: [:117 a=SBqzqjppweDvc7P5+lsMNg==:17 a=Plco4HD0Ln4A:10 a=BLc]
X-AnalysisOut: [eEmwcHowA:10 a=lUHFz_VCAAAA:8 a=Q0L-yA22AAAA:8 a=YlVTAMxIA]
X-AnalysisOut: [AAA:8 a=r77TgQKjGQsHNAKrUKIA:9 a=9iDbn-4jx3cA:10 a=cKsnjEO]
X-AnalysisOut: [sciEA:10 a=S5qNisC7AAAA:8 a=AYCwu-JE0DQrnhmJAu0A:9 a=wPNLv]
X-AnalysisOut: [fGTeEIA:10 a=CNO9MehPIccA:10 a=wVCSd2htZYEA:10 a=vjxRE-QYq]
X-AnalysisOut: [xoA:10 a=TZ61P25qxIYA:10 a=hBMBtJGnaRBW9O-fmB4A:9 a=DxM5wn]
X-AnalysisOut: [iiDK8XbY8C:21 a=_W_S_7VecoQA:10 a=Ki1xzB_1rGJPxIdP5wgA:9 a]
X-AnalysisOut: [=AM14pv5mMGwA:10 a=Sf_gFPzhefAA:10 a=NBtK7ctuftnU0LdIC2cA:]
X-AnalysisOut: [9 a=-0qkl0XTG-IA:10 a=QRsCojdW3GvxCdKwqr4A:9 a=n3BslyFRqc0]
X-AnalysisOut: [A:10]
Received-SPF: None
X-Spam: [F=0.3333333333; B=0.500(0); spf=0.500; STSI=0.500(-16); STSM=0.400(-21); CM=0.500; CY=0.500; MH=0.750(2014102723); S=0.200(2014051901); SC=]
X-MAIL-FROM: <[email protected]>
X-SOURCE-IP: [216.211.128.132]
Return-Path: [email protected]
Reporting-MTA: dns;cb.intra.lutron.com
Received-From-MTA: dns;p01c11m061.mxlogic.net
Arrival-Date: Tue, 28 Oct 2014 00:08:14 +0000
Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.6.0
Diagnostic-Code: smtp;554 5.6.0 STOREDRV.Deliver; Corrupt message content
X-Display-Name: Carolynn Velas
ForwardedMessage.eml
Subject:
Fwd: PO from AMIGA Light
From:
Bradley Sweek <[email protected]>
Date:
10/27/14, 5:07 PM
To:
Carolynn Velas <[email protected]>, "shou >> Matt Shoudy" <[email protected]>
-------- Original Message --------
Subject: PO from AMIGA Light
Date: Mon, 27 Oct 2014 18:04:14 -0600
From: Bradley Sweek <[email protected]>
To: [email protected]
see the attached po
edited email address from public.That is an error message from the lutron server to you. It has nothing to do with Thunderbird at all.
-
Create a cache for external map source - Error in parsing xml request.
When doing the following:
Create a cache for external map source
I get "error in parsing xml request" when setting the following
Map service Url:
http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.3.0&service=WMS&request=GetCapabilities
It looks like it is breaking on "&". Any suggestions?
RobHi Chris,
thanks for your reply!
I've tried to add the following into persistence.xml (although I've read that eclipseLink uses L2 cache by default..):
<shared-cache-mode>ALL</shared-cache-mode>
Then I replaced the Cache bean with a stateless bean which has methods like
Genre findGenreCreateIfAbsent(String genreName){
Genre genre = genreDAO.findByName(genreName);
if (genre!=null){
return genre;
genre = //Build new genre object
genreDAO.persist(genre);
return genre;
As far as I undestood, the shared cache should automatically store the genre and avoid querying the DB multiple times for the same genre, but unfortunately this is not the case: if I use a FINE logging level, I see really a lot of SELECT queries, which I didn't see with my "home made" Cache...
I am really confused.. :(
Thanks again for helping + bye
Maybe you are looking for
-
I can't send messages on iMessage!
I cant send messages to phones or anything else, it just sayd they're gmail accounts! it says on the bottom left hand corner Jabber Available, but i dont know how to get off Jabber! Help me!
-
Getting Error in Asmx Web Service Unit Testing & not able to debug unit-test Project.
I am getting below error message while running unit test for ASMX web service Failed MyFunction The ASP.NET Web application at 'D:\MyProjectFolder' is already configured for testing by another test run. Only one test run at a time can run tests in AS
-
Table to look for the test object information
Hello everybody, I am working on solution manager and i was wondering if there were a way to get the informations i had directly in tables using the SE16 transaction. So my question is the following: is there a way to extract data like test plan, sta
-
Receivables Customer Statement Issue
Hi, While running customer statements the total amout due for the month doesnot considering the unapplied receipt amount for that customer. For example the customer statement due is $400 and there is a unapplied amount $100 for this customer . But st
-
Dear Guru's, I have Script of my all the procedure. After all procedure gets execute, As a output it create .csv files. This .csv files i manually copy past on one of my directory. For avoiding this manual copy past i want to use xcopy command from s