Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
I have a servlet that contains the following code in its init() method:
   public void init(ServletConfig config) throws ServletException {
   super.init(config);
 
   try {
   Context initCtx = new InitialContext();
   Context envCtx = (Context) initCtx.lookup(java:comp/env);
   System.out.println(Context loaded:  );
   ds = (DataSource) envCtx.lookup(ReportsDB);
   System.out.println(DataSource found:  + ds.toString());
   con = ds.getConnection();
   con1 = ds.getConnection();
   } catch(Exception e) {
   System.err.println(Init Error  + e.getMessage());
   }
   System.out.println(Init Complete);
   }

the server.xml file contains:
Resource name=ReportsDB auth=Container type=javax.sql.DataSource/
   ResourceParams name=ReportsDB
parameternamemaxActive/namevalue100/value/parameter
parameternamemaxIdle/namevalue10/value/parameter
parameternamemaxWait/namevalue1/value/parameter
parameternameuser/namevalueuser/value/parameter

parameternamepassword/namevaluepassword/value/parameter
parameternamedriverClassName/name
valueoracle.jdbc.driver.OracleDriver/value/parameter
parameternamedriverName/name

valuejdbc:oracle:thin:@myhost.edu:1521:LIBR/value/parameter
 /ResourceParams

When I deploy the servlet on my development server (Tomcat 4.06) it runs 
without error and reports Init Complete in the localhost log.

The same code and xml deployed on a test server (tomcat 4.1.12) a naming 
exception is thrown and the catch block reports Init Error Name 
ReportsDB is not bound in this Context.

Is there a difference between the two releases that would explain this, 
or are other settings involved in binding that I should be examining?

All suggestions gratefully accepted :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav

Hi,
Where in server.xml is your Resource declaration?  Is there a matching
resource-ref in your web.xml?  (It's required).  You also probably want
a factory parameter, as mentioned in the JNDI DataSources how-to.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:04 PM
To: Tomcat Users List
Subject: Binding DataSources to Contexts in Tomcat 4.06/4.1

I have a servlet that contains the following code in its init() method:

public void init(ServletConfig config) throws ServletException {
super.init(config);

try {
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup(java:comp/env);
System.out.println(Context loaded:  );
ds = (DataSource) envCtx.lookup(ReportsDB);
System.out.println(DataSource found:  + ds.toString());
con = ds.getConnection();
con1 = ds.getConnection();
} catch(Exception e) {
System.err.println(Init Error  + e.getMessage());
}
System.out.println(Init Complete);
}

the server.xml file contains:

Resource name=ReportsDB auth=Container
type=javax.sql.DataSource/
ResourceParams name=ReportsDB

parameternamemaxActive/namevalue100/value/parameter

parameternamemaxIdle/namevalue10/value/parameter

parameternamemaxWait/namevalue1/value/parameter

parameternameuser/namevalueuser/value/parameter

parameternamepassword/namevaluepassword/value/parameter
 parameternamedriverClassName/name
 valueoracle.jdbc.driver.OracleDriver/value/parameter
 parameternamedriverName/name

valuejdbc:oracle:thin:@myhost.edu:1521:LIBR/value/parameter
  /ResourceParams

When I deploy the servlet on my development server (Tomcat 4.06) it
runs
without error and reports Init Complete in the localhost log.

The same code and xml deployed on a test server (tomcat 4.1.12) a
naming
exception is thrown and the catch block reports Init Error Name
ReportsDB is not bound in this Context.

Is there a difference between the two releases that would explain this,
or are other settings involved in binding that I should be examining?

All suggestions gratefully accepted :-)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
In both servers the Resource declarations are in the DefaultContext 
block.  All DataSources are shared by all webapps.  I do not have a 
resource-ref declaration in either web.xml ... I'll go look that up and 
remedy.  What is the purpose of the factory parameter, and what is an 
appropriate value?

