I have a problem with log4j and Jboss 3.2.3.
When I run Jboss with my web application copied in the deploy folder, jboss starting is ok, but when it deploys my web application, nothing any more is displayed afterwards in the stdout.
I try to delete
<init-param>
<param-name>log4j.configuration</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</init-param>
in the web.xml file of my web application
but then I have a problem with the resource bundle : the keys are not translated any more !! ??? I don't understand why !
Can somebody explain me why the stdout does not display more anything
after having deployed my application?
Thanks in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
.....
.....
15:27:37,671 INFO [HTTPServerILService] Started jboss.mq:service=InvocationLayer,type=HTTP
15:27:37,671 INFO [JVMServerILService] Started jboss.mq:service=InvocationLayer,type=JVM
15:27:37,687 INFO [OILServerILService] JBossMQ OIL service available at : /0.0.0.0:8090
15:27:37,718 INFO [OILServerILService] Started jboss.mq:service=InvocationLayer,type=OIL
15:27:37,734 INFO [OIL2ServerILService] JBossMQ OIL2 service available at : /0.0.0.0:8092
15:27:37,750 INFO [OIL2ServerILService] Started jboss.mq:service=InvocationLayer,type=OIL2
15:27:37,796 INFO [RMIServerILService] Started jboss.mq:service=InvocationLayer,type=RMI
15:27:37,796 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
15:27:37,843 INFO [UILServerILService] Started jboss.mq:service=InvocationLayer,type=UIL2
15:27:37,843 INFO [DLQ] Bound to JNDI name: queue/DLQ
15:27:37,843 INFO [DLQ] Started jboss.mq.destination:service=Queue,name=DLQ
15:27:37,859 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@1712193
15:27:37,859 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@537935
15:27:37,859 INFO [JaasSecurityManagerService] Added JmsXARealm, org.jboss.security.plugins.SecurityDomainContext@3aa791 to map
15:27:37,859 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
15:27:37,859 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=JmsXA
15:27:37,859 INFO [NukesDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=NukesDS to JNDI name 'java:/NukesDS'
15:27:37,859 INFO [TxConnectionManager] Started jboss.jca:service=LocalTxCM,name=NukesDS
15:27:37,875 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/transaction-service.xml
15:27:37,875 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/user-service.xml
15:27:37,890 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/user-service.xml
15:27:37,906 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/iReport.jar
15:27:38,109 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/iReport.jar
15:27:38,140 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4-applet.jar
15:27:38,171 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4-applet.jar
15:27:38,187 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4.jar
15:27:38,265 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4.jar
15:27:38,281 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jdt-compiler.jar
15:27:38,375 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jdt-compiler.jar
15:27:38,406 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/mysql-connector-java-3.0.11-stable-bin.jar
15:27:38,437 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/mysql-connector-java-3.0.11-stable-bin.jar
15:27:38,437 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/achats.war
15:27:42,515 INFO [EmbeddedTomcatService] deploy, ctxPath=/achats, warUrl=file:/C:/Jboss-3.2.3/server/default/tmp/deploy/tmp46488achats.war/
15:27:44,890 INFO [Engine] SingleSignOnContextConfig[/achats]: Ajout de certificats -> requte Attribut de Valve (attribute Valve)
15:27:44,906 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@6014f7
15:27:44,906 INFO [Engine] StandardManager[/achats]: Alimentation de la classe du gnrateur de nombre alatoire java.security.SecureRandom
15:27:44,906 INFO [Engine] StandardManager[/achats]: L'alimentation du gnrateur de nombre alatoire est termin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi !!
I have a problem with log4j and Jboss 3.2.3.
When I run Jboss with my web application copied in the deploy folder, jboss starting is ok, but when it deploys my web application, nothing any more is displayed afterwards in the stdout.
I try to delete
<init-param>
<param-name>log4j.configuration</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</init-param>
in the web.xml file of my web application
but then I have a problem with the resource bundle : the keys are not translated any more !! ??? I don't understand why !
Can somebody explain me why the stdout does not display more anything
after having deployed my application?
Thanks in advance
Here my file web.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<!--=========== DbForms Configuration Servlet ===========-->
<servlet>
<servlet-name>config</servlet-name>
<servlet-class>org.dbforms.servlets.ConfigServlet</servlet-class>
<init-param>
<param-name>log4j.configuration</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</init-param>
<init-param>
<param-name>digesterDebugLevel</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>resourceBundle</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>validation</param-name>
<param-value>/WEB-INF/validation.xml</param-value>
</init-param>
<init-param>
<param-name>validator-rules</param-name>
<param-value>/WEB-INF/validator-rules.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<!--=========== DbForms Controller Servlet ==============-->
<servlet>
<servlet-name>control</servlet-name>
<servlet-class>org.dbforms.servlets.Controller</servlet-class>
<init-param>
<param-name>maxUploadSize</param-name>
<param-value>80000</param-value>
</init-param>
</servlet>
.....
And what is posted on the stdout :
.....
.....
15:27:37,671 INFO [HTTPServerILService] Started jboss.mq:service=InvocationLayer,type=HTTP
15:27:37,671 INFO [JVMServerILService] Started jboss.mq:service=InvocationLayer,type=JVM
15:27:37,687 INFO [OILServerILService] JBossMQ OIL service available at : /0.0.0.0:8090
15:27:37,718 INFO [OILServerILService] Started jboss.mq:service=InvocationLayer,type=OIL
15:27:37,734 INFO [OIL2ServerILService] JBossMQ OIL2 service available at : /0.0.0.0:8092
15:27:37,750 INFO [OIL2ServerILService] Started jboss.mq:service=InvocationLayer,type=OIL2
15:27:37,796 INFO [RMIServerILService] Started jboss.mq:service=InvocationLayer,type=RMI
15:27:37,796 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
15:27:37,843 INFO [UILServerILService] Started jboss.mq:service=InvocationLayer,type=UIL2
15:27:37,843 INFO [DLQ] Bound to JNDI name: queue/DLQ
15:27:37,843 INFO [DLQ] Started jboss.mq.destination:service=Queue,name=DLQ
15:27:37,859 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@1712193
15:27:37,859 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@537935
15:27:37,859 INFO [JaasSecurityManagerService] Added JmsXARealm, org.jboss.security.plugins.SecurityDomainContext@3aa791 to map
15:27:37,859 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA'
15:27:37,859 INFO [TxConnectionManager] Started jboss.jca:service=TxCM,name=JmsXA
15:27:37,859 INFO [NukesDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=NukesDS to JNDI name 'java:/NukesDS'
15:27:37,859 INFO [TxConnectionManager] Started jboss.jca:service=LocalTxCM,name=NukesDS
15:27:37,875 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/transaction-service.xml
15:27:37,875 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/user-service.xml
15:27:37,890 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/user-service.xml
15:27:37,906 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/iReport.jar
15:27:38,109 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/iReport.jar
15:27:38,140 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4-applet.jar
15:27:38,171 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4-applet.jar
15:27:38,187 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4.jar
15:27:38,265 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jasperreports-0.6.4.jar
15:27:38,281 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/jdt-compiler.jar
15:27:38,375 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/jdt-compiler.jar
15:27:38,406 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/mysql-connector-java-3.0.11-stable-bin.jar
15:27:38,437 INFO [MainDeployer] Deployed package: file:/C:/Jboss-3.2.3/server/default/deploy/mysql-connector-java-3.0.11-stable-bin.jar
15:27:38,437 INFO [MainDeployer] Starting deployment of package: file:/C:/Jboss-3.2.3/server/default/deploy/achats.war
15:27:42,515 INFO [EmbeddedTomcatService] deploy, ctxPath=/achats, warUrl=file:/C:/Jboss-3.2.3/server/default/tmp/deploy/tmp46488achats.war/
15:27:44,890 INFO [Engine] SingleSignOnContextConfig[/achats]: Ajout de certificats -> requte Attribut de Valve (attribute Valve)
15:27:44,906 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@6014f7
15:27:44,906 INFO [Engine] StandardManager[/achats]: Alimentation de la classe du gnrateur de nombre alatoire java.security.SecureRandom
15:27:44,906 INFO [Engine] StandardManager[/achats]: L'alimentation du gnrateur de nombre alatoire est termin
No idea. I'am not using jboss. Only change i see is to try to debug what's happening. Or change the web container :-).
Cheers,
Henner