[Beginners Corner] - Re: problem starting server when using my .war
by kdr
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
18 years, 5 months
[Installation, Configuration & Deployment] - Re: javax.naming.NameNotFoundException
by ccc7919
I cant's show all codes because it is too many.
I just grabed some parts for you as below:
In rpc.jar
| META-INF/ejb-jar.xml
| META-INF/jboss.xml
| .
| .
| .
|
| rpc/services/promotion/interfaces/PromotionLocal.class
| rpc/services/promotion/interfaces/PromotionLocalHome.class
|
Some parts in ejb-jar.xml
| <session >
| <description><![CDATA[]]></description>
| <ejb-name>Promotion</ejb-name>
| <local-home>rpc.services.promotion.interfaces.PromotionLocalHome</local-home>
| <local>rpc.services.promotion.interfaces.PromotionLocal</local>
| <ejb-class>rpc.services.promotion.ejb.PromotionSession</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| <ejb-local-ref >
| .
| .
| .
| </ejb-local-ref>
| </session >
|
some part in jboss.xml
| <session>
| <ejb-name>Promotion</ejb-name>
| <local-jndi-name>PromotionLocal</local-jndi-name>
| <resource-ref>
| .
| .
| .
| </resource-ref>
| </session>
|
some parts in web-xml
| <web-app>
| <ejb-local-ref >
| <ejb-ref-name>ejb/PromotionLocal</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <local-home>rpc.services.promotion.interfaces.PromotionLocalHome</local-home>
| <local>rpc.services.promotion.interfaces.PromotionLocal</local>
| <ejb-link>Promotion</ejb-link>
| </ejb-local-ref>
| </web-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962183#3962183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962183
18 years, 5 months
[JBoss Seam] - Problem with session and SFSB timeouts
by JXerXes
hello everyone!
i have a problem with session timeouts.
i'm using jboss 4.0.4GA, seam 1.0.0GA and myfaces
libs 1.1.3 and JAAS for URL based security.
i have some SFSBs which have an idle timeout that is
longer than the http session. i used the @CacheConfig
annotation because there were problems when the SFSBs
timed out before the session timed out. now when the
session is over and the user clicks on a link or
button on a page the jaas login screen appears. but
when he logs in again he is not directed to the main
menu but to the page he requested before. all the data
of the expired session is still present and even when
another login is used the data is still there. this
happens only if there's a logout because of idle time,
when the logout link is used (which triggers the
seam.invalidateSession() method) everything's fine.
it seems that the session scoped components don't
die with the session, don't they depend directly on the
http session? how could i manage that?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962181#3962181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962181
18 years, 5 months