[JBoss Seam] - Problems with IntervalRenderer and PhaseListener
by LudgerTheile
Hi,
I tried to build a page with a clock.
When I call the page, the clock is rendered, but after the first update after the renderer interval of 5 seconds I get a PhaseListener Exception:
|
| 10:48:02,125 INFO [ClockBean] setRenderManager
| 10:48:02,125 INFO [RenderHub] scheduled render service created:
| core pool size : 5
| 10:48:02,140 INFO [ClockBean] getServerTime
| 10:48:07,140 INFO [RenderHub] core render service created:
| core pool size : 10
| max pool size : 15
| keep alive time: 300000
| 10:48:07,140 INFO [ClockBean] getState = com.icesoft.faces.webapp.xmlhttp.PersistentFacesState@14418746[com.icesoft.faces.context.BridgeFacesContext(a)531e15]
| 10:48:07,140 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase.
| java.lang.NullPointerException
| at org.jboss.seam.util.Parameters.convertMultiValueRequestParameter(Parameters.java:48)
| at org.jboss.seam.pdf.DocumentStorePhaseListener.beforePhase(DocumentStorePhaseListener.java:32)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
| at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| 10:48:07,140 INFO [ClockBean] renderingException fatal render failure for viewNumber 1
|
|
Because i wondered why a method from org.jboss.seam.pdf.DocumentStorePhaseListener is called, I removed the jboss-seam-pdf.jar from clocktest.ear\clocktest.war\WEB-INF\lib. After this I get the following output:
|
| 10:53:59,468 INFO [ClockBean] setRenderManager
| 10:53:59,562 INFO [RenderHub] scheduled render service created:
| core pool size : 5
| 10:53:59,625 INFO [ClockBean] getServerTime
| 10:54:04,625 INFO [RenderHub] core render service created:
| core pool size : 10
| max pool size : 15
| keep alive time: 300000
| 10:54:04,640 INFO [ClockBean] getState = com.icesoft.faces.webapp.xmlhttp.PersistentFacesState@26451219[com.icesoft.faces.context.BridgeFacesContext(a)1930e5b]
| 10:54:04,640 ERROR [SeamPhaseListener] uncaught exception
| java.lang.IllegalStateException: No active application scope
| at org.jboss.seam.core.Init.instance(Init.java:78)
| at org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:22)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:49)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
| at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| 10:54:04,640 ERROR [SeamPhaseListener] swallowing exception
| java.lang.IllegalStateException: No active application scope
| at org.jboss.seam.core.Init.instance(Init.java:78)
| at org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsBeforePhase(TransactionalSeamPhaseListener.java:22)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:49)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
| at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| 10:54:04,640 ERROR [SeamPhaseListener] uncaught exception
| java.lang.IllegalStateException: No active application scope
| at org.jboss.seam.core.Init.instance(Init.java:78)
| at org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsAfterPhase(TransactionalSeamPhaseListener.java:34)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:112)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
| at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| 10:54:04,640 ERROR [SeamPhaseListener] swallowing exception
| java.lang.IllegalStateException: No active application scope
| at org.jboss.seam.core.Init.instance(Init.java:78)
| at org.jboss.seam.jsf.TransactionalSeamPhaseListener.handleTransactionsAfterPhase(TransactionalSeamPhaseListener.java:34)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:112)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
| at com.icesoft.faces.webapp.xmlhttp.PersistentFacesState.render(PersistentFacesState.java:180)
| at com.icesoft.faces.async.render.RunnableRender.run(RunnableRender.java:89)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| 10:54:04,640 INFO [ClockBean] renderingException fatal render failure for viewNumber 1
|
|
My environment: JBoss AS 4.0.5.GA, JBoss Seam 1.1.7.RC1, IceFaces 1.5.3
Below my code:
The ClockBean:
|
| import java.io.Serializable;
| import java.text.SimpleDateFormat;
| import java.util.Calendar;
|
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.Logger;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.annotations.Scope;
| import org.jboss.seam.log.Log;
|
| import com.icesoft.faces.async.render.IntervalRenderer;
| import com.icesoft.faces.async.render.RenderManager;
| import com.icesoft.faces.async.render.Renderable;
| import com.icesoft.faces.webapp.xmlhttp.PersistentFacesState;
| import com.icesoft.faces.webapp.xmlhttp.RenderingException;
|
| @Name("clock")
| @Scope(ScopeType.SESSION)
| public class ClockBean implements Renderable, Serializable {
|
| private static final long serialVersionUID = -3056813303865921418L;
|
| @Logger
| private Log log;
|
| private final int renderInterval = 5000;
|
| private PersistentFacesState state;
|
| private IntervalRenderer clock;
|
| public void setRenderManager(RenderManager renderManager) {
| log.info("setRenderManager");
| clock = renderManager.getIntervalRenderer("clock");
| clock.setInterval(renderInterval);
| clock.add(this);
| clock.requestRender();
| }
|
| public RenderManager getRenderManager() {
| return null;
| }
|
| public PersistentFacesState getState() {
| if (null == state)
| state = PersistentFacesState.getInstance();
| if (null == state)
| log.info("getState = NULL");
| else
| log.info("getState = #0", state.toString());
| return state;
| }
|
| public void renderingException(RenderingException renderingException) {
| log.info("renderingException #0", renderingException.getMessage());
| if (clock != null) {
| clock.remove(this);
| clock = null;
| }
| }
|
| public String getServerTime() {
| log.info("getServerTime");
| SimpleDateFormat currentFormat = new SimpleDateFormat(
| "dd.MM.yyyy HH:mm");
| Calendar cal = currentFormat.getCalendar();
| cal.setTimeInMillis(System.currentTimeMillis());
| return currentFormat.format(cal.getTime());
| }
|
| public void setServerTime(String serverTime) {
|
| }
| }
|
|
the home.xhtml:
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ice="http://www.icesoft.com/icefaces/component"
| xml:lang="de" lang="de">
| <head>
| <meta http-equiv="Content-Type"
| content="text/html; charset=iso-8859-1" />
| <title>Uhren test</title>
|
| </head>
|
| <body>
| <f:view>
| <div>
| <ice:outputText value="#{clock.serverTime}" />
| </div>
| </f:view>
| </body>
|
| </html>
|
|
the components.xml:
|
| <?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:drools="http://jboss.com/products/seam/drools"
| xmlns:security="http://jboss.com/products/seam/security"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
| http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.1.xsd
| http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
|
| <core:init debug="true" jndi-pattern="@jndiPattern@"/>
|
| <core:manager concurrent-request-timeout="500"
| conversation-timeout="120000"
| conversation-id-parameter="cid"
| conversation-is-long-running-parameter="clr"/>
|
| <core:pages no-conversation-view-id="/home.xhtml"/>
|
| <core:managed-persistence-context name="entityManager"
| persistence-unit-jndi-name="java:/clocktestEntityManagerFactory"/>
|
| <core:ejb installed="@embeddedEjb@"/>
|
| <component name="renderManager"
| class="com.icesoft.faces.async.render.RenderManager"
| scope="APPLICATION" />
|
| <component name="clock" scope="SESSION">
| <property name="renderManager">#{renderManager}</property>
| </component>
|
| </components>
|
|
the faces-config.xml:
|
| <?xml version='1.0' encoding='UTF-8'?>
| <!DOCTYPE faces-config PUBLIC
| "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
| "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
|
| <faces-config>
|
| <application>
| <message-bundle>messages</message-bundle>
| <view-handler>com.icesoft.faces.facelets.D2DSeamFaceletViewHandler</view-handler>
| </application>
|
| <!-- Seam transaction management -->
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
| </lifecycle>
|
| <!-- No Seam transaction management -->
| <!--
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
| </lifecycle>
| -->
|
| </faces-config>
|
|
the web.xml:
|
| <?xml version="1.0" ?>
| <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
| version="2.4">
|
| <context-param>
| <param-name>javax.faces.CONFIG_FILES</param-name>
| <param-value>/WEB-INF/navigation.xml</param-value>
| </context-param>
|
| <listener>
| <listener-class>
| org.jboss.seam.servlet.SeamListener
| </listener-class>
| </listener>
|
| <listener>
| <listener-class>
| org.apache.myfaces.webapp.StartupServletContextListener
| </listener-class>
| </listener>
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
|
| <context-param>
| <param-name>facelets.DEVELOPMENT</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
|
|
| <filter>
| <filter-name>Seam Exception Filter</filter-name>
| <filter-class>
| org.jboss.seam.servlet.SeamExceptionFilter
| </filter-class>
| </filter>
|
| <!--
| <filter>
| <filter-name>Seam Redirect Filter</filter-name>
| <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
| </filter>
| -->
|
| <filter-mapping>
| <filter-name>Seam Exception Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <!--
| <filter-mapping>
| <filter-name>Seam Redirect Filter</filter-name>
| <url-pattern>*.seam</url-pattern>
| </filter-mapping>
| -->
|
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <!--
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
| -->
| <context-param>
| <param-name>com.icesoft.faces.actionURLSuffix</param-name>
| <param-value>.seam</param-value>
| </context-param>
|
| <context-param>
| <param-name>com.icesoft.faces.synchronousUpdate</param-name>
| <param-value>true</param-value>
| </context-param>
|
| <servlet>
| <servlet-name>Blocking Servlet</servlet-name>
| <servlet-class>
| com.icesoft.faces.webapp.xmlhttp.BlockingServlet
| </servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <servlet>
| <servlet-name>Persistent Faces Servlet</servlet-name>
| <servlet-class>
| com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet
| </servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Persistent Faces Servlet</servlet-name>
| <url-pattern>/xmlhttp/*</url-pattern>
| </servlet-mapping>
|
| <servlet-mapping>
| <servlet-name>Persistent Faces Servlet</servlet-name>
| <url-pattern>/xmlhttp/*</url-pattern>
| </servlet-mapping>
|
| <servlet-mapping>
| <servlet-name>Persistent Faces Servlet</servlet-name>
| <url-pattern>*.iface</url-pattern>
| </servlet-mapping>
|
| <!-- Blocking Servlet Mapping -->
| <servlet-mapping>
| <servlet-name>Blocking Servlet</servlet-name>
| <url-pattern>/block/*</url-pattern>
| </servlet-mapping>
|
| <!-- Faces Servlet Mapping -->
| <servlet-mapping>
| <servlet-name>Persistent Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
|
| <welcome-file-list>
| <welcome-file>index.html</welcome-file>
| </welcome-file-list>
| </web-app>
|
|
Has someone an idea what's wrong?
Thanks Ludger !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022962#4022962
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022962
19Â years, 1Â month
[Installation, Configuration & Deployment] - Re: error in log file
by NehaSr
hi
i did check it bt my jar files r still nt deployed...
i m agn posting the cmd screen plz check it
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\NehaSr>cd\
C:\>cd C:\jboss-4.0.4\bin
C:\jboss-4.0.4\bin>run -d MOB_SERVER
The filename, directory name, or volume label syntax is incorrect.
JAVA_HOME is not set. Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-4.0.4\bin\\..
.
JAVA: java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
.
CLASSPATH: \lib\tools.jar;C:\jboss-4.0.4\bin\\run.jar
.
===============================================================================
.
15:45:17,020 INFO [Server] Starting JBoss (MX MicroKernel)...
15:45:17,020 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
15:45:17,035 INFO [Server] Home Dir: C:\jboss-4.0.4
15:45:17,035 INFO [Server] Home URL: file:/C:/jboss-4.0.4/
15:45:17,035 INFO [Server] Patch URL: null
15:45:17,035 INFO [Server] Server Name: default
15:45:17,035 INFO [Server] Server Home Dir: C:\jboss-4.0.4\server\default
15:45:17,035 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4/server/default
/
15:45:17,035 INFO [Server] Server Log Dir: C:\jboss-4.0.4\server\default\log
15:45:17,035 INFO [Server] Server Temp Dir: C:\jboss-4.0.4\server\default\tmp
15:45:17,035 INFO [Server] Root Deployment Filename: jboss-service.xml
15:45:17,378 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
15:45:17,378 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Su
n Microsystems Inc.
15:45:17,394 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:45:17,845 INFO [Server] Core system initialized
15:45:19,713 INFO [WebService] Using RMI server codebase: http://isljbhp06c1:80
83/
15:45:19,744 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
15:45:20,087 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.
0:1122, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
s.net.sockets.DefaultSocketFactory
15:45:23,153 INFO [Embedded] Catalina naming disabled
15:45:23,200 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,200 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,496 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
15:45:23,496 INFO [Catalina] Initialization processed in 280 ms
15:45:23,496 INFO [StandardService] Starting service jboss.web
15:45:23,496 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1
7
15:45:23,558 INFO [StandardHost] XML validation disabled
15:45:23,589 INFO [Catalina] Server startup in 93 ms
15:45:23,698 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
15:45:24,009 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
15:45:24,570 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
15:45:25,270 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp47168jbossws-exp.war/
15:45:25,457 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDi
spatcher
15:45:25,628 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:45:27,496 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
15:45:28,477 INFO [MailService] Mail Service bound to java:/Mail
15:45:28,711 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
15:45:28,757 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:45:28,804 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
15:45:28,851 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
15:45:28,913 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
15:45:28,960 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
15:45:29,956 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:45:30,205 INFO [A] Bound to JNDI name: queue/A
15:45:30,205 INFO [B] Bound to JNDI name: queue/B
15:45:30,205 INFO [C] Bound to JNDI name: queue/C
15:45:30,205 INFO [D] Bound to JNDI name: queue/D
15:45:30,205 INFO [ex] Bound to JNDI name: queue/ex
15:45:30,221 INFO [testTopic] Bound to JNDI name: topic/testTopic
15:45:30,221 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
15:45:30,236 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
15:45:30,236 INFO [testQueue] Bound to JNDI name: queue/testQueue
15:45:30,283 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
15:45:30,314 INFO [DLQ] Bound to JNDI name: queue/DLQ
15:45:30,470 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:45:30,516 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
15:45:30,906 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
15:45:31,015 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
15:45:31,030 INFO [JkMain] Jk running ID=0 time=0/62 config=null
15:45:31,046 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
s_4_0_4_GA date=200605151000)] Started in 14s:11ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022957#4022957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022957
19Â years, 1Â month
[Installation, Configuration & Deployment] - Re: error in log file
by NehaSr
hi
i did check it bt my jar files r still nt deployed...
i m agn posting the cmd screen plz check it
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\NehaSr>cd\
C:\>cd C:\jboss-4.0.4\bin
C:\jboss-4.0.4\bin>run -d MOB_SERVER
The filename, directory name, or volume label syntax is incorrect.
JAVA_HOME is not set. Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-4.0.4\bin\\..
.
JAVA: java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
.
CLASSPATH: \lib\tools.jar;C:\jboss-4.0.4\bin\\run.jar
.
===============================================================================
.
15:45:17,020 INFO [Server] Starting JBoss (MX MicroKernel)...
15:45:17,020 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
15:45:17,035 INFO [Server] Home Dir: C:\jboss-4.0.4
15:45:17,035 INFO [Server] Home URL: file:/C:/jboss-4.0.4/
15:45:17,035 INFO [Server] Patch URL: null
15:45:17,035 INFO [Server] Server Name: default
15:45:17,035 INFO [Server] Server Home Dir: C:\jboss-4.0.4\server\default
15:45:17,035 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4/server/default
/
15:45:17,035 INFO [Server] Server Log Dir: C:\jboss-4.0.4\server\default\log
15:45:17,035 INFO [Server] Server Temp Dir: C:\jboss-4.0.4\server\default\tmp
15:45:17,035 INFO [Server] Root Deployment Filename: jboss-service.xml
15:45:17,378 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
15:45:17,378 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0-b64,Su
n Microsystems Inc.
15:45:17,394 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:45:17,845 INFO [Server] Core system initialized
15:45:19,713 INFO [WebService] Using RMI server codebase: http://isljbhp06c1:80
83/
15:45:19,744 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
15:45:20,087 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.
0:1122, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
s.net.sockets.DefaultSocketFactory
15:45:23,153 INFO [Embedded] Catalina naming disabled
15:45:23,200 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,200 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
15:45:23,496 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
15:45:23,496 INFO [Catalina] Initialization processed in 280 ms
15:45:23,496 INFO [StandardService] Starting service jboss.web
15:45:23,496 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1
7
15:45:23,558 INFO [StandardHost] XML validation disabled
15:45:23,589 INFO [Catalina] Server startup in 93 ms
15:45:23,698 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
15:45:24,009 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
15:45:24,570 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
15:45:25,270 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp47168jbossws-exp.war/
15:45:25,457 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDi
spatcher
15:45:25,628 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
15:45:27,496 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
15:45:28,477 INFO [MailService] Mail Service bound to java:/Mail
15:45:28,711 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
15:45:28,757 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
15:45:28,804 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
15:45:28,851 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
15:45:28,913 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
15:45:28,960 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
15:45:29,956 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
15:45:30,205 INFO [A] Bound to JNDI name: queue/A
15:45:30,205 INFO [B] Bound to JNDI name: queue/B
15:45:30,205 INFO [C] Bound to JNDI name: queue/C
15:45:30,205 INFO [D] Bound to JNDI name: queue/D
15:45:30,205 INFO [ex] Bound to JNDI name: queue/ex
15:45:30,221 INFO [testTopic] Bound to JNDI name: topic/testTopic
15:45:30,221 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
15:45:30,236 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
15:45:30,236 INFO [testQueue] Bound to JNDI name: queue/testQueue
15:45:30,283 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
15:45:30,314 INFO [DLQ] Bound to JNDI name: queue/DLQ
15:45:30,470 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
15:45:30,516 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
15:45:30,906 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
15:45:31,015 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
15:45:31,030 INFO [JkMain] Jk running ID=0 time=0/62 config=null
15:45:31,046 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
s_4_0_4_GA date=200605151000)] Started in 14s:11ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022956#4022956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022956
19Â years, 1Â month