Re: RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread jmong
i've actually seen this error with an improperly configured 
jboss+tomcat bundle.

the main idea is that a previous resource such as a database driver or 
jndi jar file failed to load due to one of many resources such as (a) 
improperly configured xml file, (b) file permissions, (c) not found in 
classpath (d) conflicting jars in classpath.

the only way i've been able to isolate is to turn on debugging to 
maximum and take add parts at a time until i can figure out what might 
be causing the problem.

i didn't really solve your initial problem.. but hopefully that helps 
you.

jan-michael

- Original Message -
From: [EMAIL PROTECTED]
Date: Tuesday, February 11, 2003 6:39 am
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!

> It doesnt seem to make a difference.
> Still not working?
> 
> 2003-02-11 14:20:24 StandardContext[/intranettv]: Resources start 
> failed:2003-02-11 14:20:24 StandardContext[/intranettv]: Context 
> startup failed due
> to previous errors
> 2003-02-11 14:20:24 StandardContext[/intranettv]: Exception during 
> cleanupafter start failed
> LifecycleException:  Container StandardContext[/intranettv] has 
> not been
> started
>at
> org.apache.catalina.core.StandardContext.stop
(StandardContext.java:3643)
> 
> This is the first couple of error lines reported by catalina log 
> reports.(Resources start failed)
> Does anybody know how to get around this??? or even what makes it 
> be thrown
> would be nice!
> 
> -Original Message-
> From: Keppel Yin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 2:19 PM
> To: Tomcat Users List
> Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Hi,
> 
> Should you include a '/' in the url-pattern?
> Could you try to remove it ?
> 
> Thanks,
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 8:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> I thought the "intranettv" is a path default (an alias) whereas the
> IntranetTV is a classname and also the name that you are calling the
> servlet.
> Hence if i was to call a function in the servlet, would look 
> something like:
> http://localhost:8080/intranettv/IntranetTV?
func=CreateEmbedVideoWindow&arg=
> 942
> 
> Where intranettv is the path and IntranetTV is the servlet. (that 
> was the
> way it worked in tomcat 3.2.1. Please tell me if that is wrong!)
> 
> -----Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 1:17 PM
> To: Tomcat Users List
> Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Is it a typo that "localhost:8080/intranettv" doesn't match the
> case in "/IntranetTV"?  It needs
> to in order to work.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: Tuesday, February 11, 2003 8:08 AM
> > To: [EMAIL PROTECTED]
> > Subject: servlet not working on tomcat 4.1.18 - help please!!!
> > 
> > 
> > Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> > 
> > Basically, Ive got the tomcat 4.1.18 to start up and the 
> > localhost:8080 runs
> > as do the examples such as jsp pages and servlet examples.
> > 
> > Ive added context to the server.xml like:
> > 
> >  > docBase="D:\internettv\admin\public_site"
> > debug="0"
> >  reloadable="true" 
> > crossContext="false">
> > 
> > 
> > In the folder public_site, i have a Web-inf folder with a 
> > web.xml in it.
> > My web.xml looks like this:
> >  > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
> 2.2//EN" 
> > "" target="l">http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> > 
> > 
> > 
> > IntranetTV
> > 
> > This is the IntranetTV application with a source code 
> > organization
> > based on the recommendations of the Application 
> > Developer's Guide.
> > 
> > 
> > 
> > IntranetTV
> > 
> > com.bt.intranettv.view.IntranetTV
> > 
> > root
> > 
> > D:\intranettv\admin\public_site\
> > 
> > -100
> > 
> > 
> > 

RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread Keppel Yin
Could you check if all necessary files have been deployed correctly?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 9:39 AM
To: [EMAIL PROTECTED]
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


It doesnt seem to make a difference.
Still not working?

2003-02-11 14:20:24 StandardContext[/intranettv]: Resources start failed:
2003-02-11 14:20:24 StandardContext[/intranettv]: Context startup failed due
to previous errors
2003-02-11 14:20:24 StandardContext[/intranettv]: Exception during cleanup
after start failed
LifecycleException:  Container StandardContext[/intranettv] has not been
started
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

This is the first couple of error lines reported by catalina log reports.
(Resources start failed)
Does anybody know how to get around this??? or even what makes it be thrown
would be nice!

