initializing application http://localhost:8080
initializing application http://localhost:8080/java_tut
initializing application http://localhost:8080/basic
...
http can't bind to *:8080. check for conflicting servers
出现这个
我把resin的配置文件放上来,
我机子OK的,朋友地方出现这个问题,大家帮我看看
<caucho.com>
<log id='/log' href='stderr:' timestamp='[%Y-%m-%d %H:%M:%S.%s]'/>
<java compiler="internal" compiler-args=""/>
<resource-ref>
<res-ref-name>jdbc/test</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<init-param driver-name="com.caucho.jdbc.mysql.Driver"/>
<init-param url="jdbc:mysql_caucho://localhost:3306/test"/>
<init-param user=""/>
<init-param password=""/>
<init-param max-connections="20"/>
<init-param max-idle-time="30"/>
</resource-ref>
<jsp precompile='true' static-encoding='true' recompile-on-error='true'/><http-server app-dir='D:\post'> <doc-dir>doc</doc-dir>
<http port='8080'/>
<srun host='127.0.0.1' port='6802'/>
<class-update-interval>2s</class-update-interval>
<servlet-classloader-hack>false</servlet-classloader-hack>
<caucho-status>true</caucho-status>
<thread-max>150</thread-max>
<thread-keepalive id='100'/> <request-timeout id='65s'/>
<accept-buffer-size id='256'/> <thread-min id='5'/>
<ignore-client-disconnect>true</ignore-client-disconnect>
<cache dir='cache' size='1024' entries='8192'/>
<cache-mapping url-pattern='/' expires='2s'/>
<servlet-mapping url-pattern='*.xtp' servlet-name='xtp'/>
<servlet-mapping url-pattern='*.jsp' servlet-name='jsp'/>
<servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/> <welcome-file-list>index.xtp, index.jsp, index.html</welcome-file-list>
<host id=''> <access-log id='logs/access.log'
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
rollover-period='1W'/> <error-log id='logs/error.log'/>
<war-dir id='webapps'/> <web-app id='/'> <classpath id='WEB-INF/classes'
source='WEB-INF/src'
compile='true'/> <session-config>
<session-max>4096</session-max>
<session-timeout>30</session-timeout>
<enable-cookies>true</enable-cookies>
<enable-url-rewriting>true</enable-url-rewriting>
</session-config>
<path-mapping url-regexp='^/~([^/]*)'
real-path='/home/$1/public_html/'/>
</web-app>
<web-app id='java_tut'/> <web-app id='examples/basic'>
<!-- Application init parameters, see Env.java to get the values -->
<context-param info='An application information string'/> <!-- snoop-servlet handles all urls starting with /snoop -->
<servlet-mapping url-pattern='/snoop/*' servlet-name='snoop-servlet'/> <!-- configure snoop-servlet with init parameters -->
<servlet servlet-name='snoop-servlet' servlet-class='Env'>
<init-param info='A servlet information string'/>
</servlet>
</web-app> <web-app id='examples/tags'/> <web-app id='examples/tictactoe'/>
<web-app id='examples/navigation'/> <web-app id='examples/xsl'/> <web-app id='examples/templates'>
<servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
<servlet-mapping url-pattern='/GuestJsp' servlet-name='GuestJsp'/>
<servlet-mapping url-pattern='/GuestXtp' servlet-name='GuestXtp'/>
<servlet-mapping url-pattern='/RSS' servlet-name='jsp.RSS'/> <servlet servlet-name='GuestJsp' servlet-class='jsp.GuestJsp'/>
<servlet servlet-name='GuestXtp' servlet-class='jsp.GuestXtp'/>
</web-app> <web-app id='/examples/login'/>
</host>
</http-server>
</caucho.com>
initializing application http://localhost:8080/java_tut
initializing application http://localhost:8080/basic
...
http can't bind to *:8080. check for conflicting servers
出现这个
我把resin的配置文件放上来,
我机子OK的,朋友地方出现这个问题,大家帮我看看
<caucho.com>
<log id='/log' href='stderr:' timestamp='[%Y-%m-%d %H:%M:%S.%s]'/>
<java compiler="internal" compiler-args=""/>
<resource-ref>
<res-ref-name>jdbc/test</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<init-param driver-name="com.caucho.jdbc.mysql.Driver"/>
<init-param url="jdbc:mysql_caucho://localhost:3306/test"/>
<init-param user=""/>
<init-param password=""/>
<init-param max-connections="20"/>
<init-param max-idle-time="30"/>
</resource-ref>
<jsp precompile='true' static-encoding='true' recompile-on-error='true'/><http-server app-dir='D:\post'> <doc-dir>doc</doc-dir>
<http port='8080'/>
<srun host='127.0.0.1' port='6802'/>
<class-update-interval>2s</class-update-interval>
<servlet-classloader-hack>false</servlet-classloader-hack>
<caucho-status>true</caucho-status>
<thread-max>150</thread-max>
<thread-keepalive id='100'/> <request-timeout id='65s'/>
<accept-buffer-size id='256'/> <thread-min id='5'/>
<ignore-client-disconnect>true</ignore-client-disconnect>
<cache dir='cache' size='1024' entries='8192'/>
<cache-mapping url-pattern='/' expires='2s'/>
<servlet-mapping url-pattern='*.xtp' servlet-name='xtp'/>
<servlet-mapping url-pattern='*.jsp' servlet-name='jsp'/>
<servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/> <welcome-file-list>index.xtp, index.jsp, index.html</welcome-file-list>
<host id=''> <access-log id='logs/access.log'
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
rollover-period='1W'/> <error-log id='logs/error.log'/>
<war-dir id='webapps'/> <web-app id='/'> <classpath id='WEB-INF/classes'
source='WEB-INF/src'
compile='true'/> <session-config>
<session-max>4096</session-max>
<session-timeout>30</session-timeout>
<enable-cookies>true</enable-cookies>
<enable-url-rewriting>true</enable-url-rewriting>
</session-config>
<path-mapping url-regexp='^/~([^/]*)'
real-path='/home/$1/public_html/'/>
</web-app>
<web-app id='java_tut'/> <web-app id='examples/basic'>
<!-- Application init parameters, see Env.java to get the values -->
<context-param info='An application information string'/> <!-- snoop-servlet handles all urls starting with /snoop -->
<servlet-mapping url-pattern='/snoop/*' servlet-name='snoop-servlet'/> <!-- configure snoop-servlet with init parameters -->
<servlet servlet-name='snoop-servlet' servlet-class='Env'>
<init-param info='A servlet information string'/>
</servlet>
</web-app> <web-app id='examples/tags'/> <web-app id='examples/tictactoe'/>
<web-app id='examples/navigation'/> <web-app id='examples/xsl'/> <web-app id='examples/templates'>
<servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
<servlet-mapping url-pattern='/GuestJsp' servlet-name='GuestJsp'/>
<servlet-mapping url-pattern='/GuestXtp' servlet-name='GuestXtp'/>
<servlet-mapping url-pattern='/RSS' servlet-name='jsp.RSS'/> <servlet servlet-name='GuestJsp' servlet-class='jsp.GuestJsp'/>
<servlet servlet-name='GuestXtp' servlet-class='jsp.GuestXtp'/>
</web-app> <web-app id='/examples/login'/>
</host>
</http-server>
</caucho.com>
换成别的端口也一样
<http port='8080'/>我换成8888也一样