thx
Shapira, Yoav wrote:
Hi,
Where in server.xml is your Resource declaration?  Is there a matching
resource-ref in your web.xml?  (It's required).  You also probably want
a factory parameter, as mentioned in the JNDI DataSources how-to.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Jeffrey Barnett [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:04 PM
To: Tomcat Users List
Subject: Binding DataSources to Contexts in Tomcat 4.06/4.1
I have a servlet that contains the following code in its init() method:
  public void init(ServletConfig config) throws ServletException {
  super.init(config);
  try {
  Context initCtx = new InitialContext();
  Context envCtx = (Context) initCtx.lookup(java:comp/env);
  System.out.println(Context loaded:  );
  ds = (DataSource) envCtx.lookup(ReportsDB);
  System.out.println(DataSource found:  + ds.toString());
  con = ds.getConnection();
  con1 = ds.getConnection();
  } catch(Exception e) {
  System.err.println(Init Error  + e.getMessage());
  }
  System.out.println(Init Complete);
  }
the server.xml file contains:
Resource name=ReportsDB auth=Container
   

type=javax.sql.DataSource/
 

  ResourceParams name=ReportsDB
parameternamemaxActive/namevalue100/value/parameter
   

parameternamemaxIdle/namevalue10/value/parameter
 

parameternamemaxWait/namevalue1/value/parameter
   

parameternameuser/namevalueuser/value/parameter
 

parameternamepassword/namevaluepassword/value/parameter
   parameternamedriverClassName/name
   valueoracle.jdbc.driver.OracleDriver/value/parameter
   parameternamedriverName/name
valuejdbc:oracle:thin:@myhost.edu:1521:LIBR/value/parameter
/ResourceParams
When I deploy the servlet on my development server (Tomcat 4.06) it
   

runs
 

without error and reports Init Complete in the localhost log.
The same code and xml deployed on a test server (tomcat 4.1.12) a
   

naming
 

exception is thrown and the catch block reports Init Error Name
ReportsDB is not bound in this Context.
Is there a difference between the two releases that would explain this,
or are other settings involved in binding that I should be examining?
All suggestions gratefully accepted :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav

Hi,

In both servers the Resource declarations are in the DefaultContext
block.  All DataSources are shared by all webapps.

You realize that by placing a Resource in DefaultContext you ensure that
a separate copy is created for each Context, right?  That means if you
configure for 10 max connections and have 5 Contexts, you will have 5
DataSources with 50 total max connections possible.  Unless this is
really what you want, consider having the DataSource defined in the
actual Context element instead of DefaultContext.

I do not have a
resource-ref declaration in either web.xml ... I'll go look that up and
remedy.

OK -- it's required.

What is the purpose of the factory parameter, and what is an
appropriate value?

To specify a factory for pooling connections.  The default value for
DBCP is parameter
  namefactory/name
  valueorg.apache.commons.dbcp.BasicDataSourceFactory/value
/parameter

This is documented on the JNDI DataSources How-To page.  I suggest you
read it if you haven't already:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Jeffrey Barnett
I'm sure your explanation as well as a (re) reading of the How To will 
allow me to correct the problem.  Thanks very much!
I'd like a little more explanation however about your advice on using 
DefaultContext. In addition to the advantage of having a single place to 
add, remove, and change resources and resource parameters (e.g. 
passwords), I THOUGHT I was sharing a single copy of the resources.  I 
understand now that a separate copy is created for every application.  
But what I don't understand is how putting every resource in every 
actual context is better.  If I have 5 applications, each of whose 
actual context  contain 10 connections, won't I still have 50 connections?

Shapira, Yoav wrote:
You realize that by placing a Resource in DefaultContext you ensure that
a separate copy is created for each Context, right?  That means if you
configure for 10 max connections and have 5 Contexts, you will have 5
DataSources with 50 total max connections possible.  Unless this is
really what you want, consider having the DataSource defined in the
actual Context element instead of DefaultContext.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Binding DataSources to Contexts in Tomcat 4.06/4.1

2004-08-19 Thread Shapira, Yoav

Hi,

passwords), I THOUGHT I was sharing a single copy of the resources.  I
understand now that a separate copy is created for every application.
But what I don't understand is how putting every resource in every
actual context is better.  If I have 5 applications, each of whose
actual context  contain 10 connections, won't I still have 50
connections?

This is what GlobalNamingResources (and then you need an associated
ResourceLink inside the Context element) is for:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/globalresources.h
tml.


Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Howto run tomcat 4.06 as windows service

2004-04-08 Thread Carl Olivier
Hi.

Visit: http://www.alexandriasc.com/software/JavaService/index.html

Download the free JavaService wrapper - read the docs and use it to easily
install a service for your tomcat 4 (in fact they have a batch file in their
distro that is pre-done for TC4!)

Regards,

Carl

-Original Message-
From: baldyeti [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2004 09:18 PM
To: [EMAIL PROTECTED]
Subject: Howto run tomcat 4.06 as windows service


Hello,

I have an existing tc4 installation (copied in a hurry from another system
;-) which works fine when launched via the startup.bat script. Is there a
way to turn it into a proper windows (XP) service? I know tc5 has
service.bat, but short of upgrading, what would be the equivalent here?

Tia,

--bald



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Howto run tomcat 4.06 as windows service

2004-04-08 Thread baldyeti
Thanks, Carl. It worked like a charm. This seems to be what the regular 
windows installer also uses, isn't it?

Cheers,

-bald



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Howto run tomcat 4.06 as windows service

2004-04-07 Thread baldyeti
Hello,

I have an existing tc4 installation (copied in a hurry from
another system ;-) which works fine when launched via the
startup.bat script. Is there a way to turn it into a proper
windows (XP) service? I know tc5 has service.bat, but short
of upgrading, what would be the equivalent here?
Tia,

--bald



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Problem installing Tomcat 4.06 on Windows 2000

2003-03-10 Thread Kal Govindu
All the environmental variables seem to be set correctly. Tomcat puts a
log in its /logs directory, containing startup information, look there
for more clues.
-Kal

-Original Message-
From: Venkatesh Brahmadesam [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 6:04 PM
To: [EMAIL PROTECTED]
Subject: Problem installing Tomcat 4.06 on Windows 2000


 I am new to using Tomcat
 I followed the instructions and extracted Tomcat to a folder in C:\
 
 I am using JDK 1.2.2 and set JAVA_HOME as the same
 
 The CATALINA_HOME is also set to my tomcat directory.
 
 When I execute startup a new console opens with Tomcat and 
 then closes. TOmcat doesn't start.
 
 Message from Command line
 C:\jakarta-tomcat-4.0.6\binstartup
 Using CATALINA_BASE:   C:\jakarta-tom
 Using CATALINA_HOME:   C:\jakarta-tom
 Using CATALINA_TMPDIR: C:\jakarta-tom
 Using JAVA_HOME:   C:\jdk1.2.2
 C:\jakarta-tomcat-4.0.6\bin


 
 Any help is appreciated.


Thanks

Venkatesh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem installing Tomcat 4.06 on Windows 2000

2003-03-09 Thread Venkatesh Brahmadesam
 I am new to using Tomcat
 I followed the instructions and extracted Tomcat to a folder in C:\
 
 I am using JDK 1.2.2 and set JAVA_HOME as the same
 
 The CATALINA_HOME is also set to my tomcat directory.
 
 When I execute startup a new console opens with Tomcat and 
 then closes. TOmcat doesn't start.
 
 Message from Command line
 C:\jakarta-tomcat-4.0.6\binstartup
 Using CATALINA_BASE:   C:\jakarta-tom
 Using CATALINA_HOME:   C:\jakarta-tom
 Using CATALINA_TMPDIR: C:\jakarta-tom
 Using JAVA_HOME:   C:\jdk1.2.2
 C:\jakarta-tomcat-4.0.6\bin


 
 Any help is appreciated.


Thanks

Venkatesh


tomcat 4.06

2003-01-16 Thread Andrea Cristofanini

what is this error? what i have to do for fix it?

how i can use jikes to compile this??

 

javax.servlet.ServletException: (class: org/apache/jsp/QqcPage$jsp, method: 
_jspService signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
Illegal target of jump or branch at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)  
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)  
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
  at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)   
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)  
  at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)   
 at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)  
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368) at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)  
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)   
 at java.lang.Thread.run(Thread.java:536)



