Tomcat 5.X and IIS 6

2004-05-05 Thread nrapagnani
I previously set up Tomcat 4.x with IIS 6.x.  I'm now trying Tomcat 5.x with
IIS 6.x.  I've followed the documentation found here:
http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html
 
 
I'm having trouble getting it to work.  I find it strange that this
documentation does not mention the server.xml file at all.  Have there been
any serious changes in the last year?  Do I not need to set up virtual hosts
in server.xml anymore?  Any help will be appreciated.


RE: New User Web.xml question

2004-02-25 Thread nrapagnani

Tomcat Log for web app, after I add taglibs to web.xml:
2004-02-25 13:41:02 WebappLoader[]: Deploying class repositories to work
directory C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\www.company.com\_
2004-02-25 13:41:02 WebappLoader[]: Deploy class files /WEB-INF/classes to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\classes
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/dom.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\dom.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxen-full.jar
to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxen-full.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxp-api.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxp-api.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR
/WEB-INF/lib/jdbc2_0-stdext.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jdbc2_0-stdext.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jstl.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jstl.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/sax.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\sax.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/saxpath.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\saxpath.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/standard.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\standard.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xalan.jar to
E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xalan.jar
2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xercesImpl.jar
to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xercesImpl.jar
2004-02-25 13:41:02 WebappLoader[]: Reloading checks are enabled for this
Context
2004-02-25 13:41:02 ContextConfig[] Exception processing TLD at resource
path /WEB-INF/c.tld
javax.servlet.ServletException: Exception processing TLD at resource path
/WEB-INF/c.tld
at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1010
)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3568)
at
org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConfig.ja
va:614)
at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854)
at java.lang.Thread.run(Thread.java:534)
- Root Cause -
java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/c.tld
at
org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java:1002
)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3568)
at
org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConfig.ja
va:614)
at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854)
at java.lang.Thread.run(Thread.java:534)

2004-02-25 13:41:02 ContextConfig[]: Marking this application unavailable
due to previous error(s)
2004-02-25 13:41:02 StandardManager[]: Seeding random number generator class
java.security.SecureRandom
2004-02-25 13:41:02 StandardManager[]: Seeding of random number generator
has been completed
2004-02-25 13:41:02 StandardContext[]: Context startup failed due to
previous errors
2004-02-25 13:41:39 StandardHost[www.company.com]: Removing web application
at context path 
2004-02-25 13:41:39 StandardHost[www.company.com]:
ContainerBase.removeChild: stop: 
LifecycleException:  Container StandardContext[] has not been started
at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3644)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
at
org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja
va:470)
at
org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
at
org.apache.catalina.core.

RE: New User Web.xml question

2004-02-25 Thread nrapagnani
Thank you Flip and Yoav for your help.  That cleared up a lot of confusion.

I have used the empty web.xml listed below, restarted tomcat, and everything
was fine.

I then added some taglibs to the web.xml:


http://java.sun.com/dtd/web-app_2_3.dtd";>



http://jakarta.apache.org/taglibs/c
/WEB-INF/c.tld


http://jakarta.apache.org/taglibs/sql
/WEB-INF/sql.tld




When I restart Tomcat, I get a 404 error.  Any ideas?


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 12:20 PM
To: Tomcat Users List
Subject: RE: New User Web.xml question


Howdy,
You don't need to declare JSPs in your web.xml even though they really
are servlets, because there's a special servlet that serves JSP pages.
That servlet is declared and mapped in the master web.xml file located
in the $CATALINA_HOME/conf directory.

Start with a web.xml file that just has an empty webapp element:


http://java.sun.com/dtd/web-app_2_3.dtd";>





Alternatively, you can use the basic web.xml provided in the tomcat
"First Webapp" guide:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/web.xml.txt

