Installing Tomcat-5.5.25 in Solaris 10 (SPARC-64 bit)

2008-06-24 Thread hareesh
Dear all,

   I have installed tomcat-5.5.25 in Solaris10 on Sun
SPARC 64-bit platform after installing 64-bit JRE. I am able to start the
tomcat using the startup.sh script. But when I tried to execute the
JSP-Exmples , I am getting Servlet Exception like the following:
( I have executed the "basic-arithmetic" example )

HTTP Status 500 -
--

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: Wrapper cannot find servlet class
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp or a class it depends
on

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)


org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)


org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)


org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:595)

*root cause*

java.lang.ClassNotFoundException:
org.apache.jsp.jsp2.el.basic_002darithmetic_jsp


org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)


org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)


org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)


org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
java.lang.Thread.run(Thread.java:595)


   Please let me know that is there restriction to run
Servlet in this platform ( SPARC 64-bit with Solaris 10 ) .


  When I deployed my Web Application , I am getting
another servlet exception ( This servlet is using the package jfreechart for
plotting some piechart, Exception came at this point. ie, From the line in
which the jfreechart method is called. ) . Is there any restriction that
jfreeshat (*version 1.0.0.*) will not work on tomcat-5.5.25 ?. Following is
the exception which I got from my application :

*Jun 24, 2008 8:40:53 PM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet StatusGraph
threw exception
java.lang.NoClassDefFoundError
at
org.jfree.chart.ChartFactory.createPieChart3D(ChartFactory.java:499)
at
my.util.PieChart.createTransparentPieChart3D(PieChart.java:344)*




  Is there any solution so that I can execute the
Servlet without any bug in this platform. Please tell me how to achieve
this.

-- 
Regards,
Hareesh V


Re: Installing Tomcat-5.5.25 in Solaris 10 (SPARC-64 bit)

2008-06-25 Thread hareesh
Thanks for the reply. Is there any special step that I should do for these
examples to work ? Is so, please give those steps. Thanks in advance.



On Wed, Jun 25, 2008 at 7:22 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:

> hareesh wrote:
>
>>   Please let me know that is there restriction to run
>> Servlet in this platform ( SPARC 64-bit with Solaris 10 ) .
>>
>
> There is no restriction that I am aware of. This should just work.
>
>  Is there any restriction that
>> jfreeshat (*version 1.0.0.*) will not work on tomcat-5.5.25 ?.
>>
>
> Again, not that I am aware of.
>
>   Is there any solution so that I can execute the
>> Servlet without any bug in this platform. Please tell me how to achieve
>> this.
>>
>
> Lets get the examples working first, then your webapp.
>
> A couple of questions:
> - How did you install Tomcat? Where did you download it from?
> - Do you see any error messages in the logs when Tomcat starts?
>
> Mark
>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Regards,
Hareesh V


Re: Installing Tomcat-5.5.25 in Solaris 10 (SPARC-64 bit)

2008-06-25 Thread hareesh
I have downloaded Tomcat from the URL :
http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.0.5/bin/jakarta-tomcat-5.0.5.tar.gz

After downloading I unzip it using 'gunzip . After that I untared it using
GNU tar (gtar) . Now  the sample applications shipped with Tomcat is working
fine.




On Wed, Jun 25, 2008 at 11:43 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:

> hareesh wrote:
>
>> Thanks for the reply. Is there any special step that I should do for these
>> examples to work ? Is so, please give those steps. Thanks in advance.
>>
>
> Answering my original questions would enable people on this list to help
> you.
>
>  On Wed, Jun 25, 2008 at 7:22 AM, Mark Thomas <[EMAIL PROTECTED]> wrote:
>>
>>> A couple of questions:
>>> - How did you install Tomcat? Where did you download it from?
>>> - Do you see any error messages in the logs when Tomcat starts?
>>>
>>
> Mark
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Regards,
Hareesh V