-Original Message-
From: Keppel Yin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:19 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Hi,

Should you include a '/' in the url-pattern?
Could you try to remove it ?

Thanks,

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 8:21 AM
To: [EMAIL PROTECTED]
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


I thought the "intranettv" is a path default (an alias) whereas the
IntranetTV is a classname and also the name that you are calling the
servlet.
Hence if i was to call a function in the servlet, would look something like:
http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVideoWindow&arg=
942

Where intranettv is the path and IntranetTV is the servlet. (that was the
way it worked in tomcat 3.2.1. Please tell me if that is wrong!)

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:17 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Is it a typo that "localhost:8080/intranettv" doesn't match the
case in "/IntranetTV"?  It needs
to in order to work.

Cheers,
Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> 
> Basically, Ive got the tomcat 4.1.18 to start up and the 
> localhost:8080 runs
> as do the examples such as jsp pages and servlet examples.
> 
> Ive added context to the server.xml like:
>   
>  docBase="D:\internettv\admin\public_site"
>   debug="0"
>   reloadable="true" 
>   crossContext="false">
>   
> 
> In the folder public_site, i have a Web-inf folder with a 
> web.xml in it.
> My web.xml looks like this:
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> IntranetTV
> 
>   This is the IntranetTV application with a source code 
> organization
>   based on the recommendations of the Application 
> Developer's Guide.
> 
> 
> 
> IntranetTV
> 
> com.bt.intranettv.view.IntranetTV
>   
> root
> 
> D:\intranettv\admin\public_site\
> 
> -100
> 
> 
> 
> IntranetTV
> /IntranetTV
> 
> 
> 
> My problem is that when i then go to url localhost:8080/intranettv
> the browser displays a 404 error - intranet. 
> The requested resource (/intranet) is not available.
> 
> what have I done wrong, or what can i do to put it right??
> 
> (PS I have compiled the classes with java 1.2 but the tomcat 
> is running with
> java 1.4 - will this cause any problems - it should be 
> backwards compatible)
> 
> -
> 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]


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

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

RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread derrick . robertson
It doesnt seem to make a difference.
Still not working?

2003-02-11 14:20:24 StandardContext[/intranettv]: Resources start failed:
2003-02-11 14:20:24 StandardContext[/intranettv]: Context startup failed due
to previous errors
2003-02-11 14:20:24 StandardContext[/intranettv]: Exception during cleanup
after start failed
LifecycleException:  Container StandardContext[/intranettv] has not been
started
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

This is the first couple of error lines reported by catalina log reports.
(Resources start failed)
Does anybody know how to get around this??? or even what makes it be thrown
would be nice!

-Original Message-
From: Keppel Yin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 2:19 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Hi,

Should you include a '/' in the url-pattern?
Could you try to remove it ?

Thanks,

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 8:21 AM
To: [EMAIL PROTECTED]
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


I thought the "intranettv" is a path default (an alias) whereas the
IntranetTV is a classname and also the name that you are calling the
servlet.
Hence if i was to call a function in the servlet, would look something like:
http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVideoWindow&arg=
942

Where intranettv is the path and IntranetTV is the servlet. (that was the
way it worked in tomcat 3.2.1. Please tell me if that is wrong!)

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:17 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Is it a typo that "localhost:8080/intranettv" doesn't match the
case in "/IntranetTV"?  It needs
to in order to work.

Cheers,
Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> 
> Basically, Ive got the tomcat 4.1.18 to start up and the 
> localhost:8080 runs
> as do the examples such as jsp pages and servlet examples.
> 
> Ive added context to the server.xml like:
>   
>  docBase="D:\internettv\admin\public_site"
>   debug="0"
>   reloadable="true" 
>   crossContext="false">
>   
> 
> In the folder public_site, i have a Web-inf folder with a 
> web.xml in it.
> My web.xml looks like this:
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> IntranetTV
> 
>   This is the IntranetTV application with a source code 
> organization
>   based on the recommendations of the Application 
> Developer's Guide.
> 
> 
> 
> IntranetTV
> 
> com.bt.intranettv.view.IntranetTV
>   
> root
> 
> D:\intranettv\admin\public_site\
> 
> -100
> 
> 
> 
> IntranetTV
> /IntranetTV
> 
> 
> 
> My problem is that when i then go to url localhost:8080/intranettv
> the browser displays a 404 error - intranet. 
> The requested resource (/intranet) is not available.
> 
> what have I done wrong, or what can i do to put it right??
> 
> (PS I have compiled the classes with java 1.2 but the tomcat 
> is running with
> java 1.4 - will this cause any problems - it should be 
> backwards compatible)
> 
> -
> 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]