(In general, I suggest reading
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/ before any of
your many printed books).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 25, 2004 12:14 PM
>To: [EMAIL PROTECTED]
>Subject: New User Web.xml question
>
>Windows Server 2k, Tomcat 4.1.
>
>I'm relatively new at building web applications.  I'm ok with the
>programming, I've never learned how to make a web.xml file.
>
>I've gotten by on the invoker running all of my jsp pages.  It's now
time
>to
>do things right.  I have many books in front of me.
>NetBeans The Definitive Guide
>Tomcat Kick Start
>Apache Tomcat Bible
>Tomcat The Definitive Guide
>Web Development with JavaServer Pages
>CORE JSTL Mastering the JSP Standard Tag Library
>CORE Servlets and JavaServer Pages
>
>I still have no clue.  I only write jsp pages, no servlets.  I
understand
>that Tomcat converts this to a servlet.  I understand that this servlet
is
>a
>class.
>
>The sample web.xml in the ROOT directory of webapps does not mention a
>class, yet the index page runs.
>
>The sample web.xml in the examples directory of webapps has lots of
filter
>and filter-mapping entries.  I have only a vague idea of what they do.
>
>I have a few very simple webapps.  1 page to login, 1 page to search.
I
>would like to make a web.xml file for my webapps.  Right now, whatever
I
>try
>I get a 404 error when I restart Tomcat, then I delete the web.xml I
made
>and everything is good again.
>
>Can someone give me a tip.  If your webapp's root was
>\\webserver\www.company.com
>
and
>you added test.jsp to that web app.  What entry would you make in your
>web.xml file?
>
>Thanks in advance.



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]



New User Web.xml question

2004-02-25 Thread nrapagnani
Windows Server 2k, Tomcat 4.1.
 
I'm relatively new at building web applications.  I'm ok with the
programming, I've never learned how to make a web.xml file.
 
I've gotten by on the invoker running all of my jsp pages.  It's now time to
do things right.  I have many books in front of me.  
NetBeans The Definitive Guide
Tomcat Kick Start
Apache Tomcat Bible
Tomcat The Definitive Guide
Web Development with JavaServer Pages
CORE JSTL Mastering the JSP Standard Tag Library
CORE Servlets and JavaServer Pages
 
I still have no clue.  I only write jsp pages, no servlets.  I understand
that Tomcat converts this to a servlet.  I understand that this servlet is a
class.
 
The sample web.xml in the ROOT directory of webapps does not mention a
class, yet the index page runs.
 
The sample web.xml in the examples directory of webapps has lots of filter
and filter-mapping entries.  I have only a vague idea of what they do.
 
I have a few very simple webapps.  1 page to login, 1 page to search.  I
would like to make a web.xml file for my webapps.  Right now, whatever I try
I get a 404 error when I restart Tomcat, then I delete the web.xml I made
and everything is good again.
 
Can someone give me a tip.  If your webapp's root was
\\webserver\www.company.com
  and
you added test.jsp to that web app.  What entry would you make in your
web.xml file?
 
Thanks in advance.


RE: IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani
I'll give that a try, thanks.

-Original Message-
From: Krell, Andrew [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 1:08 PM
To: 'Tomcat Users List'
Subject: RE: IIS + Tomcat + Beans


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 11:55 AM
To: [EMAIL PROTECTED]
Subject: IIS + Tomcat + Beans


>I have successfully integrated Tomcat 4.1 and IIS.  I have Tomcat handle
all jsp files that >are on the IIS webserver.  Because I'm using IIS, I
don't have the standard WEB-INF directory associated with the directories
I'm using.  I don't know where to put my classes.  >I've tried putting them
in the common folder in the apache program directory, but it still does not
find the class.  Any ideas?



You need to make a web-inf folder in your context's docbase folder (which,
if you've set it up correctly, should also be the place you have your JSP
files).  In that folder, you need to create another folder called classes.
That is where you put your class files for proper reference.  The rest is
dependent upon your server.xml setup and your tomcat version, but I would
also recommend creating a web.xml file. 

-Andrew



-
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: IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani


-Original Message-
From: BAO RuiXian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 12:15 PM
To: Tomcat Users List
Subject: Re: IIS + Tomcat + Beans


[EMAIL PROTECTED] wrote:

>I have successfully integrated Tomcat 4.1 and IIS.  I have Tomcat handle
all
> 
>
Although I don't use IIS, but, since you still have problems, how can
you claim you have successfully integrated Tomcat 4.1 and IIS.

Because all ".jsp" pages run on IIS.  I've installed the filter on
IIS and setup the configuration on Tomcat. It was hard as hell, but now the
jsp pages work.

>jsp files that are on the IIS webserver.  Because I'm using IIS, I don't
> 
>
How can you make Tomcat to handle all the jsp files on the IIS
webserver? Shouldn't be all jsp files located in Tomcat server instead?