root cause 
java.lang.VerifyError: (class: org/apache/jsp/QqcPage$jsp, method: _jspService 
signature: 
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) 
Illegal target of jump or branch  at java.lang.Class.getDeclaredConstructors0(Native 
Method)  at java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)  
at java.lang.Class.getConstructor0(Class.java:1748) at 
java.lang.Class.newInstance0(Class.java:266) at 
java.lang.Class.newInstance(Class.java:249)  at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:138) 
at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:178)
  at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)  
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)  
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)  at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)  
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
 at 

RE: tomcat 4.06

2003-01-16 Thread Shapira, Yoav
Hi,
Make sure you only have one server.jar throughout your tomcat
installation: in the tomcat common directory.  And it should be the
servlet.jar (v2.3) that ships with tomcat.  Do not have any servlet
distributions under your webapps directories...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Andrea Cristofanini [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:13 AM
To: [EMAIL PROTECTED]
Subject: tomcat 4.06


what is this error? what i have to do for fix it?

how i can use jikes to compile this??



javax.servlet.ServletException: (class: org/apache/jsp/QqcPage$jsp,
method:
_jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServlet
Resp
onse;)V) Illegal target of jump or branch  at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)   at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic
atio
nFilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:243)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
566)   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal
ve.j
ava:190)   at org.apache.catalina.core.StandardP!
ipeline.invokeNext(StandardPipeline.java:566)  at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.j
ava:
246)   at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
564)   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:23
47)
   at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
566)   at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
564)   at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
0) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
564)   at org.apache.catalina.valves.AccessLogValve.in!
voke(AccessLogValve.java:468)  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
564)   at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java
:368
)  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
564)   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve
.jav
a:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.j
ava:
566)   at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:
472)
   at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.
java
:1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java
:112
5) at java.lang.Thread.run(Thread.java:536)



root cause
java.lang.VerifyError: (class: org/apache/jsp/QqcPage$jsp, method:
_jspService signature:
(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServlet
Resp
onse;)V) Illegal target of jump or branch  at
java.lang.Class.getDeclaredConstructors0(Native Method)at
java.lang.Class.privateGetDeclaredConstructors(Class.java:1576)
at
java.lang.Class.getConstructor0(Class.java:1748)   at
java.lang.Class.newInstance0(Class.java:266)   at
java.lang.Class.newInstance(Class.java:249)at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.
java
:138)  at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(
JspS
ervlet.java:178)   at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServl
et.j
ava:188)   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381
)
   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.Applic!
ationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:243