[iPlanet-JATO] Re: Servlet Exception - problem was same App and Module names on Resin server

Hello Haim,

Thanks for the reply. I was actually trying to not-so-subtly suggest that we

had tried to help Jason earlier but had not heard back from him. We don't

have all the answers, but we usually try to provide some response and it is

helpful to all of us if there is some closure on the issue (i.e. we tried

the suggestion and it worked, or we tried and it didn't work). Because

Jason hadn't replied to the earlier suggestions we were not sure whether

they had helped or not, so it was more difficult to react to the latest

posting. I hope you understand, we are only trying to help as best we can.

Just to clarify, are you fine now that you are using a different App and

Module name?

Thanks

Mike.

-- Original Message --

From: <<a href="/group/SunONE-JATO/post?protectID=045166066007078237072056141004147239248 197129189053113079045130091004142020105181098201196026">jason_michael_keith@h ...</a>>

Sent: Monday, June 04, 2001 10:56 AM

Subject: [iPlanet-JATO] Re: Servlet Exception - problem was same App and

Module names on Resin server

> Mike,

>

> thanks for the response and sorry we've overlooked your posting.

> Jason is very busy with support and has offloaded the conversion

> effort to myself (my name is Haim). I posted the reply on Friday,

> not aware of your response.

>

> Actually, we were not using the AppName in the URL. When we tried that

> we got "javax.servlet.ServletException: too many servlet includes

> `/chartWar/chart/Chart/Logon.jsp'". I tried playing with the web.xml

> servlet mapping but that dit not work either. We decided to go the

> clean approach and start with a different app name.

>

> We've been working exclusively on Resin and haven't tried iAS yet

> (Jason might have tried it in the past).

>

> Thanks again.

>

> --haim

>

> In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217130152150">Michael.Frisino@S...</a>> wrote:

> > Jason,

> >

> > Nice find, however I think I responded two weeks ago as follows:

> >

> > "From what you have written it sounds like your application name is

> "chart"

> > and your module name is "Chart".

> >

> > The canonical JATO URL is NASApp/WarFileName/ModuleName/PageName.

> It looks

> > like you were using NASApp/WarFileName/AppName/ModuleName/PageName

> >

> > Omit the application name (char) from the URL and see what happens.

> > <a href="http://watusi/NASApp/chartWar/Chart/Logon">http://watusi/NASApp/chartW ar/Chart/Logon</a>

> >

> > Also, if that doesn't work, there might be some peculiar bug

> behavior in iAS

> > if the Application name and the module name are identical. There was

> some

> > problem with that naming back in iAS 6.0, but I am not sure if it is

> still

> > an issue in iAS 6.0 SP2."

> >

> > We were not aware of this being a problem in Resin as well. That is

> a shame.

> >

> > From your original email where you were referring to NASApp/chartWar

> it was

> > inferred that you were testing on iAS instead of resin. Did you ever

> get it

> > working on iAS?

> >

> > -- Original Message --

> > From: <<a href="/group/SunONE-JATO/post?protectID=045166066007078237072056141004147239248 197129189053113079045130205142076">jason_michael_keith@h...</a>>

> > Sent: Friday, June 01, 2001 9:26 AM

> > Subject: [iPlanet-JATO] Re: Servlet Exception - problem was same App

> and

> > Module names on Resin server

> >

> >

> > > After further investigation we determined the problem was in

> naming of

> > > the application and module as deployed on the Resin server. When

> > > the application and module are named the same the module servlet

> seems

> > > to get confused. When we re-deployed with a different application

> > > name the exception went away.

> > >

> > >

> > > In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, <a href="/group/SunONE-JATO/post?protectID=045166066007078237072056141004147239248 197129189053113079045130205142076">jason_michael_keith@h...</a> wrote:

> > > > I have deployed a servlet called ChartServlet using the resin

> > > server.

> > > > I have two versions of this servlet. One is basically a hello

> world

> > > > and the other (the real ChartServlet)consists of code migrated

> from

> > > > Net Dynamics. If I place the hello world version class file in

> the

> > > > path the deployment works correctly and I can see the hello

> world

> > > > message on the browser. If I place the (real) migrated

> ChartServlet

> > > > class file I receive the following error:

> > > >

> > > > I cannot determine what is not being found. I assume it is not

> the

> > > > ChartServlet itself as it finds the hello world version fine.

> > > >

> > > > 500 Servlet Exception

> > > >

> > > > java.lang.ClassNotFoundException: chart.Chart.ChartServlet

> > > >

> > >

> atcom.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java

> > > > :372)

> > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

> > > > at java.beans.Beans.instantiate(Beans.java:190)

> > > > at java.beans.Beans.instantiate(Beans.java:51)

> > > > at

> > > >

> > >

> com.caucho.server.http.Application.createServlet(Application.java:1732

> > > > )

> > > > at

> > > >

> > >

> com.caucho.server.http.Application.loadServlet(Application.java:1698)

> > > > at

> > > >

> > >

> com.caucho.server.http.Application.initServlets(Application.java:1115)

> > > > at

> com.caucho.server.http.Application.init(Application.java:1068)

> > > > at

> > > >

> > >

> com.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java

> > > > :865)

> > > > at

> > > >

> > >

> com.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:613)

> > > > at

> > > >

> > >

> com.caucho.server.http.ServletServer.getInvocation(ServletServer.java:

> > > > 654)

> > > > at

> > > >

> > >

> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:236)

> > > > at

> > > >

> > >

> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:1

> > > > 57)

> > > > at com.caucho.server.TcpConnection.run(TcpConnection.java:140)

> > > > at java.lang.Thread.run(Thread.java:484)

> > >

> > >

> > > <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

> > >

> > >

> > >

> > >

> > >

> > >

>

>

> <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215 146166214017110250006230056039126077176105140127082088124241215002153">iPlane t-JATO-unsubscribe@egroups.com</a>

>

>

>

>

>

>

[9003 byte] By [Guest] at [2007-11-25 9:31:34]
# 1

Hi Mike,

yes, we are fine now when using a different App name. Thank you for

your help!

I understand what you mean about the importance of closure on issues -

it also helps maintain the knowledge base among other things. We will

make sure to maintain consistency in using the form when we have more

personnel turnover in the future.

Thanks

--haim

In <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166136 158139046209">iPlanet-JATO@y...</a>, "Mike Frisino" <<a href="/group/SunONE-JATO/post?protectID=174176219122158198138082063148231088239 026066196217130152150">Michael.Frisino@S...</a>> wrote:

> Hello Haim,

>

> Thanks for the reply. I was actually trying to not-so-subtly suggest

that we

> had tried to help Jason earlier but had not heard back from him. We

don't

> have all the answers, but we usually try to provide some response

and it is

> helpful to all of us if there is some closure on the issue (i.e. we

tried

> the suggestion and it worked, or we tried and it didn't work).

Because

> Jason hadn't replied to the earlier suggestions we were not sure

whether

> they had helped or not, so it was more difficult to react to the

latest

> posting. I hope you understand, we are only trying to help as best

we can.

>

> Just to clarify, are you fine now that you are using a different App

and

> Module name?

>

> Thanks

> Mike.

>

> -- Original Message --

> From: <<a href="/group/SunONE-JATO/post?protectID=045166066007078237072056141004147239248 197129189053113079045130205142076">jason_michael_keith@h...</a>>

> Sent: Monday, June 04, 2001 10:56 AM

> Subject: [iPlanet-JATO] Re: Servlet Exception - problem was same App

and

> Module names on Resin server

>

>

> > Mike,

> >

> > thanks for the response and sorry we've overlooked your posting.

> > Jason is very busy with support and has offloaded the conversion

> > effort to myself (my name is Haim). I posted the reply on Friday,

> > not aware of your response.

> >

> > Actually, we were not using the AppName in the URL. When we tried

that

> > we got "javax.servlet.ServletException: too many servlet includes

> > `/chartWar/chart/Chart/Logon.jsp'". I tried playing with the

web.xml

> > servlet mapping but that dit not work either. We decided to go the

> > clean approach and start with a different app name.

> >

> > We've been working exclusively on Resin and haven't tried iAS yet

> > (Jason might have tried it in the past).

> >

> > Thanks again.

> >

> > --haim

Guest at 2007-7-1 18:24:29 > top of Java-index,Development Tools,Java Tools...