I'm not certain of many Tomcat rules.  I've found walkthroughs for
configuring IIS with Tomcat in a couple of books and have successfully
gotten it to work.

>have the standard WEB-INF directory associated with the directories I'm
> 
>
Not quite understand your question, but WEB-INF is only meaningful for
Tomcat server.

This is my problem.  Tomcat Server is serving my jsp pages, but from an
outside directory.
>using.  I don't know where to put my classes.  I've tried putting them in
>the common folder in the apache program directory, but it still does not
> 
>
How come apache has a play here? Apache is another web server.

Sorry, when you install Tomcat it makes a folder in Program Files called
'APACHE SOFTWARE FOUNDATION'.


>find the class.  Any ideas?
> 
>
I guess you want to use IIS as a frontend for so-called static pages
while Tomcat as a backend for so-called dynamic pages.

Yep. Not by choice.


Best

Bao


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



IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani
I have successfully integrated Tomcat 4.1 and IIS.  I have Tomcat handle all
jsp files that are on the IIS webserver.  Because I'm using IIS, I don't
have the standard WEB-INF directory associated with the directories I'm
using.  I don't know where to put my classes.  I've tried putting them in
the common folder in the apache program directory, but it still does not
find the class.  Any ideas?


RE: Multiple Virtual Hosts on 1 instance of Tomcat

2003-08-28 Thread nrapagnani
Thanks for all the help.  I forgot to add the Jakarta iasapi plug in as a
virtual directory on the virtual host I was adding in IIS.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 8:28 AM
To: Tomcat Users List
Subject: Re: Multiple Virtual Hosts on 1 instance of Tomcat


Caveat: I don't use IIS.  I don't use JK2.

You need full setup in uriworkermap.properties for the second virtual host.

You also need some sort of virtual directory or something created within
the webroot (again, I don't use IIS but that is what I remember from
reading numerous posts on this list).

Basically, as far as I know, everything you did for "localhost" or
"host1" you have to do again for each successive virtual host, short of
installing the redirector.

John

[EMAIL PROTECTED] wrote:

> I'm not sure what configuration the IIS connector would need.  I'm using
the
> redirector plug in 2.0 that points to the workers file.  I thought that
was
> all I needed for the IIS part.
>
> As for doesn't work.  I get a 404-error page from IIS when I go to the web
> page.
>
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 4:15 PM
> To: Tomcat Users List
> Subject: Re: Multiple Virtual Hosts on 1 instance of Tomcat
>
>
> Can you be more specific than "doesn't work"?
>
> Have you done all of the configuration with your IIS connector required
> for the second virtual host?
>
> John
>
> [EMAIL PROTECTED] wrote:
>
>
>>Hello.  Thanks for taking the time to read this.  First of all, I am
>>assuming that virtual hosts are where you have more than one url pointing
>
> to
>
>>a web server.  Each url has it's own data.  Not redirection.
>>
>>I have a web server that handles 5 virtual hosts using IIS.  I've
>
> configured
>
>>tomcat to work with IIS and serve JSP pages for 1 of the virtual hosts.  I
>>used the default server.xml file that came with the installation.
>>
>>So my server.xml file looks like this.
>>
>>
>>   
>>>   unpackWARs="true" autoDeploy="true">
>>
>>> directory="logs"  prefix="psc_log." suffix=".txt"
>>timestamp="true"/>
>>
>>>reloadable="true" />
>>
>>
>>
>>>   unpackWARs="true" autoDeploy="true">
>>
>>> directory="logs"  prefix="psc_log." suffix=".txt"
>>timestamp="true"/>
>>
>>>debug="0" reloadable="true" />
>>
>>
>>  
>>
>>
>>Site1 works.  Site 2 doesn't.  Any idea what I'm doing wrong?
>>
>
>
>
>
> -
> 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: Multiple Virtual Hosts on 1 instance of Tomcat

2003-08-27 Thread nrapagnani
I'm not sure what configuration the IIS connector would need.  I'm using the
redirector plug in 2.0 that points to the workers file.  I thought that was
all I needed for the IIS part.

As for doesn't work.  I get a 404-error page from IIS when I go to the web
page.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 4:15 PM
To: Tomcat Users List
Subject: Re: Multiple Virtual Hosts on 1 instance of Tomcat


Can you be more specific than "doesn't work"?

Have you done all of the configuration with your IIS connector required
for the second virtual host?

John

