You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by zia mohades <zi...@gmail.com> on 2009/02/01 03:39:33 UTC
Apache Tomcat 6.0 loads blank page
Hi there,
I am currently having issue loading my own page using tomcat apache 6.0 on
ubuntu, here are the details;
1) when I start the server using sudo /etc/init.d/tomcat restart and then
try to access the server via http://localhost:8080, i sucessfully
get the welcome page and the logo of the tomcat
2) I then place my own folder called mms_tets( containing html files) in
/usr/local/tomcat/webapps and then restart the server using the same
command. however when try to access the http://localhost:8080 i get a blank
page. Showing absolutely nothing and I don't even get any errors. I checked
the permission also and it seems like I gave the full permission:
drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
I also checked the log folder , and here are their results:
for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
org.apache.catalina.startup.Catalina start
INFO: Server startup in 1520 ms
for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
i definitely appreciate your help! I spent so much time on this and
seriously can't figure out the problem.
Thank you kindly
zia
Re: Apache Tomcat 6.0 loads blank page
Posted by Keshav Prasad <kp...@gmail.com>.
After you placed the mms_tets inside the webapp directory, try accessing
http://localhost:8080/mms_tets/
or something like http://localhost:8080/mms_tets/<somefile.html>
Replace <somefile.html> with a file that exists.
On Sat, Jan 31, 2009 at 6:39 PM, zia mohades <zi...@gmail.com> wrote:
> Hi there,
>
> I am currently having issue loading my own page using tomcat apache 6.0 on
> ubuntu, here are the details;
>
> 1) when I start the server using sudo /etc/init.d/tomcat restart and then
> try to access the server via http://localhost:8080, i sucessfully
> get the welcome page and the logo of the tomcat
>
> 2) I then place my own folder called mms_tets( containing html files) in
> /usr/local/tomcat/webapps and then restart the server using the same
> command. however when try to access the http://localhost:8080 i get a
> blank
> page. Showing absolutely nothing and I don't even get any errors. I checked
> the permission also and it seems like I gave the full permission:
> drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
>
> I also checked the log folder , and here are their results:
>
> for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> org.apache.catalina.startup.Catalina start
> INFO: Server startup in 1520 ms
>
> for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
>
>
> i definitely appreciate your help! I spent so much time on this and
> seriously can't figure out the problem.
>
> Thank you kindly
>
>
> zia
>
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
> <form name="mainform" method="get" action="../../bin/test.cgi">
>
> I don't undrestand what the problem is?????
>
> 1) I have gave all the permissions to test.cgi file
> 2) this is the address i use ../../bin/test.cgi and it seems to me the right
> addres.
>
Well, you're wrong.
The problem seems to come from a fundamental misunderstanding on your
part of what a relative URL means, and how URLs are interpreted both by
the browser and by the web server. This is not really a Tomcat issue.
In addition, you do not seem to be paying real attention to the answers
you are getting, forcing people here to repeat things over and over.
So, for the nth time, *read this page* :
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
and do not come back here until you get at least some other error than
404 (not found), because that means that you did not really read the
page, or that you do not understand how URLs work.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache Tomcat 6.0 loads blank page
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: zia mohades [mailto:zia.simab@gmail.com]
> Subject: Re: Apache Tomcat 6.0 loads blank page
>
> HTTP Status 404 - /bin/test.cgi
We already told you what you needed for that:
http://marc.info/?l=tomcat-user&m=123359042706979&w=2
> since my master project is based on this
And I presume you will indicate in your project thesis where you found the answers?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hello everyone,
sorry to bug you guys again!
Just to follow up on my last problem. I have re-formatted my whole hard
drive and reinstalled ubuntu from scratch now the tomcat apache runs
perfectly and i can access http://localhost:8080/mms_test/index.html with no
problem.
However the same problem still remains one of my html file located in
/usr/local/tomcat/webapps/mms_test must access a cgi file calld test.cgi(
located in /usr/local/tomcat/bin). however when I click on the button in the
hesearch.html file using
<form name="mainform" method="get" action="../../bin/test.cgi">
It gives me this error:
HTTP Status 404 - /bin/test.cgi
------------------------------
*type* Status report
*message* */bin/test.cgi*
*description* *The requested resource (/bin/test.cgi) is not available.*
------------------------------
Apache Tomcat/6.0.18
I don't undrestand what the problem is?????
1) I have gave all the permissions to test.cgi file
2) this is the address i use ../../bin/test.cgi and it seems to me the right
addres.
please let me know what I am doing wrong. Do i need to put test.cgi in a
different directory?? I don't have a cgi-bin directory only "bin" directory,
is that my problem???
your help is really appreciate , since my master project is based on this!
:(
thank u kindly for your help
zia
On Sun, Feb 1, 2009 at 6:14 PM, Martin Gainty <mg...@hotmail.com> wrote:
>
> you'll need to create a startup index page called index.jsp which will be
> located in webapps/YourWebAppName
>
> then configure ./WEB-INF/web.xml to load initial display
> <welcome-file-listing>
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-listing>
>
> HTH
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > From: brae39@gmail.com
> > To: users@tomcat.apache.org
> > Subject: RE: Apache Tomcat 6.0 loads blank page
> > Date: Sun, 1 Feb 2009 12:59:19 -0800
> >
> > I am new to Tomcat as well... But, does mms_test contain WEB-INF with
> > web.xml, like other directories under webapps do? Try copy it from "docs"
> > and see what happens. Also, if you pull mms_test out of webapps and
> restart
> > tomcat, does the problem go away? Did you change server.xml from the
> > default?
> >
> > Hope this helps.
> > Qiao
> >
> > -----Original Message-----
> > From: zia mohades [mailto:zia.simab@gmail.com]
> > Sent: Sunday, February 01, 2009 11:24 AM
> > To: Tomcat Users List; p@pidster.com
> > Subject: Re: Apache Tomcat 6.0 loads blank page
> >
> > Hello all,
> >
> > Thank you keshave for your answer. In fact my folder mms_test is already
> in
> > teh webapps directory and when I try accessing it using
> > http://localhost:8080/mms_test/index.html or just
> > http://localhost:8080/mms_test/. I get the same thing "blank page"
> nothing
> > is displayed. I am not sure what I need to do.
> >
> > P, in response to your email, my folder is in mms_test not in root,
> should i
> > place it in root? also I am not sure exactly what you meant by
> > "'META-INF/context.xml'" because i don't have any directory called
> "META-INF
> > in webapps do i need to creat it? the context.xml is currently located in
> > /usr/local/tomcat/conf.
> >
> > I am getting a bit frustated here, I definitely appreciate your help with
> > this. also one more this i should mention, when restart the server couple
> of
> > times using
> > sudo /etc/init.d/tomcat restart
> >
> > I get this message:
> > Using CATALINA_BASE: /usr/local/tomcat
> > Using CATALINA_HOME: /usr/local/tomcat
> > Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> > Using JRE_HOME: /usr/lib/jvm/java-6-sun
> > 1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
> > SEVERE: Catalina.stop:
> > java.net.ConnectException: Connection refused
> > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> > at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> > at java.net.Socket.connect(Socket.java:519)
> > at java.net.Socket.connect(Socket.java:469)
> > at java.net.Socket.<init>(Socket.java:366)
> > at java.net.Socket.<init>(Socket.java:180)
> > at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
> > 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:597)
> > at
> org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
> > Using CATALINA_BASE: /usr/local/tomcat
> > Using CATALINA_HOME: /usr/local/tomcat
> > Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> > Using JRE_HOME: /usr/lib/jvm/java-6-sun
> >
> > But it doesn't change the problem: blank page again when I try to access
> > http://localhost:8080/mms_test/
> >
> > Your help is greatly appreciated
> >
> > thank u kindly
> >
> > zia
> >
> >
> >
> >
> > On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
> >
> > > zia mohades wrote:
> > > > Hi there,
> > > >
> > > > I am currently having issue loading my own page using tomcat apache
> 6.0
> > > on
> > > > ubuntu, here are the details;
> > > >
> > > > 1) when I start the server using sudo /etc/init.d/tomcat restart and
> > then
> > > > try to access the server via http://localhost:8080, i sucessfully
> > > > get the welcome page and the logo of the tomcat
> > > >
> > > > 2) I then place my own folder called mms_tets( containing html files)
> in
> > > > /usr/local/tomcat/webapps and then restart the server using the same
> > > > command. however when try to access the http://localhost:8080 i get
> a
> > > blank
> > > > page. Showing absolutely nothing and I don't even get any errors. I
> > > checked
> > > > the permission also and it seems like I gave the full permission:
> > > > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> > > >
> > > > I also checked the log folder , and here are their results:
> > > >
> > > > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > > > org.apache.catalina.startup.Catalina start
> > > > INFO: Server startup in 1520 ms
> > > >
> > > > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > > > org.apache.catalina.core.ApplicationContext log
> > > > INFO: SessionListener: contextInitialized()
> > >
> > > If you're trying to make your app the ROOT app, then you need to call
> > > the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> > > war file).
> > >
> > > If you have the Context defined in server.xml, you should instead place
> > > the definition in a file inside your webapp 'META-INF/context.xml'.
> > > Do not use the 'path' or 'docbase' attributes. and
> > >
> > >
> > > p
> > >
> > >
> > >
> > > > i definitely appreciate your help! I spent so much time on this and
> > > > seriously can't figure out the problem.
> > > >
> > > > Thank you kindly
> > > >
> > > >
> > > > zia
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
> _________________________________________________________________
> Hotmail(R) goes where you go. On a PC, on the Web, on your phone.
>
> http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208
>
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
> Hi all,
>
> perfect! thank you martin, I have just created a JSP file, index.jsp and
> copied the content of index.html into it. and then made this modification as
> you said:
>
> hen configure ./WEB-INF/web.xml to load initial display
> <welcome-file-listing>
> <welcome-file>index.jsp</
>> welcome-file>
>> </welcome-file-listing>
>
>
> and when i access http://localhost:8080/mms_test/index.jsp it works. but
> again i can't access the index.html, because most of my pages by default
> access index.html , do i need to change them all to index.jsp. Is there an
> easy way around it??
>
Well, since the above works, my previous items 1) to 3) are not
applicable. But item 4) still is.
For the above, I think you can just add the following line:
<welcome-file-listing>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-listing>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by Sameer Acharya <ac...@yahoo.com>.
Did you try the synaptic package manager in Ubuntu ?
I dont know which version of Ubuntu you have but mine did not have Tomcat or Apache HTTP on it when I installed, but might be I had dome somethings different.
-Sameer
--- On Mon, 2/2/09, zia mohades <zi...@gmail.com> wrote:
From: zia mohades <zi...@gmail.com>
Subject: Re: Apache Tomcat 6.0 loads blank page
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Monday, February 2, 2009, 9:54 PM
Hello guys,
Thank you again for your help chuck!
1) I just looked at the CGI servlet help that you sent. Actually I just have
to uncomment the CGI servlet part in the web.xml and now at least i don't
get an error, it's just a blank( which is probably the address problem, i.e
a file pointing to a wrong directory)
2) I think you're right, just installing the fresh version from the website
is better. How do i completely uninstall the apache( remove all the files)
on ubuntu. I just started using ubuntu and not sure how it works.
Thank you again for the help!
Regards
zia
On Mon, Feb 2, 2009 at 10:51 AM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:
> > From: zia mohades [mailto:zia.simab@gmail.com]
> > Subject: Re: Apache Tomcat 6.0 loads blank page
> >
> > 3) however now i have a new problem: for some reason my html
> > page doesn't communicate with the cgi file.
>
> Did you follow the instructions here, in particular enabling the CGI
> servlet?
> http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
>
> Again, if you're using a 3rd-party repackaged Tomcat, it's quite
possible
> what you're doing simply won't work with that installation. I
strongly
> recommend you download and install a real Tomcat, rather than wasting time
> with what appears to be a damaged one.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hello guys,
Thank you again for your help chuck!
1) I just looked at the CGI servlet help that you sent. Actually I just have
to uncomment the CGI servlet part in the web.xml and now at least i don't
get an error, it's just a blank( which is probably the address problem, i.e
a file pointing to a wrong directory)
2) I think you're right, just installing the fresh version from the website
is better. How do i completely uninstall the apache( remove all the files)
on ubuntu. I just started using ubuntu and not sure how it works.
Thank you again for the help!
Regards
zia
On Mon, Feb 2, 2009 at 10:51 AM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:
> > From: zia mohades [mailto:zia.simab@gmail.com]
> > Subject: Re: Apache Tomcat 6.0 loads blank page
> >
> > 3) however now i have a new problem: for some reason my html
> > page doesn't communicate with the cgi file.
>
> Did you follow the instructions here, in particular enabling the CGI
> servlet?
> http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
>
> Again, if you're using a 3rd-party repackaged Tomcat, it's quite possible
> what you're doing simply won't work with that installation. I strongly
> recommend you download and install a real Tomcat, rather than wasting time
> with what appears to be a damaged one.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: Apache Tomcat 6.0 loads blank page
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: zia mohades [mailto:zia.simab@gmail.com]
> Subject: Re: Apache Tomcat 6.0 loads blank page
>
> 3) however now i have a new problem: for some reason my html
> page doesn't communicate with the cgi file.
Did you follow the instructions here, in particular enabling the CGI servlet?
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
Again, if you're using a 3rd-party repackaged Tomcat, it's quite possible what you're doing simply won't work with that installation. I strongly recommend you download and install a real Tomcat, rather than wasting time with what appears to be a damaged one.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
[...]
>
> 1) for the connector port I have commented out one of them actually, so only
> two of them are active these ones:
>
> <Connector port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
> <!-- A "Connector" using the shared thread pool-->
>
>
> <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
> maxThreads="150" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
>
>
I'll let someone else comment definitely on the above, but in my
understanding this is a no-no, and I don't understand how it could work.
You should not have two connectors listening on the same port, and both
above are listening on port 8080. The second one should probably have
port="8443" instead of port="8080".
You must have modified it yourself, because it probably did not come
this way in your original server.xml file.
> 2) for the LiveHttpHeader,I just tried it again. and now it works in fact
> this is what I get:
[...]
Allright, that is more logical. So now you have a tool to check what a
server is sending to your browser, even if the page looks blank in the
browser.
>
> 3) however now i have a new problem: for some reason my html page doesn't
> communicate with the cgi file.
> "hesearch.html" in /usr/local/tomcat/webapps/mms_test , doesn't communicate
> with the cgi program test.cgi located in /usr/local/tomcat/bin.
> hesearch.html contains a button which when it is pushed it accesses the
> test.cgi which executes other programs. However when i push that button , i
> get this error:
>
> " HTTP Status 404 - /bin/test.cgi
> ------------------------------
>
For the above, I suggest that you start by reading this :
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
Read it really well, follow the instructions, and then post again with a
separate new subject about cgi if you still have a problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hi everyone,
Chuck, I just double checked the web.xml and the following:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</
>
> welcome-file>
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-list>
>
is in fact there. And Also i restarted the apache server couple of time and
now I can access the web server using
http://localhost:8080/mms_test/index.html directly, w/o having to use
index.jsp.
Andre, for the questions you asked
1) for the connector port I have commented out one of them actually, so only
two of them are active these ones:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
2) for the LiveHttpHeader,I just tried it again. and now it works in fact
this is what I get:
http://localhost:8080/bin/test.cgi?searchvalue=asdfsdf&searchtype=sequence&option=Beta+sheets+Database+Only&length=3
GET
/bin/test.cgi?searchvalue=asdfsdf&searchtype=sequence&option=Beta+sheets+Database+Only&length=3
HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121621 Ubuntu/8.04 (hardy) Firefox/3.0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:8080/mms_test/hesearch.html
HTTP/1.x 404 Not Found
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 991
Date: Mon, 02 Feb 2009 15:25:20 GMT
3) however now i have a new problem: for some reason my html page doesn't
communicate with the cgi file.
"hesearch.html" in /usr/local/tomcat/webapps/mms_test , doesn't communicate
with the cgi program test.cgi located in /usr/local/tomcat/bin.
hesearch.html contains a button which when it is pushed it accesses the
test.cgi which executes other programs. However when i push that button , i
get this error:
" HTTP Status 404 - /bin/test.cgi
------------------------------
*type* Status report
*message* */bin/test.cgi*
*description* *The requested resource (/bin/test.cgi) is not available.*
*
************************************************************************************************
*
However the program is in the right location and i have all the permissions.
any suggestions?
Thank you again for all your helps,
regards
zia
On Mon, Feb 2, 2009 at 12:25 AM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:
> > From: zia mohades [mailto:zia.simab@gmail.com]
> > Subject: Re: Apache Tomcat 6.0 loads blank page
> >
> > perfect! thank you martin, I have just created a JSP file,
> > index.jsp and copied the content of index.html into it. and
> > then made this modification as you said:
>
> None of which you should have to do. A real Tomcat download (from
> tomcat.apache.org) includes a default web.xml in Tomcat's conf directory
> that already contains the following:
>
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-list>
>
> It sounds like yours doesn't have that, so I would strongly suggest
> removing the Ubuntu version of Tomcat and installing a real one from the
> above web site. We've had innumerable strange problems with 3rd-party
> repackaged versions of Tomcat that do not occur with the real one.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: Apache Tomcat 6.0 loads blank page
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: zia mohades [mailto:zia.simab@gmail.com]
> Subject: Re: Apache Tomcat 6.0 loads blank page
>
> perfect! thank you martin, I have just created a JSP file,
> index.jsp and copied the content of index.html into it. and
> then made this modification as you said:
None of which you should have to do. A real Tomcat download (from tomcat.apache.org) includes a default web.xml in Tomcat's conf directory that already contains the following:
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
It sounds like yours doesn't have that, so I would strongly suggest removing the Ubuntu version of Tomcat and installing a real one from the above web site. We've had innumerable strange problems with 3rd-party repackaged versions of Tomcat that do not occur with the real one.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hi all,
perfect! thank you martin, I have just created a JSP file, index.jsp and
copied the content of index.html into it. and then made this modification as
you said:
hen configure ./WEB-INF/web.xml to load initial display
<welcome-file-listing>
<welcome-file>index.jsp</
>
> welcome-file>
> </welcome-file-listing>
and when i access http://localhost:8080/mms_test/index.jsp it works. but
again i can't access the index.html, because most of my pages by default
access index.html , do i need to change them all to index.jsp. Is there an
easy way around it??
Thank you again for your help
zia
On Sun, Feb 1, 2009 at 6:14 PM, Martin Gainty <mg...@hotmail.com> wrote:
>
> you'll need to create a startup index page called index.jsp which will be
> located in webapps/YourWebAppName
>
> then configure ./WEB-INF/web.xml to load initial display
> <welcome-file-listing>
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-listing>
>
> HTH
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > From: brae39@gmail.com
> > To: users@tomcat.apache.org
> > Subject: RE: Apache Tomcat 6.0 loads blank page
> > Date: Sun, 1 Feb 2009 12:59:19 -0800
> >
> > I am new to Tomcat as well... But, does mms_test contain WEB-INF with
> > web.xml, like other directories under webapps do? Try copy it from "docs"
> > and see what happens. Also, if you pull mms_test out of webapps and
> restart
> > tomcat, does the problem go away? Did you change server.xml from the
> > default?
> >
> > Hope this helps.
> > Qiao
> >
> > -----Original Message-----
> > From: zia mohades [mailto:zia.simab@gmail.com]
> > Sent: Sunday, February 01, 2009 11:24 AM
> > To: Tomcat Users List; p@pidster.com
> > Subject: Re: Apache Tomcat 6.0 loads blank page
> >
> > Hello all,
> >
> > Thank you keshave for your answer. In fact my folder mms_test is already
> in
> > teh webapps directory and when I try accessing it using
> > http://localhost:8080/mms_test/index.html or just
> > http://localhost:8080/mms_test/. I get the same thing "blank page"
> nothing
> > is displayed. I am not sure what I need to do.
> >
> > P, in response to your email, my folder is in mms_test not in root,
> should i
> > place it in root? also I am not sure exactly what you meant by
> > "'META-INF/context.xml'" because i don't have any directory called
> "META-INF
> > in webapps do i need to creat it? the context.xml is currently located in
> > /usr/local/tomcat/conf.
> >
> > I am getting a bit frustated here, I definitely appreciate your help with
> > this. also one more this i should mention, when restart the server couple
> of
> > times using
> > sudo /etc/init.d/tomcat restart
> >
> > I get this message:
> > Using CATALINA_BASE: /usr/local/tomcat
> > Using CATALINA_HOME: /usr/local/tomcat
> > Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> > Using JRE_HOME: /usr/lib/jvm/java-6-sun
> > 1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
> > SEVERE: Catalina.stop:
> > java.net.ConnectException: Connection refused
> > at java.net.PlainSocketImpl.socketConnect(Native Method)
> > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> > at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> > at java.net.Socket.connect(Socket.java:519)
> > at java.net.Socket.connect(Socket.java:469)
> > at java.net.Socket.<init>(Socket.java:366)
> > at java.net.Socket.<init>(Socket.java:180)
> > at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
> > 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:597)
> > at
> org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
> > Using CATALINA_BASE: /usr/local/tomcat
> > Using CATALINA_HOME: /usr/local/tomcat
> > Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> > Using JRE_HOME: /usr/lib/jvm/java-6-sun
> >
> > But it doesn't change the problem: blank page again when I try to access
> > http://localhost:8080/mms_test/
> >
> > Your help is greatly appreciated
> >
> > thank u kindly
> >
> > zia
> >
> >
> >
> >
> > On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
> >
> > > zia mohades wrote:
> > > > Hi there,
> > > >
> > > > I am currently having issue loading my own page using tomcat apache
> 6.0
> > > on
> > > > ubuntu, here are the details;
> > > >
> > > > 1) when I start the server using sudo /etc/init.d/tomcat restart and
> > then
> > > > try to access the server via http://localhost:8080, i sucessfully
> > > > get the welcome page and the logo of the tomcat
> > > >
> > > > 2) I then place my own folder called mms_tets( containing html files)
> in
> > > > /usr/local/tomcat/webapps and then restart the server using the same
> > > > command. however when try to access the http://localhost:8080 i get
> a
> > > blank
> > > > page. Showing absolutely nothing and I don't even get any errors. I
> > > checked
> > > > the permission also and it seems like I gave the full permission:
> > > > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> > > >
> > > > I also checked the log folder , and here are their results:
> > > >
> > > > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > > > org.apache.catalina.startup.Catalina start
> > > > INFO: Server startup in 1520 ms
> > > >
> > > > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > > > org.apache.catalina.core.ApplicationContext log
> > > > INFO: SessionListener: contextInitialized()
> > >
> > > If you're trying to make your app the ROOT app, then you need to call
> > > the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> > > war file).
> > >
> > > If you have the Context defined in server.xml, you should instead place
> > > the definition in a file inside your webapp 'META-INF/context.xml'.
> > > Do not use the 'path' or 'docbase' attributes. and
> > >
> > >
> > > p
> > >
> > >
> > >
> > > > i definitely appreciate your help! I spent so much time on this and
> > > > seriously can't figure out the problem.
> > > >
> > > > Thank you kindly
> > > >
> > > >
> > > > zia
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
> _________________________________________________________________
> Hotmail(R) goes where you go. On a PC, on the Web, on your phone.
>
> http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208
>
RE: Apache Tomcat 6.0 loads blank page
Posted by Martin Gainty <mg...@hotmail.com>.
you'll need to create a startup index page called index.jsp which will be located in webapps/YourWebAppName
then configure ./WEB-INF/web.xml to load initial display
<welcome-file-listing>
<welcome-file>index.jsp</welcome-file>
</welcome-file-listing>
HTH
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> From: brae39@gmail.com
> To: users@tomcat.apache.org
> Subject: RE: Apache Tomcat 6.0 loads blank page
> Date: Sun, 1 Feb 2009 12:59:19 -0800
>
> I am new to Tomcat as well... But, does mms_test contain WEB-INF with
> web.xml, like other directories under webapps do? Try copy it from "docs"
> and see what happens. Also, if you pull mms_test out of webapps and restart
> tomcat, does the problem go away? Did you change server.xml from the
> default?
>
> Hope this helps.
> Qiao
>
> -----Original Message-----
> From: zia mohades [mailto:zia.simab@gmail.com]
> Sent: Sunday, February 01, 2009 11:24 AM
> To: Tomcat Users List; p@pidster.com
> Subject: Re: Apache Tomcat 6.0 loads blank page
>
> Hello all,
>
> Thank you keshave for your answer. In fact my folder mms_test is already in
> teh webapps directory and when I try accessing it using
> http://localhost:8080/mms_test/index.html or just
> http://localhost:8080/mms_test/. I get the same thing "blank page" nothing
> is displayed. I am not sure what I need to do.
>
> P, in response to your email, my folder is in mms_test not in root, should i
> place it in root? also I am not sure exactly what you meant by
> "'META-INF/context.xml'" because i don't have any directory called "META-INF
> in webapps do i need to creat it? the context.xml is currently located in
> /usr/local/tomcat/conf.
>
> I am getting a bit frustated here, I definitely appreciate your help with
> this. also one more this i should mention, when restart the server couple of
> times using
> sudo /etc/init.d/tomcat restart
>
> I get this message:
> Using CATALINA_BASE: /usr/local/tomcat
> Using CATALINA_HOME: /usr/local/tomcat
> Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> Using JRE_HOME: /usr/lib/jvm/java-6-sun
> 1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
> SEVERE: Catalina.stop:
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at java.net.Socket.<init>(Socket.java:366)
> at java.net.Socket.<init>(Socket.java:180)
> at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
> 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:597)
> at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
> Using CATALINA_BASE: /usr/local/tomcat
> Using CATALINA_HOME: /usr/local/tomcat
> Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> Using JRE_HOME: /usr/lib/jvm/java-6-sun
>
> But it doesn't change the problem: blank page again when I try to access
> http://localhost:8080/mms_test/
>
> Your help is greatly appreciated
>
> thank u kindly
>
> zia
>
>
>
>
> On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
>
> > zia mohades wrote:
> > > Hi there,
> > >
> > > I am currently having issue loading my own page using tomcat apache 6.0
> > on
> > > ubuntu, here are the details;
> > >
> > > 1) when I start the server using sudo /etc/init.d/tomcat restart and
> then
> > > try to access the server via http://localhost:8080, i sucessfully
> > > get the welcome page and the logo of the tomcat
> > >
> > > 2) I then place my own folder called mms_tets( containing html files) in
> > > /usr/local/tomcat/webapps and then restart the server using the same
> > > command. however when try to access the http://localhost:8080 i get a
> > blank
> > > page. Showing absolutely nothing and I don't even get any errors. I
> > checked
> > > the permission also and it seems like I gave the full permission:
> > > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> > >
> > > I also checked the log folder , and here are their results:
> > >
> > > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > > org.apache.catalina.startup.Catalina start
> > > INFO: Server startup in 1520 ms
> > >
> > > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > > org.apache.catalina.core.ApplicationContext log
> > > INFO: SessionListener: contextInitialized()
> >
> > If you're trying to make your app the ROOT app, then you need to call
> > the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> > war file).
> >
> > If you have the Context defined in server.xml, you should instead place
> > the definition in a file inside your webapp 'META-INF/context.xml'.
> > Do not use the 'path' or 'docbase' attributes. and
> >
> >
> > p
> >
> >
> >
> > > i definitely appreciate your help! I spent so much time on this and
> > > seriously can't figure out the problem.
> > >
> > > Thank you kindly
> > >
> > >
> > > zia
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
_________________________________________________________________
Hotmail® goes where you go. On a PC, on the Web, on your phone.
http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
> On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw...@ice-sa.com> wrote:
>
>> zia mohades wrote:
>> [...]
>>
>>> but again, I can successfully access http://localhost:8080 and blank
>>> for
>>> http://localhost:8080/mms_test. so the log files are not very
>>> informative.
>>>
>>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>>> instructions.
>>> Believe it or not when I access http://localhost:8080/mms_test or
>>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>>> click
>>> on "Live http headers" form tools , the headers are empty. However when I
>>> access any other sites , like google , the headers has info in it( as it
>>> is
>>> expected)
>>>
>>>
> Here are answers :
>
>
>> You are right, I don't believe it.
>> I do not believe the combination above : that you can succesfully access
>> http://localhost:8080, but do not see headers in LiveHttpHeaders when you
>> do that. Something in that combination is wrong.
>>
>> So, do exactly the following :
>>
>> 1) Tell me again :
>> - what is your OS ?
>>
> I am using Ubuntu
>
>> - what version of Tomcat is this ?
>
> I am using Apache Tomcat Version 6.0.18
>
>> - where did you get it from ?
>>
> I used to the synaptic manager in ubuntu to install it
>
>> 2)
>> - stop Tomcat
>> - in a command window, enter : netstat -tan | grep LISTEN
>
> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
>
>
>>
>> - start Tomcat
>>
>>
> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:631 0.0.0.0:*
> LISTEN
> tcp6 0 0 127.0.0.1:8005 :::*
> LISTEN
> tcp6 0 0 :::8080 :::*
> LISTEN
Good, this last line means that there is really something listening on
port 8080, which I was starting to doubt. And since it shows up only
when Tomcat is started, we'll asume it is Tomcat.
>
>>
>> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
>> started.)
>>
>> 3) Then, also copy here the portion of your tomcat conf/server.xml which
>> looks like this :
>>
>> <Connector port="xxxx" maxHttpHeaderSize="8192"
>> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>> enableLookups="false" redirectPort="8443" acceptCount="100"
>> connectionTimeout="20000" disableUploadTimeout="true" />
>>
>
>
> These are all my <connector port :
> <Connector port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
> <!-- A "Connector" using the shared thread pool-->
>
> <Connector executor="tomcatThreadPool"
> port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
>
> <!-- Define a SSL HTTP/1.1 Connector on port 8443
> This connector uses the JSSE configuration, when using APR, the
> connector should be using the OpenSSL style configuration
> described in the APR documentation -->
>
> <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
> maxThreads="150" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
>
Well, they cannot all be active at the same time, so I suppose you have
omitted the comment signs ( <!-- ... --> ) around all except one of
them, right ?
>
>
>
>> 4)
>> - close Firefox
>> - re-open Firefox
>> - click on Tools..LiveHttpHeader. *Leave that window open*, and make sure
>> that the checkbox "capture headers" is checked.
>> - go back to the main browser window
>> - enter http://localhost:8080
>> - go back to the LiveHttpHeaders window
>> - what is in it ? (you can cut and paste it here)
>
>
> Absolutely nothing: :( blank
>
That is just not possible.
Ok, nothing is impossible. Let's just say very, very improbable.
And you say that when you call up http://www.google.com, then there is
something ?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Guys!!! index.html works nowwwww! yesss!!! Thank you again for all your help
guys.
However I am having an issue with accessing the cgi file from my html page
which looks as follow:
<form name="mainform" method="get" action="../../bin/test.cgi"> ( which is a
button to calls the file test.cgi)
and the test.cgi is located in /usr/local/tomcat/bin
and the hesearch.html is located in /usr/local/tomcat/webapps/mms_test
and when I click on the button in the hesearch.html i get the following
error:
HTTP Status 404 - /bin/test.cgi
------------------------------
*type* Status report
*message* */bin/test.cgi*
*description* *The requested resource (/bin/test.cgi) is not available.*
------------------------------
Apache Tomcat/6.0.18
Any idea what's going on? I checked the following:
1) the location
2) the permission
Thank you again for all your helps
regards
zia
On Sun, Feb 1, 2009 at 7:30 PM, zia mohades <zi...@gmail.com> wrote:
> Hi everyone ,
>
> Dear andre: I have just included the index.html in the web.xml , but still
> doesn't work.
>
> However I will continue using index.jsp until i find a solution. However I
> have a new problem. I have another file called hesearch.html which calls a
> .cgi file called test.cgi here is what it looks like:
>
> ...........
> <form name="mainform" method="get" action="../bin/test.cgi">
> ............
> however when click on the button which sends action to test.cgi i get this
> error:
>
> HTTP Status 404 - /bin/test.cgi
> ------------------------------
>
> *type* Status report
>
> *message* */bin/test.cgi*
>
> *description* *The requested resource (/bin/test.cgi) is not available.*
> ------------------------------
> Apache Tomcat/6.0.18
> any idea what's going on? i have given all the permission it needs?
>
>
> Thank you again for all your helps.
>
> Regards,
>
> zia
>
>
>
>
> On Sun, Feb 1, 2009 at 6:58 PM, zia mohades <zi...@gmail.com> wrote:
>
>>
>>
>> On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw...@ice-sa.com> wrote:
>>
>>> zia mohades wrote:
>>> [...]
>>>
>>>> but again, I can successfully access http://localhost:8080 and blank
>>>> for
>>>> http://localhost:8080/mms_test. so the log files are not very
>>>> informative.
>>>>
>>>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>>>> instructions.
>>>> Believe it or not when I access http://localhost:8080/mms_test or
>>>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>>>> click
>>>> on "Live http headers" form tools , the headers are empty. However when
>>>> I
>>>> access any other sites , like google , the headers has info in it( as it
>>>> is
>>>> expected)
>>>>
>>>>
>> Here are answers :
>>
>>
>>>
>>> You are right, I don't believe it.
>>> I do not believe the combination above : that you can succesfully access
>>> http://localhost:8080, but do not see headers in LiveHttpHeaders when
>>> you do that. Something in that combination is wrong.
>>>
>>> So, do exactly the following :
>>>
>>> 1) Tell me again :
>>> - what is your OS ?
>>>
>> I am using Ubuntu
>>
>>> - what version of Tomcat is this ?
>>
>> I am using Apache Tomcat Version 6.0.18
>>
>>>
>>> - where did you get it from ?
>>>
>> I used to the synaptic manager in ubuntu to install it
>>
>>>
>>> 2)
>>> - stop Tomcat
>>> - in a command window, enter : netstat -tan | grep LISTEN
>>
>> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
>> LISTEN
>> tcp 0 0 127.0.0.1:631 0.0.0.0:*
>> LISTEN
>>
>>>
>>>
>>> - start Tomcat
>>>
>>>
>> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
>> LISTEN
>> tcp 0 0 127.0.0.1:631 0.0.0.0:*
>> LISTEN
>> tcp6 0 0 127.0.0.1:8005 :::*
>> LISTEN
>> tcp6 0 0 :::8080 :::*
>> LISTEN
>>
>>>
>>>
>>> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
>>> started.)
>>>
>>> 3) Then, also copy here the portion of your tomcat conf/server.xml which
>>> looks like this :
>>>
>>> <Connector port="xxxx" maxHttpHeaderSize="8192"
>>> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>>> enableLookups="false" redirectPort="8443" acceptCount="100"
>>> connectionTimeout="20000" disableUploadTimeout="true" />
>>>
>>
>>
>> These are all my <connector port :
>> <Connector port="8080" protocol="HTTP/1.1"
>> connectionTimeout="20000"
>> redirectPort="8443" />
>> <!-- A "Connector" using the shared thread pool-->
>>
>> <Connector executor="tomcatThreadPool"
>> port="8080" protocol="HTTP/1.1"
>> connectionTimeout="20000"
>> redirectPort="8443" />
>>
>> <!-- Define a SSL HTTP/1.1 Connector on port 8443
>> This connector uses the JSSE configuration, when using APR, the
>> connector should be using the OpenSSL style configuration
>> described in the APR documentation -->
>>
>> <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
>> maxThreads="150" scheme="https" secure="true"
>> clientAuth="false" sslProtocol="TLS" />
>>
>>
>>
>>
>>>
>>> 4)
>>> - close Firefox
>>> - re-open Firefox
>>> - click on Tools..LiveHttpHeader. *Leave that window open*, and make
>>> sure that the checkbox "capture headers" is checked.
>>> - go back to the main browser window
>>> - enter http://localhost:8080
>>> - go back to the LiveHttpHeaders window
>>> - what is in it ? (you can cut and paste it here)
>>
>>
>> Absolutely nothing: :( blank
>>
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>
RE: Apache Tomcat 6.0 loads blank page
Posted by Martin Gainty <mg...@hotmail.com>.
ah..this is an Apache HTTP Server question not Tomcat
but the common gateway interface file should be located in
%APACHE_HOME%/bin/test.cgi unless mapped differently..
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.
> Date: Sun, 1 Feb 2009 19:30:00 -0500
> Subject: Re: Apache Tomcat 6.0 loads blank page
> From: zia.simab@gmail.com
> To: users@tomcat.apache.org
>
> Hi everyone ,
>
> Dear andre: I have just included the index.html in the web.xml , but still
> doesn't work.
>
> However I will continue using index.jsp until i find a solution. However I
> have a new problem. I have another file called hesearch.html which calls a
> .cgi file called test.cgi here is what it looks like:
>
> ...........
> <form name="mainform" method="get" action="../bin/test.cgi">
> ............
> however when click on the button which sends action to test.cgi i get this
> error:
>
> HTTP Status 404 - /bin/test.cgi
> ------------------------------
>
> *type* Status report
>
> *message* */bin/test.cgi*
>
> *description* *The requested resource (/bin/test.cgi) is not available.*
> ------------------------------
> Apache Tomcat/6.0.18
> any idea what's going on? i have given all the permission it needs?
>
>
> Thank you again for all your helps.
>
> Regards,
>
> zia
>
>
>
> On Sun, Feb 1, 2009 at 6:58 PM, zia mohades <zi...@gmail.com> wrote:
>
> >
> >
> > On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw...@ice-sa.com> wrote:
> >
> >> zia mohades wrote:
> >> [...]
> >>
> >>> but again, I can successfully access http://localhost:8080 and blank
> >>> for
> >>> http://localhost:8080/mms_test. so the log files are not very
> >>> informative.
> >>>
> >>> 2) I have downloaded LiveHttpHeaders plugin and followed your
> >>> instructions.
> >>> Believe it or not when I access http://localhost:8080/mms_test or
> >>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
> >>> click
> >>> on "Live http headers" form tools , the headers are empty. However when I
> >>> access any other sites , like google , the headers has info in it( as it
> >>> is
> >>> expected)
> >>>
> >>>
> > Here are answers :
> >
> >
> >>
> >> You are right, I don't believe it.
> >> I do not believe the combination above : that you can succesfully access
> >> http://localhost:8080, but do not see headers in LiveHttpHeaders when you
> >> do that. Something in that combination is wrong.
> >>
> >> So, do exactly the following :
> >>
> >> 1) Tell me again :
> >> - what is your OS ?
> >>
> > I am using Ubuntu
> >
> >> - what version of Tomcat is this ?
> >
> > I am using Apache Tomcat Version 6.0.18
> >
> >>
> >> - where did you get it from ?
> >>
> > I used to the synaptic manager in ubuntu to install it
> >
> >>
> >> 2)
> >> - stop Tomcat
> >> - in a command window, enter : netstat -tan | grep LISTEN
> >
> > tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> > LISTEN
> > tcp 0 0 127.0.0.1:631 0.0.0.0:*
> > LISTEN
> >
> >>
> >>
> >> - start Tomcat
> >>
> >>
> > tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> > LISTEN
> > tcp 0 0 127.0.0.1:631 0.0.0.0:*
> > LISTEN
> > tcp6 0 0 127.0.0.1:8005 :::*
> > LISTEN
> > tcp6 0 0 :::8080 :::*
> > LISTEN
> >
> >>
> >>
> >> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
> >> started.)
> >>
> >> 3) Then, also copy here the portion of your tomcat conf/server.xml which
> >> looks like this :
> >>
> >> <Connector port="xxxx" maxHttpHeaderSize="8192"
> >> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> >> enableLookups="false" redirectPort="8443" acceptCount="100"
> >> connectionTimeout="20000" disableUploadTimeout="true" />
> >>
> >
> >
> > These are all my <connector port :
> > <Connector port="8080" protocol="HTTP/1.1"
> > connectionTimeout="20000"
> > redirectPort="8443" />
> > <!-- A "Connector" using the shared thread pool-->
> >
> > <Connector executor="tomcatThreadPool"
> > port="8080" protocol="HTTP/1.1"
> > connectionTimeout="20000"
> > redirectPort="8443" />
> >
> > <!-- Define a SSL HTTP/1.1 Connector on port 8443
> > This connector uses the JSSE configuration, when using APR, the
> > connector should be using the OpenSSL style configuration
> > described in the APR documentation -->
> >
> > <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
> > maxThreads="150" scheme="https" secure="true"
> > clientAuth="false" sslProtocol="TLS" />
> >
> >
> >
> >
> >>
> >> 4)
> >> - close Firefox
> >> - re-open Firefox
> >> - click on Tools..LiveHttpHeader. *Leave that window open*, and make sure
> >> that the checkbox "capture headers" is checked.
> >> - go back to the main browser window
> >> - enter http://localhost:8080
> >> - go back to the LiveHttpHeaders window
> >> - what is in it ? (you can cut and paste it here)
> >
> >
> > Absolutely nothing: :( blank
> >
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hi everyone ,
Dear andre: I have just included the index.html in the web.xml , but still
doesn't work.
However I will continue using index.jsp until i find a solution. However I
have a new problem. I have another file called hesearch.html which calls a
.cgi file called test.cgi here is what it looks like:
...........
<form name="mainform" method="get" action="../bin/test.cgi">
............
however when click on the button which sends action to test.cgi i get this
error:
HTTP Status 404 - /bin/test.cgi
------------------------------
*type* Status report
*message* */bin/test.cgi*
*description* *The requested resource (/bin/test.cgi) is not available.*
------------------------------
Apache Tomcat/6.0.18
any idea what's going on? i have given all the permission it needs?
Thank you again for all your helps.
Regards,
zia
On Sun, Feb 1, 2009 at 6:58 PM, zia mohades <zi...@gmail.com> wrote:
>
>
> On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw...@ice-sa.com> wrote:
>
>> zia mohades wrote:
>> [...]
>>
>>> but again, I can successfully access http://localhost:8080 and blank
>>> for
>>> http://localhost:8080/mms_test. so the log files are not very
>>> informative.
>>>
>>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>>> instructions.
>>> Believe it or not when I access http://localhost:8080/mms_test or
>>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>>> click
>>> on "Live http headers" form tools , the headers are empty. However when I
>>> access any other sites , like google , the headers has info in it( as it
>>> is
>>> expected)
>>>
>>>
> Here are answers :
>
>
>>
>> You are right, I don't believe it.
>> I do not believe the combination above : that you can succesfully access
>> http://localhost:8080, but do not see headers in LiveHttpHeaders when you
>> do that. Something in that combination is wrong.
>>
>> So, do exactly the following :
>>
>> 1) Tell me again :
>> - what is your OS ?
>>
> I am using Ubuntu
>
>> - what version of Tomcat is this ?
>
> I am using Apache Tomcat Version 6.0.18
>
>>
>> - where did you get it from ?
>>
> I used to the synaptic manager in ubuntu to install it
>
>>
>> 2)
>> - stop Tomcat
>> - in a command window, enter : netstat -tan | grep LISTEN
>
> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:631 0.0.0.0:*
> LISTEN
>
>>
>>
>> - start Tomcat
>>
>>
> tcp 0 0 127.0.0.1:3306 0.0.0.0:*
> LISTEN
> tcp 0 0 127.0.0.1:631 0.0.0.0:*
> LISTEN
> tcp6 0 0 127.0.0.1:8005 :::*
> LISTEN
> tcp6 0 0 :::8080 :::*
> LISTEN
>
>>
>>
>> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
>> started.)
>>
>> 3) Then, also copy here the portion of your tomcat conf/server.xml which
>> looks like this :
>>
>> <Connector port="xxxx" maxHttpHeaderSize="8192"
>> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
>> enableLookups="false" redirectPort="8443" acceptCount="100"
>> connectionTimeout="20000" disableUploadTimeout="true" />
>>
>
>
> These are all my <connector port :
> <Connector port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
> <!-- A "Connector" using the shared thread pool-->
>
> <Connector executor="tomcatThreadPool"
> port="8080" protocol="HTTP/1.1"
> connectionTimeout="20000"
> redirectPort="8443" />
>
> <!-- Define a SSL HTTP/1.1 Connector on port 8443
> This connector uses the JSSE configuration, when using APR, the
> connector should be using the OpenSSL style configuration
> described in the APR documentation -->
>
> <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
> maxThreads="150" scheme="https" secure="true"
> clientAuth="false" sslProtocol="TLS" />
>
>
>
>
>>
>> 4)
>> - close Firefox
>> - re-open Firefox
>> - click on Tools..LiveHttpHeader. *Leave that window open*, and make sure
>> that the checkbox "capture headers" is checked.
>> - go back to the main browser window
>> - enter http://localhost:8080
>> - go back to the LiveHttpHeaders window
>> - what is in it ? (you can cut and paste it here)
>
>
> Absolutely nothing: :( blank
>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <aw...@ice-sa.com> wrote:
> zia mohades wrote:
> [...]
>
>> but again, I can successfully access http://localhost:8080 and blank
>> for
>> http://localhost:8080/mms_test. so the log files are not very
>> informative.
>>
>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>> instructions.
>> Believe it or not when I access http://localhost:8080/mms_test or
>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>> click
>> on "Live http headers" form tools , the headers are empty. However when I
>> access any other sites , like google , the headers has info in it( as it
>> is
>> expected)
>>
>>
Here are answers :
>
> You are right, I don't believe it.
> I do not believe the combination above : that you can succesfully access
> http://localhost:8080, but do not see headers in LiveHttpHeaders when you
> do that. Something in that combination is wrong.
>
> So, do exactly the following :
>
> 1) Tell me again :
> - what is your OS ?
>
I am using Ubuntu
> - what version of Tomcat is this ?
I am using Apache Tomcat Version 6.0.18
>
> - where did you get it from ?
>
I used to the synaptic manager in ubuntu to install it
>
> 2)
> - stop Tomcat
> - in a command window, enter : netstat -tan | grep LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
>
>
> - start Tomcat
>
>
tcp 0 0 127.0.0.1:3306 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp6 0 0 127.0.0.1:8005 :::*
LISTEN
tcp6 0 0 :::8080 :::*
LISTEN
>
>
> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
> started.)
>
> 3) Then, also copy here the portion of your tomcat conf/server.xml which
> looks like this :
>
> <Connector port="xxxx" maxHttpHeaderSize="8192"
> maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> enableLookups="false" redirectPort="8443" acceptCount="100"
> connectionTimeout="20000" disableUploadTimeout="true" />
>
These are all my <connector port :
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
>
> 4)
> - close Firefox
> - re-open Firefox
> - click on Tools..LiveHttpHeader. *Leave that window open*, and make sure
> that the checkbox "capture headers" is checked.
> - go back to the main browser window
> - enter http://localhost:8080
> - go back to the LiveHttpHeaders window
> - what is in it ? (you can cut and paste it here)
Absolutely nothing: :( blank
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
[...]
> but again, I can successfully access http://localhost:8080 and blank for
> http://localhost:8080/mms_test. so the log files are not very informative.
>
> 2) I have downloaded LiveHttpHeaders plugin and followed your instructions.
> Believe it or not when I access http://localhost:8080/mms_test or
> http://localhost:8080 or http://localhost:8080/mms_test , and when i click
> on "Live http headers" form tools , the headers are empty. However when I
> access any other sites , like google , the headers has info in it( as it is
> expected)
>
You are right, I don't believe it.
I do not believe the combination above : that you can succesfully access
http://localhost:8080, but do not see headers in LiveHttpHeaders when
you do that. Something in that combination is wrong.
So, do exactly the following :
1) Tell me again :
- what is your OS ?
- what version of Tomcat is this ?
- where did you get it from ?
2)
- stop Tomcat
- in a command window, enter : netstat -tan | grep LISTEN
(and copy the result here)
- start Tomcat
- in a command window, enter : netstat -tan | grep LISTEN
(and copy the result here)
(Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat started.)
3) Then, also copy here the portion of your tomcat conf/server.xml which
looks like this :
<Connector port="xxxx" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
4)
- close Firefox
- re-open Firefox
- click on Tools..LiveHttpHeader. *Leave that window open*, and make
sure that the checkbox "capture headers" is checked.
- go back to the main browser window
- enter http://localhost:8080
- go back to the LiveHttpHeaders window
- what is in it ? (you can cut and paste it here)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
hello again,
Andre, I just went back to the server.xml file in conf directory and fixed
the error and now when I restart the server with: sudo /etc/init.d/tomcat
restart, and I then i check the logs , I don't see any errors , just the
normal output:
1-Feb-2009 6:01:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1113 ms
but when I try to access the webserver via http://localhost:8080/mms_test/,
same problem again, blank page. Don't get it!!!!
What am i doing wrong?? what do i need to do?? I've been wrestling with this
issue for the last 7 days! :(
don't know what do anymore!
Thank u again for the help
zia
On Sun, Feb 1, 2009 at 5:46 PM, André Warnier <aw...@ice-sa.com> wrote:
> What do you mean the logs are not informative ?
> I am no Tomcat expert to interpret the log exactly, but my guess is that
> you have an XML error right into your conf/server.xml file, which is the
> main Tomcat configuration file. I am quite surprised that Tomcat is
> starting at all.
>
> SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
> >
> You may want to have a look at the position indicated above.
> if it is not in server.xml, it is obviously in some other XML file which
> Tomcat tries to read at startup.
>
>
> zia mohades wrote:
>
>> Hi again:
>>
>> Andre thank you for your email:
>>
>> 1) when I check the logs I see the follwoing
>>
>> for localhost logs :1-Feb-2009 4:16:04 PM
>> org.apache.catalina.core.ApplicationContext log
>> INFO: SessionListener: contextInitialized()
>>
>> for catalina logs: I have this:
>> 1-Feb-2009 5:01:42 PM org.apache.tomcat.util.digester.Digester fatalError
>> SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
>> "<!--".
>> org.xml.sax.SAXParseException: Comment must start with "<!--".
>> at
>>
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>> at
>>
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2577)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2695)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>> at
>>
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>> at
>>
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>> at
>>
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>> at
>>
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>> at
>>
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>> at
>>
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
>> 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:597)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina load
>> WARNING: Catalina.start using conf/server.xml:
>> org.xml.sax.SAXParseException: Comment must start with "<!--".
>> at
>>
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
>> at
>>
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
>> 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:597)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 0 ms
>>
>> but again, I can successfully access http://localhost:8080 and blank
>> for
>> http://localhost:8080/mms_test. so the log files are not very
>> informative.
>>
>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>> instructions.
>> Believe it or not when I access http://localhost:8080/mms_test or
>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>> click
>> on "Live http headers" form tools , the headers are empty. However when I
>> access any other sites , like google , the headers has info in it( as it
>> is
>> expected)
>>
>> Sooo I am seriously confused and frustated!!! I just dont know what to
>> do!!
>>
>> I even tried http://localhost:8080/mms_test/index.html but same problem
>> :(
>>
>> sorry again for the hassell but seriously any solution is appreciated!
>>
>>
>> thank you kindly
>>
>> zia
>>
>>
>>
>> On Sun, Feb 1, 2009 at 4:45 PM, André Warnier <aw...@ice-sa.com> wrote:
>>
>> zia mohades wrote:
>>>
>>> Hello again,
>>>>
>>>> Qiao thank you for your help. I tried copying the WEB-INF(which includes
>>>> web.xml) to mms_test but the problem is still there( blank page). I
>>>> tried
>>>> copying the mms_test somewhere else like to ROOT, but the problem still
>>>> remains. Just to let you know I can successfull view the page
>>>> http://localhost:8080/ but get a blank page when try to access the
>>>> http://localhost:8080/mms_test/
>>>>
>>>> And when you try that second link, and you get the blank page, is there
>>>>
>>> anything in your Tomcat logs ?
>>>
>>> I mean, when you try to access http://localhost:8080/mms_test/, there
>>> are
>>> only a limited number of possibilities :
>>> - either your browser cannot reach the server. Then you would get a
>>> browser message saying "cannot reach the server". You don't get that, so
>>> we
>>> assume the browser can reach Tomcat.
>>> - or the browser reaches the server, and the server cannot find the
>>> requested page (or application), or it cannot access it (permission
>>> problem), or there is an error in the application. Then you would get an
>>> error page from Tomcat. But you do not get that.
>>> - so we have to assume that Tomcat finds "something", and is sending it
>>> back to the browser. That something seems to be an empty page.
>>> But it certainly comes at least with some HTTP Headers from Tomcat.
>>>
>>> If there is nothing in the Tomcat logs :
>>> If you are using Firefox as a browser (recommended), get and install the
>>> LiveHttpHeaders plugin. Here :
>>> https://addons.mozilla.org/en-US/firefox/addons/versions/3829
>>>
>>> That is a plugin that allows you to see the HTTP Headers that the
>>> webserver
>>> is sending along with the response (the blank page).
>>> (If IE, get a similar plugin (Fiddler2 ?).)
>>> Anyway, activate the plugin (in Firefox, LiveHttpHeaders appears in the
>>> Tools menu, just click on it. It opens its own window).
>>> Then just go back to the main window, call up your mmtest link, and look
>>> in
>>> the LiveHttpHeaders window, what exactly the server sent.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by Stephen Souness <so...@hotmail.com>.
Hi.
I believe the error will be preventing Tomcat from starting - which is
why the restart attempt is failing when it attempts to connect to the
shutdown port - according to the log posted.
Find and fix the XML issue, then you should be good to get Tomcat started.
--
Stephen Souness
André Warnier wrote:
> What do you mean the logs are not informative ?
> I am no Tomcat expert to interpret the log exactly, but my guess is that
> you have an XML error right into your conf/server.xml file, which is the
> main Tomcat configuration file. I am quite surprised that Tomcat is
> starting at all.
>
> SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
> >
> You may want to have a look at the position indicated above.
> if it is not in server.xml, it is obviously in some other XML file which
> Tomcat tries to read at startup.
>
> zia mohades wrote:
>> Hi again:
>>
>> Andre thank you for your email:
>>
>> 1) when I check the logs I see the follwoing
>>
>> for localhost logs :1-Feb-2009 4:16:04 PM
>> org.apache.catalina.core.ApplicationContext log
>> INFO: SessionListener: contextInitialized()
>>
>> for catalina logs: I have this:
>> 1-Feb-2009 5:01:42 PM org.apache.tomcat.util.digester.Digester fatalError
>> SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
>> "<!--".
>> org.xml.sax.SAXParseException: Comment must start with "<!--".
>> at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
>>
>> at
>> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2577)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2695)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
>>
>> at
>> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
>>
>> at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
>>
>> at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>
>> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
>> 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:597)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina load
>> WARNING: Catalina.start using conf/server.xml:
>> org.xml.sax.SAXParseException: Comment must start with "<!--".
>> at
>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
>>
>> at
>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
>>
>> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
>> 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:597)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 0 ms
>>
>> but again, I can successfully access http://localhost:8080 and
>> blank for
>> http://localhost:8080/mms_test. so the log files are not very
>> informative.
>>
>> 2) I have downloaded LiveHttpHeaders plugin and followed your
>> instructions.
>> Believe it or not when I access http://localhost:8080/mms_test or
>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
>> click
>> on "Live http headers" form tools , the headers are empty. However when I
>> access any other sites , like google , the headers has info in it( as
>> it is
>> expected)
>>
>> Sooo I am seriously confused and frustated!!! I just dont know what to
>> do!!
>>
>> I even tried http://localhost:8080/mms_test/index.html but same
>> problem :(
>>
>> sorry again for the hassell but seriously any solution is appreciated!
>>
>>
>> thank you kindly
>>
>> zia
>>
>>
>>
>> On Sun, Feb 1, 2009 at 4:45 PM, André Warnier <aw...@ice-sa.com> wrote:
>>
>>> zia mohades wrote:
>>>
>>>> Hello again,
>>>>
>>>> Qiao thank you for your help. I tried copying the WEB-INF(which
>>>> includes
>>>> web.xml) to mms_test but the problem is still there( blank page). I
>>>> tried
>>>> copying the mms_test somewhere else like to ROOT, but the problem still
>>>> remains. Just to let you know I can successfull view the page
>>>> http://localhost:8080/ but get a blank page when try to access the
>>>> http://localhost:8080/mms_test/
>>>>
>>>> And when you try that second link, and you get the blank page, is
>>>> there
>>> anything in your Tomcat logs ?
>>>
>>> I mean, when you try to access http://localhost:8080/mms_test/, there
>>> are
>>> only a limited number of possibilities :
>>> - either your browser cannot reach the server. Then you would get a
>>> browser message saying "cannot reach the server". You don't get that,
>>> so we
>>> assume the browser can reach Tomcat.
>>> - or the browser reaches the server, and the server cannot find the
>>> requested page (or application), or it cannot access it (permission
>>> problem), or there is an error in the application. Then you would
>>> get an
>>> error page from Tomcat. But you do not get that.
>>> - so we have to assume that Tomcat finds "something", and is sending it
>>> back to the browser. That something seems to be an empty page.
>>> But it certainly comes at least with some HTTP Headers from Tomcat.
>>>
>>> If there is nothing in the Tomcat logs :
>>> If you are using Firefox as a browser (recommended), get and install the
>>> LiveHttpHeaders plugin. Here :
>>> https://addons.mozilla.org/en-US/firefox/addons/versions/3829
>>>
>>> That is a plugin that allows you to see the HTTP Headers that the
>>> webserver
>>> is sending along with the response (the blank page).
>>> (If IE, get a similar plugin (Fiddler2 ?).)
>>> Anyway, activate the plugin (in Firefox, LiveHttpHeaders appears in the
>>> Tools menu, just click on it. It opens its own window).
>>> Then just go back to the main window, call up your mmtest link, and
>>> look in
>>> the LiveHttpHeaders window, what exactly the server sent.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
What do you mean the logs are not informative ?
I am no Tomcat expert to interpret the log exactly, but my guess is that
you have an XML error right into your conf/server.xml file, which is the
main Tomcat configuration file. I am quite surprised that Tomcat is
starting at all.
SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
>
You may want to have a look at the position indicated above.
if it is not in server.xml, it is obviously in some other XML file which
Tomcat tries to read at startup.
zia mohades wrote:
> Hi again:
>
> Andre thank you for your email:
>
> 1) when I check the logs I see the follwoing
>
> for localhost logs :1-Feb-2009 4:16:04 PM
> org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
>
> for catalina logs: I have this:
> 1-Feb-2009 5:01:42 PM org.apache.tomcat.util.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
> "<!--".
> org.xml.sax.SAXParseException: Comment must start with "<!--".
> at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
> at
> com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
> at
> com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
> at
> com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2577)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2695)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
> 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:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina load
> WARNING: Catalina.start using conf/server.xml:
> org.xml.sax.SAXParseException: Comment must start with "<!--".
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
> at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
> 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:597)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 0 ms
>
> but again, I can successfully access http://localhost:8080 and blank for
> http://localhost:8080/mms_test. so the log files are not very informative.
>
> 2) I have downloaded LiveHttpHeaders plugin and followed your instructions.
> Believe it or not when I access http://localhost:8080/mms_test or
> http://localhost:8080 or http://localhost:8080/mms_test , and when i click
> on "Live http headers" form tools , the headers are empty. However when I
> access any other sites , like google , the headers has info in it( as it is
> expected)
>
> Sooo I am seriously confused and frustated!!! I just dont know what to do!!
>
> I even tried http://localhost:8080/mms_test/index.html but same problem :(
>
> sorry again for the hassell but seriously any solution is appreciated!
>
>
> thank you kindly
>
> zia
>
>
>
> On Sun, Feb 1, 2009 at 4:45 PM, André Warnier <aw...@ice-sa.com> wrote:
>
>> zia mohades wrote:
>>
>>> Hello again,
>>>
>>> Qiao thank you for your help. I tried copying the WEB-INF(which includes
>>> web.xml) to mms_test but the problem is still there( blank page). I tried
>>> copying the mms_test somewhere else like to ROOT, but the problem still
>>> remains. Just to let you know I can successfull view the page
>>> http://localhost:8080/ but get a blank page when try to access the
>>> http://localhost:8080/mms_test/
>>>
>>> And when you try that second link, and you get the blank page, is there
>> anything in your Tomcat logs ?
>>
>> I mean, when you try to access http://localhost:8080/mms_test/, there are
>> only a limited number of possibilities :
>> - either your browser cannot reach the server. Then you would get a
>> browser message saying "cannot reach the server". You don't get that, so we
>> assume the browser can reach Tomcat.
>> - or the browser reaches the server, and the server cannot find the
>> requested page (or application), or it cannot access it (permission
>> problem), or there is an error in the application. Then you would get an
>> error page from Tomcat. But you do not get that.
>> - so we have to assume that Tomcat finds "something", and is sending it
>> back to the browser. That something seems to be an empty page.
>> But it certainly comes at least with some HTTP Headers from Tomcat.
>>
>> If there is nothing in the Tomcat logs :
>> If you are using Firefox as a browser (recommended), get and install the
>> LiveHttpHeaders plugin. Here :
>> https://addons.mozilla.org/en-US/firefox/addons/versions/3829
>>
>> That is a plugin that allows you to see the HTTP Headers that the webserver
>> is sending along with the response (the blank page).
>> (If IE, get a similar plugin (Fiddler2 ?).)
>> Anyway, activate the plugin (in Firefox, LiveHttpHeaders appears in the
>> Tools menu, just click on it. It opens its own window).
>> Then just go back to the main window, call up your mmtest link, and look in
>> the LiveHttpHeaders window, what exactly the server sent.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hi again:
Andre thank you for your email:
1) when I check the logs I see the follwoing
for localhost logs :1-Feb-2009 4:16:04 PM
org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
for catalina logs: I have this:
1-Feb-2009 5:01:42 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 71 column 8: Comment must start with
"<!--".
org.xml.sax.SAXParseException: Comment must start with "<!--".
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
at
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
at
com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.startOfMarkup(XMLDocumentFragmentScannerImpl.java:2577)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2695)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException: Comment must start with "<!--".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.Catalina.load(Catalina.java:516)
at org.apache.catalina.startup.Catalina.start(Catalina.java:570)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
1-Feb-2009 5:01:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
but again, I can successfully access http://localhost:8080 and blank for
http://localhost:8080/mms_test. so the log files are not very informative.
2) I have downloaded LiveHttpHeaders plugin and followed your instructions.
Believe it or not when I access http://localhost:8080/mms_test or
http://localhost:8080 or http://localhost:8080/mms_test , and when i click
on "Live http headers" form tools , the headers are empty. However when I
access any other sites , like google , the headers has info in it( as it is
expected)
Sooo I am seriously confused and frustated!!! I just dont know what to do!!
I even tried http://localhost:8080/mms_test/index.html but same problem :(
sorry again for the hassell but seriously any solution is appreciated!
thank you kindly
zia
On Sun, Feb 1, 2009 at 4:45 PM, André Warnier <aw...@ice-sa.com> wrote:
> zia mohades wrote:
>
>> Hello again,
>>
>> Qiao thank you for your help. I tried copying the WEB-INF(which includes
>> web.xml) to mms_test but the problem is still there( blank page). I tried
>> copying the mms_test somewhere else like to ROOT, but the problem still
>> remains. Just to let you know I can successfull view the page
>> http://localhost:8080/ but get a blank page when try to access the
>> http://localhost:8080/mms_test/
>>
>> And when you try that second link, and you get the blank page, is there
> anything in your Tomcat logs ?
>
> I mean, when you try to access http://localhost:8080/mms_test/, there are
> only a limited number of possibilities :
> - either your browser cannot reach the server. Then you would get a
> browser message saying "cannot reach the server". You don't get that, so we
> assume the browser can reach Tomcat.
> - or the browser reaches the server, and the server cannot find the
> requested page (or application), or it cannot access it (permission
> problem), or there is an error in the application. Then you would get an
> error page from Tomcat. But you do not get that.
> - so we have to assume that Tomcat finds "something", and is sending it
> back to the browser. That something seems to be an empty page.
> But it certainly comes at least with some HTTP Headers from Tomcat.
>
> If there is nothing in the Tomcat logs :
> If you are using Firefox as a browser (recommended), get and install the
> LiveHttpHeaders plugin. Here :
> https://addons.mozilla.org/en-US/firefox/addons/versions/3829
>
> That is a plugin that allows you to see the HTTP Headers that the webserver
> is sending along with the response (the blank page).
> (If IE, get a similar plugin (Fiddler2 ?).)
> Anyway, activate the plugin (in Firefox, LiveHttpHeaders appears in the
> Tools menu, just click on it. It opens its own window).
> Then just go back to the main window, call up your mmtest link, and look in
> the LiveHttpHeaders window, what exactly the server sent.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by André Warnier <aw...@ice-sa.com>.
zia mohades wrote:
> Hello again,
>
> Qiao thank you for your help. I tried copying the WEB-INF(which includes
> web.xml) to mms_test but the problem is still there( blank page). I tried
> copying the mms_test somewhere else like to ROOT, but the problem still
> remains. Just to let you know I can successfull view the page
> http://localhost:8080/ but get a blank page when try to access the
> http://localhost:8080/mms_test/
>
And when you try that second link, and you get the blank page, is there
anything in your Tomcat logs ?
I mean, when you try to access http://localhost:8080/mms_test/, there
are only a limited number of possibilities :
- either your browser cannot reach the server. Then you would get a
browser message saying "cannot reach the server". You don't get that, so
we assume the browser can reach Tomcat.
- or the browser reaches the server, and the server cannot find the
requested page (or application), or it cannot access it (permission
problem), or there is an error in the application. Then you would get
an error page from Tomcat. But you do not get that.
- so we have to assume that Tomcat finds "something", and is sending it
back to the browser. That something seems to be an empty page.
But it certainly comes at least with some HTTP Headers from Tomcat.
If there is nothing in the Tomcat logs :
If you are using Firefox as a browser (recommended), get and install the
LiveHttpHeaders plugin. Here :
https://addons.mozilla.org/en-US/firefox/addons/versions/3829
That is a plugin that allows you to see the HTTP Headers that the
webserver is sending along with the response (the blank page).
(If IE, get a similar plugin (Fiddler2 ?).)
Anyway, activate the plugin (in Firefox, LiveHttpHeaders appears in the
Tools menu, just click on it. It opens its own window).
Then just go back to the main window, call up your mmtest link, and look
in the LiveHttpHeaders window, what exactly the server sent.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hello again,
Qiao thank you for your help. I tried copying the WEB-INF(which includes
web.xml) to mms_test but the problem is still there( blank page). I tried
copying the mms_test somewhere else like to ROOT, but the problem still
remains. Just to let you know I can successfull view the page
http://localhost:8080/ but get a blank page when try to access the
http://localhost:8080/mms_test/
However I haven't changed anything in the /usr/local/tomcat/conf/server.xml
do i need to change something there?
Any help is highly appreciated!
Thank you again for your time!
zia
On Sun, Feb 1, 2009 at 3:59 PM, Qiao Jin <br...@gmail.com> wrote:
> I am new to Tomcat as well... But, does mms_test contain WEB-INF with
> web.xml, like other directories under webapps do? Try copy it from "docs"
> and see what happens. Also, if you pull mms_test out of webapps and restart
> tomcat, does the problem go away? Did you change server.xml from the
> default?
>
> Hope this helps.
> Qiao
>
> -----Original Message-----
> From: zia mohades [mailto:zia.simab@gmail.com]
> Sent: Sunday, February 01, 2009 11:24 AM
> To: Tomcat Users List; p@pidster.com
> Subject: Re: Apache Tomcat 6.0 loads blank page
>
> Hello all,
>
> Thank you keshave for your answer. In fact my folder mms_test is already in
> teh webapps directory and when I try accessing it using
> http://localhost:8080/mms_test/index.html or just
> http://localhost:8080/mms_test/. I get the same thing "blank page" nothing
> is displayed. I am not sure what I need to do.
>
> P, in response to your email, my folder is in mms_test not in root, should
> i
> place it in root? also I am not sure exactly what you meant by
> "'META-INF/context.xml'" because i don't have any directory called
> "META-INF
> in webapps do i need to creat it? the context.xml is currently located in
> /usr/local/tomcat/conf.
>
> I am getting a bit frustated here, I definitely appreciate your help with
> this. also one more this i should mention, when restart the server couple
> of
> times using
> sudo /etc/init.d/tomcat restart
>
> I get this message:
> Using CATALINA_BASE: /usr/local/tomcat
> Using CATALINA_HOME: /usr/local/tomcat
> Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> Using JRE_HOME: /usr/lib/jvm/java-6-sun
> 1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
> SEVERE: Catalina.stop:
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at java.net.Socket.<init>(Socket.java:366)
> at java.net.Socket.<init>(Socket.java:180)
> at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
> 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:597)
> at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
> Using CATALINA_BASE: /usr/local/tomcat
> Using CATALINA_HOME: /usr/local/tomcat
> Using CATALINA_TMPDIR: /usr/local/tomcat/temp
> Using JRE_HOME: /usr/lib/jvm/java-6-sun
>
> But it doesn't change the problem: blank page again when I try to access
> http://localhost:8080/mms_test/
>
> Your help is greatly appreciated
>
> thank u kindly
>
> zia
>
>
>
>
> On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
>
> > zia mohades wrote:
> > > Hi there,
> > >
> > > I am currently having issue loading my own page using tomcat apache 6.0
> > on
> > > ubuntu, here are the details;
> > >
> > > 1) when I start the server using sudo /etc/init.d/tomcat restart and
> then
> > > try to access the server via http://localhost:8080, i sucessfully
> > > get the welcome page and the logo of the tomcat
> > >
> > > 2) I then place my own folder called mms_tets( containing html files)
> in
> > > /usr/local/tomcat/webapps and then restart the server using the same
> > > command. however when try to access the http://localhost:8080 i get a
> > blank
> > > page. Showing absolutely nothing and I don't even get any errors. I
> > checked
> > > the permission also and it seems like I gave the full permission:
> > > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> > >
> > > I also checked the log folder , and here are their results:
> > >
> > > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > > org.apache.catalina.startup.Catalina start
> > > INFO: Server startup in 1520 ms
> > >
> > > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > > org.apache.catalina.core.ApplicationContext log
> > > INFO: SessionListener: contextInitialized()
> >
> > If you're trying to make your app the ROOT app, then you need to call
> > the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> > war file).
> >
> > If you have the Context defined in server.xml, you should instead place
> > the definition in a file inside your webapp 'META-INF/context.xml'.
> > Do not use the 'path' or 'docbase' attributes. and
> >
> >
> > p
> >
> >
> >
> > > i definitely appreciate your help! I spent so much time on this and
> > > seriously can't figure out the problem.
> > >
> > > Thank you kindly
> > >
> > >
> > > zia
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: Apache Tomcat 6.0 loads blank page
Posted by Qiao Jin <br...@gmail.com>.
I am new to Tomcat as well... But, does mms_test contain WEB-INF with
web.xml, like other directories under webapps do? Try copy it from "docs"
and see what happens. Also, if you pull mms_test out of webapps and restart
tomcat, does the problem go away? Did you change server.xml from the
default?
Hope this helps.
Qiao
-----Original Message-----
From: zia mohades [mailto:zia.simab@gmail.com]
Sent: Sunday, February 01, 2009 11:24 AM
To: Tomcat Users List; p@pidster.com
Subject: Re: Apache Tomcat 6.0 loads blank page
Hello all,
Thank you keshave for your answer. In fact my folder mms_test is already in
teh webapps directory and when I try accessing it using
http://localhost:8080/mms_test/index.html or just
http://localhost:8080/mms_test/. I get the same thing "blank page" nothing
is displayed. I am not sure what I need to do.
P, in response to your email, my folder is in mms_test not in root, should i
place it in root? also I am not sure exactly what you meant by
"'META-INF/context.xml'" because i don't have any directory called "META-INF
in webapps do i need to creat it? the context.xml is currently located in
/usr/local/tomcat/conf.
I am getting a bit frustated here, I definitely appreciate your help with
this. also one more this i should mention, when restart the server couple of
times using
sudo /etc/init.d/tomcat restart
I get this message:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun
1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
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:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun
But it doesn't change the problem: blank page again when I try to access
http://localhost:8080/mms_test/
Your help is greatly appreciated
thank u kindly
zia
On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
> zia mohades wrote:
> > Hi there,
> >
> > I am currently having issue loading my own page using tomcat apache 6.0
> on
> > ubuntu, here are the details;
> >
> > 1) when I start the server using sudo /etc/init.d/tomcat restart and
then
> > try to access the server via http://localhost:8080, i sucessfully
> > get the welcome page and the logo of the tomcat
> >
> > 2) I then place my own folder called mms_tets( containing html files) in
> > /usr/local/tomcat/webapps and then restart the server using the same
> > command. however when try to access the http://localhost:8080 i get a
> blank
> > page. Showing absolutely nothing and I don't even get any errors. I
> checked
> > the permission also and it seems like I gave the full permission:
> > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> >
> > I also checked the log folder , and here are their results:
> >
> > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > org.apache.catalina.startup.Catalina start
> > INFO: Server startup in 1520 ms
> >
> > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: SessionListener: contextInitialized()
>
> If you're trying to make your app the ROOT app, then you need to call
> the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> war file).
>
> If you have the Context defined in server.xml, you should instead place
> the definition in a file inside your webapp 'META-INF/context.xml'.
> Do not use the 'path' or 'docbase' attributes. and
>
>
> p
>
>
>
> > i definitely appreciate your help! I spent so much time on this and
> > seriously can't figure out the problem.
> >
> > Thank you kindly
> >
> >
> > zia
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache Tomcat 6.0 loads blank page
Posted by zia mohades <zi...@gmail.com>.
Hello all,
Thank you keshave for your answer. In fact my folder mms_test is already in
teh webapps directory and when I try accessing it using
http://localhost:8080/mms_test/index.html or just
http://localhost:8080/mms_test/. I get the same thing "blank page" nothing
is displayed. I am not sure what I need to do.
P, in response to your email, my folder is in mms_test not in root, should i
place it in root? also I am not sure exactly what you meant by
"'META-INF/context.xml'" because i don't have any directory called "META-INF
in webapps do i need to creat it? the context.xml is currently located in
/usr/local/tomcat/conf.
I am getting a bit frustated here, I definitely appreciate your help with
this. also one more this i should mention, when restart the server couple of
times using
sudo /etc/init.d/tomcat restart
I get this message:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun
1-Feb-2009 2:22:58 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
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:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun
But it doesn't change the problem: blank page again when I try to access
http://localhost:8080/mms_test/
Your help is greatly appreciated
thank u kindly
zia
On Sun, Feb 1, 2009 at 7:34 AM, Pid <p...@pidster.com> wrote:
> zia mohades wrote:
> > Hi there,
> >
> > I am currently having issue loading my own page using tomcat apache 6.0
> on
> > ubuntu, here are the details;
> >
> > 1) when I start the server using sudo /etc/init.d/tomcat restart and then
> > try to access the server via http://localhost:8080, i sucessfully
> > get the welcome page and the logo of the tomcat
> >
> > 2) I then place my own folder called mms_tets( containing html files) in
> > /usr/local/tomcat/webapps and then restart the server using the same
> > command. however when try to access the http://localhost:8080 i get a
> blank
> > page. Showing absolutely nothing and I don't even get any errors. I
> checked
> > the permission also and it seems like I gave the full permission:
> > drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
> >
> > I also checked the log folder , and here are their results:
> >
> > for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> > org.apache.catalina.startup.Catalina start
> > INFO: Server startup in 1520 ms
> >
> > for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> > org.apache.catalina.core.ApplicationContext log
> > INFO: SessionListener: contextInitialized()
>
> If you're trying to make your app the ROOT app, then you need to call
> the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
> war file).
>
> If you have the Context defined in server.xml, you should instead place
> the definition in a file inside your webapp 'META-INF/context.xml'.
> Do not use the 'path' or 'docbase' attributes. and
>
>
> p
>
>
>
> > i definitely appreciate your help! I spent so much time on this and
> > seriously can't figure out the problem.
> >
> > Thank you kindly
> >
> >
> > zia
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Apache Tomcat 6.0 loads blank page
Posted by Pid <p...@pidster.com>.
zia mohades wrote:
> Hi there,
>
> I am currently having issue loading my own page using tomcat apache 6.0 on
> ubuntu, here are the details;
>
> 1) when I start the server using sudo /etc/init.d/tomcat restart and then
> try to access the server via http://localhost:8080, i sucessfully
> get the welcome page and the logo of the tomcat
>
> 2) I then place my own folder called mms_tets( containing html files) in
> /usr/local/tomcat/webapps and then restart the server using the same
> command. however when try to access the http://localhost:8080 i get a blank
> page. Showing absolutely nothing and I don't even get any errors. I checked
> the permission also and it seems like I gave the full permission:
> drwxrwxrwx 9 mohadesz mohadesz 4096 2009-01-31 21:13 mms_test
>
> I also checked the log folder , and here are their results:
>
> for catalina.2009-01-31.log --> 31-Jan-2009 9:34:46 PM
> org.apache.catalina.startup.Catalina start
> INFO: Server startup in 1520 ms
>
> for localhost.2009-01-31.log -->31-Jan-2009 9:34:46 PM
> org.apache.catalina.core.ApplicationContext log
> INFO: SessionListener: contextInitialized()
If you're trying to make your app the ROOT app, then you need to call
the directory it's in 'ROOT' or name it ROOT.war (if it's a compressed
war file).
If you have the Context defined in server.xml, you should instead place
the definition in a file inside your webapp 'META-INF/context.xml'.
Do not use the 'path' or 'docbase' attributes.
p
> i definitely appreciate your help! I spent so much time on this and
> seriously can't figure out the problem.
>
> Thank you kindly
>
>
> zia
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org