-
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]


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




RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread Keppel Yin
Hi,

Should you include a '/' in the url-pattern?
Could you try to remove it ?

Thanks,

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 8:21 AM
To: [EMAIL PROTECTED]
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


I thought the "intranettv" is a path default (an alias) whereas the
IntranetTV is a classname and also the name that you are calling the
servlet.
Hence if i was to call a function in the servlet, would look something like:
http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVideoWindow&arg=
942

Where intranettv is the path and IntranetTV is the servlet. (that was the
way it worked in tomcat 3.2.1. Please tell me if that is wrong!)

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:17 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Is it a typo that "localhost:8080/intranettv" doesn't match the
case in "/IntranetTV"?  It needs
to in order to work.

Cheers,
Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> 
> Basically, Ive got the tomcat 4.1.18 to start up and the 
> localhost:8080 runs
> as do the examples such as jsp pages and servlet examples.
> 
> Ive added context to the server.xml like:
>   
>  docBase="D:\internettv\admin\public_site"
>   debug="0"
>   reloadable="true" 
>   crossContext="false">
>   
> 
> In the folder public_site, i have a Web-inf folder with a 
> web.xml in it.
> My web.xml looks like this:
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> IntranetTV
> 
>   This is the IntranetTV application with a source code 
> organization
>   based on the recommendations of the Application 
> Developer's Guide.
> 
> 
> 
> IntranetTV
> 
> com.bt.intranettv.view.IntranetTV
>   
> root
> 
> D:\intranettv\admin\public_site\
> 
> -100
> 
> 
> 
> IntranetTV
> /IntranetTV
> 
> 
> 
> My problem is that when i then go to url localhost:8080/intranettv
> the browser displays a 404 error - intranet. 
> The requested resource (/intranet) is not available.
> 
> what have I done wrong, or what can i do to put it right??
> 
> (PS I have compiled the classes with java 1.2 but the tomcat 
> is running with
> java 1.4 - will this cause any problems - it should be 
> backwards compatible)
> 
> -
> 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]


-
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: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread derrick . robertson
Yes larry, your right but can you make any sense of this.
i purged the text file to get a fresh report. It looks like this.

Basically it looks like /intranettv has failed to start but ive no idea
why??
It doesnt seem to give you any reasons why!!

Catalina-localhost-log for this bootup!!

2003-02-11 13:28:13 StandardContext[/intranettv]: Resources start failed:
2003-02-11 13:28:13 StandardContext[/intranettv]: Context startup failed due
to previous errors
2003-02-11 13:28:13 StandardContext[/intranettv]: Exception during cleanup
after start failed
LifecycleException:  Container StandardContext[/intranettv] has not been
started
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3621)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
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:2189)
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)