[EMAIL PROTECTED] wrote:

> Hello.  Thanks for taking the time to read this.  First of all, I am
> assuming that virtual hosts are where you have more than one url pointing
to
> a web server.  Each url has it's own data.  Not redirection.
> 
> I have a web server that handles 5 virtual hosts using IIS.  I've
configured
> tomcat to work with IIS and serve JSP pages for 1 of the virtual hosts.  I
> used the default server.xml file that came with the installation. 
> 
> So my server.xml file looks like this.
> 
> 
> 
> unpackWARs="true" autoDeploy="true">
> 
>   directory="logs"  prefix="psc_log." suffix=".txt"
> timestamp="true"/>
> 
>  reloadable="true" />
> 
> 
> 
> unpackWARs="true" autoDeploy="true">
> 
>   directory="logs"  prefix="psc_log." suffix=".txt"
> timestamp="true"/>
> 
>  debug="0" reloadable="true" />
> 
> 
>   
> 
> 
> Site1 works.  Site 2 doesn't.  Any idea what I'm doing wrong?
>



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



Multiple Virtual Hosts on 1 instance of Tomcat

2003-08-27 Thread nrapagnani
Hello.  Thanks for taking the time to read this.  First of all, I am
assuming that virtual hosts are where you have more than one url pointing to
a web server.  Each url has it's own data.  Not redirection. 
 
I have a web server that handles 5 virtual hosts using IIS.  I've configured
tomcat to work with IIS and serve JSP pages for 1 of the virtual hosts.  I
used the default server.xml file that came with the installation.  
 
So my server.xml file looks like this.
 

 

 

 

 

 

 

 

 
 
  

 
Site1 works.  Site 2 doesn't.  Any idea what I'm doing wrong?


JAVA_HOME for TOMCAT as an NT Service

2003-07-09 Thread nrapagnani
Hello.  I am trying to get TOMCAT 4.1 to run as an NT service.  When I have
the service running I get a 500 error for all jsp pages I've made a change
to.  

I've set JAVA_HOME to the correct path as a System Variable in windows 2000.
If I were to shut down the service and choose Start Tomcat from the program
folder, it compiles fine.   Any ideas of where I should look for the
problem?

When I look in stderr.log I see this message.  I know you don't need to see
all of it but.

Error running javac.exe compiler
at
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExtern
alCompile(DefaultCompilerAdapter.java:455)
at
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.
java:81)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:840)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619)
at java.lang.Thread.run(Unknown Source)

Nicholas Rapagnani
Phone: (484) 762-3105 

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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



RE: Running Tomcat as a service

2003-07-07 Thread nrapagnani
Let me add that I'm running Tomcat 4.1 not Apache 4.1.  Also the 500 error
is a nullPointerException error.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 9.04 AM
To: [EMAIL PROTECTED]
Subject: Running Tomcat as a service


I am running Apache 4.1 along with IIS on a windows 2000 machine.

I chose "Run as an NT service" during the Tomcat install.

I've configured the 2 web servers to work together.

The jsp pages come up fine when I choose the "Start Tomcat" icon in the
start folder.  Problem is, when Tomcat is running as a service I get 1 of 2
pages.
The first page is "The servlet container is temporary unavailable or being
upgraded" written on a blank page.  Other times I get a 500 error pointing
to a line in my jsp page that does not exist.  I disabled the service an
then re-enabled it and things worked fine for a while.  Then it went back to
the same problem.  I do not know much about NT services.  Any help would be
appreciated.


Nicholas Rapagnani
Phone: (484) 762-3105 

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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



Running Tomcat as a service

2003-07-07 Thread nrapagnani
I am running Apache 4.1 along with IIS on a windows 2000 machine.

I chose "Run as an NT service" during the Tomcat install.

I've configured the 2 web servers to work together.

The jsp pages come up fine when I choose the "Start Tomcat" icon in the
start folder.  Problem is, when Tomcat is running as a service I get 1 of 2
pages.
The first page is "The servlet container is temporary unavailable or being
upgraded" written on a blank page.  Other times I get a 500 error pointing
to a line in my jsp page that does not exist.  I disabled the service an
then re-enabled it and things worked fine for a while.  Then it went back to
the same problem.  I do not know much about NT services.  Any help would be
appreciated.


Nicholas Rapagnani
Phone: (484) 762-3105 

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.


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