tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier" <xle...@yahoo.com>
Subject Re[2]: Virtual host and app
Date Sun, 02 Nov 2003 21:27:43 GMT
On 02/11/2003 at 13:34 Sean Dockery wrote:

>You need a Context node in your Host for the default context.
>


Thanks for your reply.

I've tried to get a Context setting in many ways but I give up...

If I've my application in 

webapps
+--PruebaJavier
   +--images
   +--WEB-INF
      +--classes
         +--listeners
         +--filters
         +--compressionFilters
         +--util

How could I get a well configured context ?

I made 

<Context path="PruebaJavier" docBase="C:\Program Files\Apache Software
Foundation\Tomcat 5.0\webapps\PruebaJavier\" debug="0" />  

but I really don't understand difference between path and docBase (after
read documentation). Also, I want to know wich is the equivalent setting
for Apache DirectoryIndex.

And as last problem...I receive the following error:

------------------
Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8080
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java
:286)
	at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)
	at
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:13
26)
	at
org.apache.catalina.core.StandardService.initialize(StandardService.java:633
)
	at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2413)

	at org.apache.catalina.startup.Catalina.load(Catalina.java:531)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
02-nov-2003 22:21:05 org.apache.catalina.startup.Catalina load
GRAVE: Catalina.start
LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use: JVM_Bind:8080
	at
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:13
28)
	at
org.apache.catalina.core.StandardService.initialize(StandardService.java:633
)
	at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2413)

	at org.apache.catalina.startup.Catalina.load(Catalina.java:531)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)

------------------------------

And I don't know why it's produced...

Any help will be welcome

<jl>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message