2003-02-11 13:28:13 WebappLoader[]: Deploying class repositories to work
directory C:\jakarta-tomcat4.1\work\Standalone\localhost\_
2003-02-11 13:28:13 StandardManager[]: Seeding random number generator class
java.security.SecureRandom
2003-02-11 13:28:13 StandardManager[]: Seeding of random number generator
has been completed
2003-02-11 13:28:13 StandardWrapper[:default]: Loading container servlet
default
2003-02-11 13:28:13 StandardWrapper[:invoker]: Loading container servlet
invoker
2003-02-11 13:28:13 HostConfig[localhost]: Deploying configuration
descriptor admin.xml
2003-02-11 13:28:19 HostConfig[localhost]: Deploying configuration
descriptor manager.xml
2003-02-11 13:28:19 WebappLoader[/manager]: Deploying class repositories to
work directory C:\jakarta-tomcat4.1\work\Standalone\localhost\manager
2003-02-11 13:28:19 ContextConfig[/manager]: Configured an authenticator for
method BASIC
2003-02-11 13:28:19 StandardManager[/manager]: Seeding random number
generator class java.security.SecureRandom
2003-02-11 13:28:19 StandardManager[/manager]: Seeding of random number
generator has been completed
2003-02-11 13:28:19 StandardWrapper[/manager:default]: Loading container
servlet default
2003-02-11 13:28:19 StandardWrapper[/manager:invoker]: Loading container
servlet invoker
2003-02-11 13:28:19 HostConfig[localhost]: Deploying web application
directory tomcat-docs
2003-02-11 13:28:19 StandardHost[localhost]: Installing web application at
context path /tomcat-docs from URL
file:C:\jakarta-tomcat4.1\webapps\tomcat-docs
2003-02-11 13:28:19 WebappLoader[/tomcat-docs]: Deploying class repositories
to work directory C:\jakarta-tomcat4.1\work\Standalone\localhost\tomcat-docs
2003-02-11 13:28:20 StandardManager[/tomcat-docs]: Seeding random number
generator class java.security.SecureRandom
2003-02-11 13:28:20 StandardManager[/tomcat-docs]: Seeding of random number
generator has been completed
2003-02-11 13:28:20 StandardWrapper[/tomcat-docs:default]: Loading container
servlet default
2003-02-11 13:28:20 StandardWrapper[/tomcat-docs:invoker]: Loading container
servlet invoker
2003-02-11 13:28:20 HostConfig[localhost]: Deploying web application
directory webdav
2003-02-11 13:28:20 StandardHost[localhost]: Installing web application at
context path /webdav from URL file:C:\jakarta-tomcat4.1\webapps\webdav
2003-02-11 13:28:20 WebappLoader[/webdav]: Deploying class repositories to
work directory C:\jakarta-tomcat4.1\work\Standalone\localhost\webdav
2003-02-11 13:28:20 StandardManager[/webdav]: Seeding random number
generator class java.security.SecureRandom
2003-02-11 13:28:20 StandardManager[/webdav]: Seeding of random number
generator has been completed
2003-02-11 13:28:20 StandardWrapper[/webdav:default]: Loading container
servlet default
2003-02-11 13:28:20 StandardWrapper[/webdav:invoker]: Loading container
servlet invoker


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




RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread Larry Isaacs
Sorry, didn't read your question carefully enough.  I need to
wake up more before trying to answer questions.

The browser response doesn't give you much of a clue as to
what happened in the server.  You should get better information
from the CATALINA_HOME/logs/localhost_log*.txt file.  Do you
see any clues there?

Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> I thought the "intranettv" is a path default (an alias) whereas the
> IntranetTV is a classname and also the name that you are calling the
> servlet.
> Hence if i was to call a function in the servlet, would look 
> something like:
> http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVi
> deoWindow&arg=
> 942
> 
> Where intranettv is the path and IntranetTV is the servlet. 
> (that was the
> way it worked in tomcat 3.2.1. Please tell me if that is wrong!)
> 
> -Original Message-
> From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 11, 2003 1:17 PM
> To: Tomcat Users List
> Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Is it a typo that "localhost:8080/intranettv" doesn't match the
> case in "/IntranetTV"?  It needs
> to in order to work.
> 
> Cheers,
> Larry
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: Tuesday, February 11, 2003 8:08 AM
> > To: [EMAIL PROTECTED]
> > Subject: servlet not working on tomcat 4.1.18 - help please!!!
> > 
> > 
> > Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> > 
> > Basically, Ive got the tomcat 4.1.18 to start up and the 
> > localhost:8080 runs
> > as do the examples such as jsp pages and servlet examples.
> > 
> > Ive added context to the server.xml like:
> > 
> >  > docBase="D:\internettv\admin\public_site"
> > debug="0"
> > reloadable="true" 
> > crossContext="false">
> > 
> > 
> > In the folder public_site, i have a Web-inf folder with a 
> > web.xml in it.
> > My web.xml looks like this:
> >  > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> > 
> > 
> > 
> > IntranetTV
> > 
> > This is the IntranetTV application with a source code 
> > organization
> > based on the recommendations of the Application 
> > Developer's Guide.
> > 
> > 
> > 
> > IntranetTV
> > 
> > com.bt.intranettv.view.IntranetTV
> > 
> > root
> > 
> > D:\intranettv\admin\public_site\
> > 
> > -100
> > 
> > 
> > 
> > IntranetTV
> > /IntranetTV
> > 
> > 
> > 
> > My problem is that when i then go to url localhost:8080/intranettv
> > the browser displays a 404 error - intranet. 
> > The requested resource (/intranet) is not available.
> > 
> > what have I done wrong, or what can i do to put it right??
> > 
> > (PS I have compiled the classes with java 1.2 but the tomcat 
> > is running with
> > java 1.4 - will this cause any problems - it should be 
> > backwards compatible)
> > 
> > 
> -
> > 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]
> 
> 
> -
> 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: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread derrick . robertson
I thought the "intranettv" is a path default (an alias) whereas the
IntranetTV is a classname and also the name that you are calling the
servlet.
Hence if i was to call a function in the servlet, would look something like:
http://localhost:8080/intranettv/IntranetTV?func=CreateEmbedVideoWindow&arg=
942

