JasperException

2004-07-13 Thread Avula, Srini
Hi

After we deployed application in tomcat we got this error: (However the
deployment done successfully in oracle 10G OC4J Server and works fine).

org.apache.jasper.JasperException: Unable to compile class for JSP An
error occurred at line: 135 in the jsp file: sri/eEntries.jsp Generated
servlet error: [javac] Compiling 1 source file C:\Apache Software
Foundation\Tomcat
5.0\work\Catalina\localhost\eaqa_systest\org\apache\jsp\ear\candidate\Ca
ndidateEntries_jsp.java:1039: cannot resolve symbol symbol : method
setValue (java.lang.Object) location: class
org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_0.setValue(
yearRow.getAttribute(Formattedyear) 

It seems as though using scriptlets within the struts logic tags is
causing the problem under Tomcat, any suggestions?

 

 

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



How to access a Cluster using JMX

2004-01-19 Thread Srini Penchikala
Hi,
I am working on setting up a cluster environment using Tomcat 5. I was 
wondering if there is a way to access the Cluster object using JMX API. If 
anyone has done this, could you please e-mail me sample code or 
instructions.

Thanks
Srini
_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
  http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

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


tomcat4.1.24 + apache_2.0.47 + connectors-jk2.0.2

2004-01-02 Thread Srini
Hi,
I have a win2k machine trying to configure these. I am able to work apache
and tomcat individually. When I try to connect these using jk2 getting into
problems.. I have followed the John Turner win2k instructions. When ever I
add
-- LoadModule jk_module modules/mod_jk2-2.0.43.dll
-- Include C:/Tomcat4.1/conf/auto/mod_jk.conf
in httpd.con of apache and try to test using
c:\apache\apache2\bin\apache.exe -t

I am getting
Syntax error on line 174 of C:/Apache/Apache2/conf/httpd.conf:
Can't locate API module structure `jk_module' in file
C:/Apache/Apache2/modules/
mod_jk2-2.0.43.dll: No error

Any solution will be appreciated.

Thanks - srini.

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



Re: win2000 issue with tomcat4.1.24

2003-06-16 Thread Srini Gandu
John, I did as you said.. I have a problem in starting the tomcat.. I did
try to start by using as service and try to start via command prompt like
you said.. in both cases I got the following error log and un able to get
the tomcat home page.
I am putting the log file content below and also attaching this as
attachment..
Thanks - srini.

2003-06-16 22:31:49 HostConfig[localhost]: Deploying configuration
descriptor admin.xml
2003-06-16 22:31:54 HostConfig[localhost]: Deploying configuration
descriptor manager.xml
2003-06-16 22:31:54 WebappLoader[/manager]: Deploying class repositories to
work directory C:\Tomcat4.1\work\Standalone\localhost\manager
2003-06-16 22:31:54 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2003-06-16 22:31:54 StandardManager[/manager]: Seeding random number
generator class java.security.SecureRandom
2003-06-16 22:31:54 StandardManager[/manager]: Seeding of random number
generator has been completed
2003-06-16 22:31:54 StandardWrapper[/manager:default]: Loading container
servlet default
2003-06-16 22:31:54 StandardWrapper[/manager:invoker]: Loading container
servlet invoker
2003-06-16 22:31:54 StandardWrapper[/manager:jsp]: Marking servlet jsp as
unavailable
2003-06-16 22:31:54 StandardContext[/manager]: Servlet /manager threw load()
exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.jasper.servlet.JspServlet
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
2)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
21)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
 at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:700)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)
 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1064)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.commons.digester.Digester.parse(Digester.java:1562)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:385)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442
)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at org.apache.catalina.core.StandardService.start(StandardService.java:497)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Root Cause -
java.lang.IncompatibleClassChangeError: Implementing class

Basic question about Apache+Tomcat Memory usage

2001-09-07 Thread srini

hi users,
i have  this basic question in mind from so many days but din't get
an answer for it.
 when i try to execute a simple JSP or Servlet , generally first
time my CPU usage goes to 80-100%.I tried with default examples which comes
with Tomcat. where as i have seen big application which don't use that much
memory even u do some heavy jobs.
 Why is it so ???

 System configuration:
Pentium3900mHz processor   256MB Ram.
Operating system:  win2K
Tomcat 3.2.2

Thanks in advance.

-srini




Re: Basic question about Apache+Tomcat Memory usage

2001-09-07 Thread srini

 ho sorry Craig i was talking about CPU usage. I know first time it
translates JSP page in to Java and compiles it. But is it that much
intensive to eat 80-100% of memory ??
Iam running my application on Apache+Tomcat. For many of the pages
it takes 90-100% even though they are not first time visiting pages. It has
Database connections. what is the problem ?? do i need to check the code or
what ...?

  Thnaks  Craig .

-srini


- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 07, 2001 12:10 PM
Subject: Re: Basic question about Apache+Tomcat Memory usage


 Are you asking about CPU usage or memory usage?

 For CPU, the first time you access a page (or whenever you update it),
 Tomcat has to translate the page into Java and then compile it.  This is a
 pretty CPU-intensive activity, but it only happens once.

 For memory, there is a lot to understand about the way JVMs work -- but
 basically, from the operating system point of view, the JVM will start out
 at whatever you have configured as the minimum heap size, grow as it needs
 to, and never give it back (although from *inside* the JVM there will be
 free memory that can be reused for new Java object creation).  You can
 control the overall memory usage with command line parameters -- see the
 Java documentation for more info.

 Craig


 On Fri, 7 Sep 2001, srini wrote:

  Date: Fri, 7 Sep 2001 12:14:28 -0700
  From: srini [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Basic question about Apache+Tomcat Memory usage
 
  hi users,
  i have  this basic question in mind from so many days but din't
get
  an answer for it.
   when i try to execute a simple JSP or Servlet , generally first
  time my CPU usage goes to 80-100%.I tried with default examples which
comes
  with Tomcat. where as i have seen big application which don't use that
much
  memory even u do some heavy jobs.
   Why is it so ???
 
   System configuration:
  Pentium3900mHz processor   256MB Ram.
  Operating system:  win2K
  Tomcat 3.2.2
 
  Thanks in advance.
 
  -srini