[jboss-user] [Beginners Corner] - Re: problem starting server when using my .war

kdr do-not-reply at jboss.com
Tue Aug 1 10:22:29 EDT 2006


i have the same problem 

below is my web.xml file




  | <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
  | 
  | <web-app>
  | 
  |   
  | 
  |   <display-name>tlservice</display-name>
  | 
  |  
  | 
  |   <!-- =================================================== -->
  | 
  |   <!-- TightLink's Servlets -->
  | 
  |   <!-- =================================================== -->
  | 
  |   <!-- The ServiceCheckServlet is called by the F5 load balancer to check whether a server is available -->
  | 
  |   <servlet>
  | 
  |     <servlet-name>ServiceCheckServlet</servlet-name>
  | 
  |     <servlet-class>com.tlc.admin.ServiceCheckServlet</servlet-class>
  | 
  |     <init-param>
  | 
  |       <param-name>datasources</param-name>
  | 
  |       <param-value>jdbc/tldatasource,jdbc/tlejbdatasource</param-value>
  | 
  |     </init-param>
  | 
  |     <init-param>
  | 
  |       <param-name>test_table</param-name>
  | 
  |       <param-value>CONNTEST</param-value>
  | 
  |     </init-param>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>DefaultServlet</servlet-name>
  | 
  |     <servlet-class>com.tlc.admin.DefaultServlet</servlet-class>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>AttachMgr</servlet-name>
  | 
  |     <servlet-class>com.tlc.am.AttachMgrServlet</servlet-class>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>TLCOClientAdmin</servlet-name>
  | 
  |     <servlet-class>com.tlc.admin.TLCOClientAdmin</servlet-class>
  | 
  |     <load-on-startup>1</load-on-startup>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>ViewFile</servlet-name>
  | 
  |     <servlet-class>com.tlc.utils.ViewFile</servlet-class>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>jspell</servlet-name>
  | 
  |     <servlet-class>com.tlc.spell.servlet.JSpellServlet</servlet-class>
  | 
  |   </servlet>
  | 
  |  
  | 
  |   <servlet>
  | 
  |     <servlet-name>IAdmin</servlet-name>
  | 
  |     <servlet-class>com.tlc.isupport.IAdmin</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>INAdmin</servlet-name>
  | 
  |     <servlet-class>com.tlc.isupport.INAdmin</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>IKBase</servlet-name>
  | 
  |     <servlet-class>com.tlc.kbase.IKBase</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>XKBase</servlet-name>
  | 
  |     <servlet-class>com.tlc.kbase.XKBase</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>IKBAdmin</servlet-name>
  | 
  |     <servlet-class>com.tlc.kbase.IKBAdmin</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>IKBReIndex</servlet-name>
  | 
  |     <servlet-class>com.tlc.kbase.IKBReIndex</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>IReport</servlet-name>
  | 
  |     <servlet-class>com.tlc.report.IReport</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>ISupport</servlet-name>
  | 
  |     <servlet-class>com.tlc.isupport.ISupport</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>XSupport</servlet-name>
  | 
  |     <servlet-class>com.tlc.xsupport.XSupport</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>GCConfig</servlet-name>
  | 
  |     <servlet-class>com.tlc.guitool.GCConfig</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>GCListServlet</servlet-name>
  | 
  |     <servlet-class>com.tlc.guitool.GCListServlet</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>GCFormConfig</servlet-name>
  | 
  |     <servlet-class>com.tlc.guitool.GCFormConfig</servlet-class>
  | 
  |   </servlet>
  | 
  |   <servlet>
  | 
  |     <servlet-name>GCPageConfig</servlet-name>
  | 
  |     <servlet-class>com.tlc.guitool.GCPageConfig</servlet-class>
  | 
  |   </servlet>
  | 
  |   
  | 
  |  
  | 
  | <!-- =================================================== -->
  | 
  | <!-- TIGHTLINK's Servlet mappings -->
  | 
  | <!-- =================================================== -->
  | 
  | 
  | 
  |  
  | 
  |   <!-- The ServiceCheckServlet is called by the F5 load balancer to check whether a server is available -->
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>ServiceCheckServlet</servlet-name>
  | 
  |     <url-pattern>/ServiceCheck</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>DefaultServlet</servlet-name>
  | 
  |     <url-pattern>/</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>DefaultServlet</servlet-name>
  | 
  |     <url-pattern>*.html</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>DefaultServlet</servlet-name>
  | 
  |     <url-pattern>*.htm</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>jspell</servlet-name>
  | 
  |     <url-pattern>/jspell</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>ViewFile</servlet-name>
  | 
  |     <url-pattern>/ViewFile/*</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>TLCOClientAdmin</servlet-name>
  | 
  |     <url-pattern>/TLCOClientAdmin</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>TLCOClientAdmin</servlet-name>
  | 
  |     <url-pattern>/TLAdmin</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>AttachMgr</servlet-name>
  | 
  |     <url-pattern>/AttachMgr</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>IAdmin</servlet-name>
  | 
  |     <url-pattern>/IAdmin</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>INAdmin</servlet-name>
  | 
  |     <url-pattern>/INAdmin</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>XSupport</servlet-name>
  | 
  |     <url-pattern>/XSupport</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>ISupport</servlet-name>
  | 
  |     <url-pattern>/ISupport</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>IReport</servlet-name>
  | 
  |     <url-pattern>/IReport</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>IKBAdmin</servlet-name>
  | 
  |     <url-pattern>/IKBAdmin</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>IKBReIndex</servlet-name>
  | 
  |     <url-pattern>/IKBReIndex</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>IKBase</servlet-name>
  | 
  |     <url-pattern>/IKBase</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>XKBase</servlet-name>
  | 
  |     <url-pattern>/XKBase</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>GCConfig</servlet-name>
  | 
  |     <url-pattern>/GCConfig</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |   
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>GCListServlet</servlet-name>
  | 
  |     <url-pattern>/GCListServlet</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |     
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>GCFormConfig</servlet-name>
  | 
  |     <url-pattern>/GCFormConfig</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <servlet-mapping>
  | 
  |     <servlet-name>GCPageConfig</servlet-name>
  | 
  |     <url-pattern>/GCPageConfig</url-pattern>
  | 
  |   </servlet-mapping>
  | 
  |  
  | 
  |   <session-config>
  | 
  |     <session-timeout>30</session-timeout>
  | 
  |   </session-config>
  | 
  |  
  | 
  | <!-- =================================================== -->
  | 
  |   <!-- welcome -->
  | 
  |   <welcome-file-list>
  | 
  |     <welcome-file>index.html</welcome-file>
  | 
  |   </welcome-file-list>
  | 
  |  
  | 
  | <!-- =================================================== -->
  | 
  |   <!-- MIME MAPPINGS -->
  | 
  |   <mime-mapping>
  | 
  |     <extension>css</extension>
  | 
  |     <mime-type>text/css</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>gif</extension>
  | 
  |     <mime-type>image/gif</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>htm</extension>
  | 
  |     <mime-type>text/html</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>html</extension>
  | 
  |     <mime-type>text/html</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>jpeg</extension>
  | 
  |     <mime-type>image/jpeg</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>jpg</extension>
  | 
  |     <mime-type>image/jpeg</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>js</extension>
  | 
  |     <mime-type>application/javascript</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>pdf</extension>
  | 
  |     <mime-type>application/pdf</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>png</extension>
  | 
  |     <mime-type>image/png</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>wml</extension>
  | 
  |     <mime-type>text/vnd.wap.wml</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>wmlc</extension>
  | 
  |     <mime-type>application/vnd.wap.wmlc</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>wmls</extension>
  | 
  |     <mime-type>text/vnd.wap.wmlscript</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>wmlsc</extension>
  | 
  |     <mime-type>application/vnd.wap.wmlscript</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <mime-mapping>
  | 
  |     <extension>xml</extension>
  | 
  |     <mime-type>text/xml</mime-type>
  | 
  |   </mime-mapping>
  | 
  |  
  | 
  |   <!-- ========= Resource references ============ -->
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/tltxdatasource</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/tldatasource</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLEJBDataSource</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLTxDS</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLAlarmDS</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLFinderDataSource</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLObjectDS</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  | 
  |   <resource-ref>
  | 
  |     <res-ref-name>jdbc/TLReportDataSource</res-ref-name>
  | 
  |     <res-type>javax.sql.DataSource</res-type>
  | 
  |     <res-auth>Container</res-auth>
  | 
  |   </resource-ref>
  |   
  |   
  |   
  |   
  |     <resource-ref>
  |   
  |       <res-ref-name>tlejbdatasource</res-ref-name>
  |   
  |       <res-type>javax.sql.DataSource</res-type>
  |   
  |       <res-auth>Container</res-auth>
  |   
  |   </resource-ref>
  | 
  |  
  |    <resource-ref>
  |  
  |      <res-ref-name>EventConnectionFactory</res-ref-name>
  |  
  |      <res-type>javax.jms.TopicConnectionFactory</res-type>
  |  
  |      <res-auth>Container</res-auth>
  |  
  |    </resource-ref>
  |    
  | 
  |  
  |  
  | 
  | <!-- ===========================================================
  | 
  |   Precompilation of JSP
  | 
  |   this only works if the jsp does not have dynamic dependencies
  | 
  |   which we have in TightLink's app.
  | 
  |  =========================================================== -->
  | 
  | <!--
  | 
  |   <context-param>
  | 
  |      <param-name>weblogic.jsp.precompile</param-name>
  | 
  |      <param-value>true</param-value>
  | 
  |   </context-param>
  | 
  | -->
  | 
  |  
  | 
  | <!-- ===========================================================
  | 
  |  User from Administrator group can login to TLCOClientAdmin
  | 
  |  =========================================================== -->
  | 
  |  <security-constraint>
  | 
  |    <web-resource-collection>
  | 
  |    <web-resource-name>TLCOClientAdmin</web-resource-name>
  | 
  |    <url-pattern>/TLCOClientAdmin</url-pattern>
  | 
  |    <url-pattern>/TLAdmin</url-pattern>
  | 
  |   </web-resource-collection>
  | 
  |   <auth-constraint>
  | 
  |    <role-name>Administrators</role-name>
  | 
  |   </auth-constraint>
  | 
  |  </security-constraint>
  | 
  |  
  | 
  |  <login-config>
  | 
  |   <auth-method>BASIC</auth-method>
  | 
  |  </login-config>
  | 
  |  
  | 
  |  <security-role>
  | 
  |   <role-name>Administrators</role-name>
  | 
  |  </security-role>
  | 
  |  
  | 
  | </web-app>
  | 

i have my sql drivers in lib folder , but still it hangs can please tell me what i can do ? please help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962184#3962184

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962184



More information about the jboss-user mailing list