tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Lipscy <Bry...@DataChannel.com>
Subject RE: IIS5 - Missing something very simple
Date Thu, 22 Feb 2001 17:39:08 GMT
Directory security is set for anonymous using the TOMCAT account.
Integrated windows authentication is disabled.

tomcat.properties:
security.selfservlet=false

tomcat-users.xml:
<tomcat-users>
  <user name="tomcat" password="tomcat" roles="tomcat" />
  <user name="role1"  password="tomcat" roles="role1"  />
  <user name="both"   password="tomcat" roles="tomcat,role1" />
</tomcat-users>

Same 403 error regardless of what port IIS is set on.

Tomcat is throwing this exception at startup:

Including all jars in D:\app\tomcat\lib in your CLASSPATH.

Using CLASSPATH:
D:\app\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar
;D:\app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\s
ervlet.jar;D:\app\tomcat\lib\webserver.jar;D:\app\tomcat\lib\projsp.jar;D:\a
pp\tomcat\classes;D:\app\tomcat\lib\ant.jar;D:\app\tomcat\lib\jasper.jar;D:\
app\tomcat\lib\jaxp.jar;D:\app\tomcat\lib\parser.jar;D:\app\tomcat\lib\servl
et.jar;D:\app\tomcat\lib\webserver.jar;D:\app\java\j2sdk_1.3\lib\tools.jar;D
:\app\java\j2sdk_1.3\lib\tools.jar

Startup command = "D:\app\java\j2sdk_1.3\bin\java"
-Dtomcat.home="D:\app\tomcat" org.apache.tomcat.startup.Tomcat
Starting Tomcat in new window
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /examples )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-02-22 09:33:57 - ContextManager: Adding context Ctx(  )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /test )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp.jar )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /projsp )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx( /Readme.txt )
2001-02-22 09:33:57 - ContextManager: Adding context Ctx(
/isapi_redirect.dll )
D:\app\tomcat\webapps\projsp\ch11\init.conf (The system cannot find the path
specified)
--> 20010222.093358.397: error: main: javax.servlet.UnavailableException:
The directory D:\app\tomcat\webapps\projsp\ch14\photos specified in the
image.directory initialization parameter does not exist.
        at com.magiccookie.photodb.PhotoServlet.init(PhotoServlet.java:153)
        at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
        at org.apache.tomcat.core.Handler.init(Handler.java:215)
        at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
        at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
        at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
        at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

cannot load servlet name: PhotoServlet
FATAL:java.net.BindException: Address in use: JVM_Bind
java.net.BindException: Address in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
        at java.net.ServerSocket.<init>(ServerSocket.java:170)
        at java.net.ServerSocket.<init>(ServerSocket.java:121)
        at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(DefaultServerS
ocketFactory.java:97)
        at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:239)
        at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
        at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Press any key to continue . . .
D:\app\tomcat\bin>

 
I do not see D:\app\tomcat\webapps\projsp\ch14\photos in the projsp.jar file
although there are sub-directories for photos.  index.jsp resides in
photos\grand-teton.




-----Original Message-----
From: Randy Layman [mailto:randy.layman@aswethink.com]
Sent: Thursday, February 22, 2001 8:13 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: IIS5 - Missing something very simple



	Since you have IIS running on port 8080, I would be willing to be
that you have turned on directory security for the directory that you are
requesting.  Either turn it off, or use a username/password that IIS knows
about (i.e. machine logins)


	Randy

-----Original Message-----
From: Etienne Baert (SPS Europe) [mailto:ebaert@sps.be]
Sent: Thursday, February 22, 2001 11:43 AM
To: tomcat-user@jakarta.apache.org
Subject: RE: IIS5 - Missing something very simple


Hi Bryan,
 
when specifying the 8080 port, you access your pages directly via
tomcat, you thus bypass IIS in that case.
You maybe configured tomcat with security rules (see tomcat.properties
and tomcat-users.xml)
 
If you would like to access tomcat through IIS, you need to use
URL without specifying the tomcat port (http://localhost/ for example).
 
Hope this helps,
Etienne
-----Original Message-----
From: Bryan Lipscy [mailto:BryanL@DataChannel.com]
Sent: jeudi 22 février 2001 17:35
To: 'tomcat-user@jakarta.apache.org'
Subject: IIS5 - Missing something very simple


Good morning to all, 
Quick config rundown: 
[Root partition] 
        Windows 2000 Server (no sp1) 
        IIS5 (Ports 80, 81, 8080) 
[Seperate partition] 
        Apache 1.3.14 r2 (Port 90) 
        JDK 1.3 
        J2EE 1.3 
        Tomcat 3.2.1 


I know that I am missing something very simple.  When I call up
http://localhost:8080 I am getting 403'd (You are not authorized to view
this page).
Checked & re-checked my registry settings.  
Checked the config files.  
Sharing and/or web sharing is not enabled.  
IIS5 is set up with a jakarta web root pointed to the folder with the
isapi_redirect.dll. 
The isapi_redirect.dll is installed in the ISAPI filters and has a green
arrow. 
Anyone have any idea what it is that I am missing? 
Bryan 

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

Mime
View raw message