Where intranettv is the path and IntranetTV is the servlet. (that was the
way it worked in tomcat 3.2.1. Please tell me if that is wrong!)

-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 1:17 PM
To: Tomcat Users List
Subject: RE: servlet not working on tomcat 4.1.18 - help please!!!


Is it a typo that "localhost:8080/intranettv" doesn't match the
case in "/IntranetTV"?  It needs
to in order to work.

Cheers,
Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> 
> Basically, Ive got the tomcat 4.1.18 to start up and the 
> localhost:8080 runs
> as do the examples such as jsp pages and servlet examples.
> 
> Ive added context to the server.xml like:
>   
>  docBase="D:\internettv\admin\public_site"
>   debug="0"
>   reloadable="true" 
>   crossContext="false">
>   
> 
> In the folder public_site, i have a Web-inf folder with a 
> web.xml in it.
> My web.xml looks like this:
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> IntranetTV
> 
>   This is the IntranetTV application with a source code 
> organization
>   based on the recommendations of the Application 
> Developer's Guide.
> 
> 
> 
> IntranetTV
> 
> com.bt.intranettv.view.IntranetTV
>   
> root
> 
> D:\intranettv\admin\public_site\
> 
> -100
> 
> 
> 
> IntranetTV
> /IntranetTV
> 
> 
> 
> My problem is that when i then go to url localhost:8080/intranettv
> the browser displays a 404 error - intranet. 
> The requested resource (/intranet) is not available.
> 
> what have I done wrong, or what can i do to put it right??
> 
> (PS I have compiled the classes with java 1.2 but the tomcat 
> is running with
> java 1.4 - will this cause any problems - it should be 
> backwards compatible)
> 
> -
> 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]


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




RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread Larry Isaacs
Is it a typo that "localhost:8080/intranettv" doesn't match the
case in "/IntranetTV"?  It needs
to in order to work.

Cheers,
Larry

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, February 11, 2003 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: servlet not working on tomcat 4.1.18 - help please!!!
> 
> 
> Im trying to migrate from tomcat 3.2.1 to tomcat 4.1.18.
> 
> Basically, Ive got the tomcat 4.1.18 to start up and the 
> localhost:8080 runs
> as do the examples such as jsp pages and servlet examples.
> 
> Ive added context to the server.xml like:
>   
>  docBase="D:\internettv\admin\public_site"
>   debug="0"
>   reloadable="true" 
>   crossContext="false">
>   
> 
> In the folder public_site, i have a Web-inf folder with a 
> web.xml in it.
> My web.xml looks like this:
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" 
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
> 
> IntranetTV
> 
>   This is the IntranetTV application with a source code 
> organization
>   based on the recommendations of the Application 
> Developer's Guide.
> 
> 
> 
> IntranetTV
> 
> com.bt.intranettv.view.IntranetTV
>   
> root
> 
> D:\intranettv\admin\public_site\
> 
> -100
> 
> 
> 
> IntranetTV
> /IntranetTV
> 
> 
> 
> My problem is that when i then go to url localhost:8080/intranettv
> the browser displays a 404 error - intranet. 
> The requested resource (/intranet) is not available.
> 
> what have I done wrong, or what can i do to put it right??
> 
> (PS I have compiled the classes with java 1.2 but the tomcat 
> is running with
> java 1.4 - will this cause any problems - it should be 
> backwards compatible)
> 
> -
> 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]