8083 is used to serve classes, not web pages.

There is no default application with embedded Tomcat, you have to supply
something yourself to see a page on 8080.

david jencks

On 2002.03.18 21:46:26 -0500 David Gadd wrote:
> About a month ago I downloaded Tomcat and MySQL and have been running 
> them on Mac OS X (FreeBSD).
> 
> I've created a site using servlets and jsps and everything's working 
> fine (http://www.gaddzeit.com). So I'm now preparing to start into 
> EJBs.
> 
> On Friday I downloaded:
> JBoss-2.4.4_Tomcat-4.0.1.zip, bought the manual, studied the 
> documentation plus several other net tutorials that I've come across.
> 
> Here's the process I'm following:
> 
> 1. I've shut down my standalone version of tomcat.
> 
> 2. I'm running the script /jboss/bin/run_with_catalina.sh which 
> launches both jboss and catalina without errors.
> 
> 3. The jboss.jcml file shows port configuration as:
>    <mbean code="org.jboss.web.WebService" 
> name="DefaultDomain:service=Webserver">
>      <attribute name="Port">8083</attribute>
>      <!-- Should resources and non-EJB classes be downloadable -->
>      <attribute name="DownloadServerClasses">true</attribute>
>    </mbean>
> 
> 4. During startup, two ports are reported on as follows:
> 
> [INFO,WebService] Starting
> [INFO,WebService] Started webserver with address: null port: 8083
> [INFO,WebService] Codebase set to: http://localhost:8083/
> [INFO,WebService] Started
> 
> and
> 
> [INFO,EmbeddedCatalinaServiceSX] HttpConnector Opening server socket 
> on all host IP addresses
> [INFO,EmbeddedCatalinaServiceSX] HttpConnector[8080] Starting background
> thread
> [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][0] Starting 
> background thread
> [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][1] Starting 
> background thread
> [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][2] Starting 
> background thread
> [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][3] Starting 
> background thread
> [INFO,EmbeddedCatalinaServiceSX] HttpProcessor[8080][4] Starting 
> background thread
> [INFO,EmbeddedCatalinaServiceSX] OK
> [INFO,EmbeddedCatalinaServiceSX] Started
> 
> 5. When I launch a browser and enter http://localhost:8083/ into the 
> browser, I am returned a page with 0 characters.
> 
> 6. When I enter http://localhost:8080/, I get: HTTP Status 500 - No 
> Context configured to process this request
> 
> 6. Now, according to page 319 of the manual:
> "The MBean used to embed the Tomcat-4.x series of web containers is the
> org.jboss.web.catalina.EmbeddedCatalinaServiceSX service. It is a 
> subclass of the
> AbstractWebContainer class. Its configurable attributes include etc etc
> etc
> 
> MY QUESTIONS
> 1. Shouldn't either 8083 or 8080 on a clean install of 
> JBoss-2.4.4_Tomcat-4.0.1 give me some kind of default page?
> 2. If not, and I have to configurethe  EmbeddedCatalinaServiceSX 
> class first, where is it located? The path under src is 
> org/jboss/web/ - there is no subfolder catalina.
> 3. I wanted to search the archives for an answer but the search 
> engine at the top of this page: 
> http://www.geocrawler.com/lists/3/SourceForge/10766/0/   doesn't seem 
> to find messages from the jboss list very effectively. I've limited 
> my search to sourceforge.net in the dropdown, but I'm still getting 
> all kinds of downloads and other stuff--how do I simply search JUST 
> the jboss archive?
> 
> Thanks for the help from a newbie,
> 
> David Gadd
> http://www.gaddzeit.com
> -- 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to