[Clustering/JBoss] - Re: Problem with datasources, they start, but my apps cannot
by sebastianlacuesta
Well, in the "default" config it seems that JMS uses the hypersonic db, and I read everywhere that this is a bad idea in a production environment (I couldn't find why), so I changed the DefaultDS to use mysql locally, and then I changed the DataSourceBinding at mysql-jdbc2-service.xml to use it, I deleted a hsqldb-jdbc2-service.xml at deploy/jms and/or deploy-hasingleton/jms but a hsqldb-jdbc-state-service.xml exists. I use a custom configuration named "pok" that started as a copy of the "all" configuration, I didn't remove any component, just changed some datasources, and added other datasources. The reason to use the "all" configuration is that I need JBossCache. I'll post the output of two servers, and the stack trace of the exception.
The startup of the first server is:
[root@c1 bin]# su jboss -c "./run.sh -cpok -b192.168.2.2"
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss-4.0.5.GA
JAVA: /usr/java/jdk1.5.0_10/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/java/jdk1.5.0_10/lib/tools.jar
=========================================================================
22:09:37,701 INFO [Server] Starting JBoss (MX MicroKernel)...
22:09:37,702 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
22:09:37,704 INFO [Server] Home Dir: /usr/local/jboss-4.0.5.GA
22:09:37,704 INFO [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
22:09:37,705 INFO [Server] Patch URL: null
22:09:37,705 INFO [Server] Server Name: pok
22:09:37,705 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.5.GA/server/pok
22:09:37,706 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.5.GA/server/pok/
22:09:37,706 INFO [Server] Server Log Dir: /usr/local/jboss-4.0.5.GA/server/pok/log
22:09:37,706 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.5.GA/server/pok/tmp
22:09:37,707 INFO [Server] Root Deployment Filename: jboss-service.xml
22:09:38,048 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
22:09:38,048 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_10-b03,Sun Microsystems Inc.
22:09:38,049 INFO [ServerInfo] OS-System: Linux 2.6.9-42.0.8.ELsmp,amd64
22:09:38,672 INFO [Server] Core system initialized
22:09:42,109 INFO [WebService] Using RMI server codebase: http://192.168.2.2:8083/
22:09:42,135 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
22:09:48,611 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
22:09:49,643 INFO [SnmpAgentService] SNMP agent going active
22:09:50,382 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
22:09:50,767 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.2.2:32937
-------------------------------------------------------
22:09:52,792 INFO [TreeCache] viewAccepted(): [192.168.2.2:32937|0] [192.168.2.2:32937]
22:09:52,797 INFO [TreeCache] TreeCache local address is 192.168.2.2:32937
22:09:52,806 INFO [TreeCache] State could not be retrieved (we are the first member in group)
22:09:52,806 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
22:09:53,097 INFO [DefaultPartition] Initializing
22:09:53,282 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.2.2:32940 (additional data: 16 bytes)
-------------------------------------------------------
22:09:55,290 INFO [DefaultPartition] Number of cluster members: 1
22:09:55,290 INFO [DefaultPartition] Other members: 0
22:09:55,291 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
22:09:55,293 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)
22:09:55,326 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/192.168.2.2
22:09:55,333 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /192.168.2.2:1102, group=230.0.0.4, HA-JNDI address=192.168.2.2:1100
22:09:56,817 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E4000102000000000C3139322E3136382E322E32000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:09:56,900 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E4000102000000000C3139322E3136382E322E32000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005C000000000000000100000000000000240000001C0000007E00000000000000010000000A3132372E302E302E31000DC900400000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:09:57,735 INFO [Embedded] Catalina naming disabled
22:09:57,797 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:09:57,799 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:09:58,629 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-192.168.2.2-8080
22:09:58,631 INFO [Catalina] Initialization processed in 832 ms
22:09:58,631 INFO [StandardService] Starting service jboss.web
22:09:58,635 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
22:09:58,886 INFO [StandardHost] XML validation disabled
22:09:58,914 INFO [Catalina] Server startup in 283 ms
22:09:59,569 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
22:09:59,851 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
22:10:00,715 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
22:10:01,181 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp27918jbossws-context-exp.war/
22:10:01,448 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
22:10:01,782 INFO [RegistryServlet] Loading jUDDI configuration.
22:10:01,784 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
22:10:01,784 INFO [RegistryServlet] Initializing jUDDI components.
22:10:02,315 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
22:10:03,033 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
22:10:03,806 INFO [MailService] Mail Service bound to java:/Mail
22:10:04,342 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
22:10:04,444 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
22:10:04,468 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
22:10:04,530 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
22:10:04,585 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
22:10:04,612 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
22:10:05,228 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
22:10:05,453 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
22:10:06,067 INFO [A] Bound to JNDI name: queue/A
22:10:06,073 INFO [B] Bound to JNDI name: queue/B
22:10:06,083 INFO [C] Bound to JNDI name: queue/C
22:10:06,087 INFO [D] Bound to JNDI name: queue/D
22:10:06,089 INFO [ex] Bound to JNDI name: queue/ex
22:10:06,133 INFO [testTopic] Bound to JNDI name: topic/testTopic
22:10:06,136 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
22:10:06,138 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic22:10:06,143 INFO [testQueue] Bound to JNDI name: queue/testQueue
22:10:06,195 INFO [UILServerILService] JBossMQ UIL service available at : /192.168.2.2:8093
22:10:06,283 INFO [DLQ] Bound to JNDI name: queue/DLQ
22:10:06,427 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PokUpdateDS' to JNDI name 'java:PokUpdateDS'
22:10:06,612 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PokQueryDS' to JNDI name 'java:PokQueryDS'
22:10:06,766 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
22:10:06,943 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/deploy/POKSessionEAR.ear
22:10:07,277 INFO [EjbModule] Deploying Process
22:10:07,357 INFO [EjbModule] Deploying SessionServer
22:10:07,536 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Process' to jndi 'ProcessLocal'
22:10:07,552 INFO [ProxyFactory] Bound EJB Home 'Process' to jndi 'Process'
22:10:07,728 WARN [JMSContainerInvoker] destination not found: queue/SessionServer reason: javax.naming.NameNotFoundException: queue/SessionServer
22:10:07,728 WARN [JMSContainerInvoker] creating a new temporary destination: queue/SessionServer
22:10:07,776 INFO [SessionServer] Bound to JNDI name: queue/SessionServer
22:10:07,908 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.5.GA/server/pok/tmp/deploy/tmp27962POKSessionEAR.ear-contents/POKSessionServer.jar
22:10:07,958 INFO [TomcatDeployer] deploy, ctxPath=/POKSessionClient, warUrl=.../tmp/deploy/tmp27962POKSessionEAR.ear-contents/POKSessionClient-exp.war/
22:10:08,367 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/deploy/POKSessionEAR.ear
22:10:08,431 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/farm/POKSystemEAR.ear
22:10:09,440 INFO [EjbModule] Deploying CPOKPromo
22:10:09,449 INFO [EjbModule] Deploying CPOKBlog
22:10:09,459 INFO [EjbModule] Deploying CPOKTv
22:10:09,466 INFO [EjbModule] Deploying CPOKAux
22:10:09,474 INFO [EjbModule] Deploying CPOKFavorite
22:10:09,483 INFO [EjbModule] Deploying CPOKWEBBlog
22:10:09,491 INFO [EjbModule] Deploying CPOKWEBFavorite
22:10:09,502 INFO [EjbModule] Deploying CPOKBanner
22:10:09,519 INFO [EjbModule] Deploying CPOKMessenger
22:10:09,527 INFO [EjbModule] Deploying CPOKPrivacy
22:10:09,535 INFO [EjbModule] Deploying CPOKMail
22:10:09,542 INFO [EjbModule] Deploying CPOKProfile
22:10:09,549 INFO [EjbModule] Deploying CPOKWEBAux
22:10:09,557 INFO [EjbModule] Deploying CPOKWhoPok
22:10:09,567 INFO [EjbModule] Deploying CPOKWEB
22:10:09,575 INFO [EjbModule] Deploying CPOK
22:10:09,583 INFO [EjbModule] Deploying CPOKFree
22:10:09,610 INFO [EjbModule] Deploying CPOKMM
22:10:09,620 INFO [EjbModule] Deploying TempPOKName
22:10:09,627 INFO [EjbModule] Deploying CPOKSubscription
22:10:09,634 INFO [EjbModule] Deploying CPOKCircle
22:10:09,670 INFO [EjbModule] Deploying CPOKVideo
22:10:09,677 INFO [EjbModule] Deploying CPOKWEBWhoPok
22:10:09,685 INFO [EjbModule] Deploying ActiveSessions
22:10:09,692 INFO [EjbModule] Deploying CPOKWEBCircle
22:10:10,290 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKPromo' to jndi 'CPOKPromoLocal'
22:10:10,298 INFO [ProxyFactory] Bound EJB Home 'CPOKPromo' to jndi 'CPOKPromo'22:10:10,306 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKBlog' to jndi 'CPOKBlogLocal'
22:10:10,316 INFO [ProxyFactory] Bound EJB Home 'CPOKBlog' to jndi 'CPOKBlog'
22:10:10,324 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKTv' to jndi 'CPOKTvLocal'
22:10:10,349 INFO [ProxyFactory] Bound EJB Home 'CPOKTv' to jndi 'CPOKTv'
22:10:10,357 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKAux' to jndi 'CPOKAuxLocal'
22:10:10,366 INFO [ProxyFactory] Bound EJB Home 'CPOKAux' to jndi 'CPOKAux'
22:10:10,378 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKFavorite' to jndi 'CPOKFavoriteLocal'
22:10:10,388 INFO [ProxyFactory] Bound EJB Home 'CPOKFavorite' to jndi 'CPOKFavorite'
22:10:10,397 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBBlog' to jndi 'CPOKWEBBlogLocal'
22:10:10,408 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBBlog' to jndi 'CPOKWEBBlog'
22:10:10,416 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBFavorite' to jndi 'CPOKWEBFavoriteLocal'
22:10:10,425 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBFavorite' to jndi 'CPOKWEBFavorite'
22:10:10,435 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKBanner' to jndi 'CPOKBannerLocal'
22:10:10,447 INFO [ProxyFactory] Bound EJB Home 'CPOKBanner' to jndi 'CPOKBanner'
22:10:10,455 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMessenger' to jndi 'CPOKMessengerLocal'
22:10:10,467 INFO [ProxyFactory] Bound EJB Home 'CPOKMessenger' to jndi 'CPOKMessenger'
22:10:10,475 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKPrivacy' to jndi 'CPOKPrivacyLocal'
22:10:10,483 INFO [ProxyFactory] Bound EJB Home 'CPOKPrivacy' to jndi 'CPOKPrivacy'
22:10:10,491 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMail' to jndi 'CPOKMailLocal'
22:10:10,504 INFO [ProxyFactory] Bound EJB Home 'CPOKMail' to jndi 'CPOKMail'
22:10:10,512 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKProfile' to jndi 'CPOKProfileLocal'
22:10:10,520 INFO [ProxyFactory] Bound EJB Home 'CPOKProfile' to jndi 'CPOKProfile'
22:10:10,528 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBAux' to jndi 'CPOKWEBAuxLocal'
22:10:10,536 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBAux' to jndi 'CPOKWEBAux'
22:10:10,544 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWhoPok' to jndi 'CPOKWhoPokLocal'
22:10:10,552 INFO [ProxyFactory] Bound EJB Home 'CPOKWhoPok' to jndi 'CPOKWhoPok'
22:10:10,561 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEB' to jndi 'CPOKWEBLocal'
22:10:10,571 INFO [ProxyFactory] Bound EJB Home 'CPOKWEB' to jndi 'CPOKWEB'
22:10:10,582 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOK' to jndi 'CPOKLocal'
22:10:10,591 INFO [ProxyFactory] Bound EJB Home 'CPOK' to jndi 'CPOK'
22:10:10,599 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKFree' to jndi 'CPOKFreeLocal'
22:10:10,609 INFO [ProxyFactory] Bound EJB Home 'CPOKFree' to jndi 'CPOKFree'
22:10:10,616 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMM' to jndi 'CPOKMMLocal'
22:10:10,626 INFO [ProxyFactory] Bound EJB Home 'CPOKMM' to jndi 'CPOKMM'
22:10:10,634 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TempPOKName' to jndi 'TempPOKNameLocal'
22:10:10,643 INFO [ProxyFactory] Bound EJB Home 'TempPOKName' to jndi 'TempPOKName'
22:10:10,651 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKSubscription' to jndi 'CPOKSubscriptionLocal'
22:10:10,658 INFO [ProxyFactory] Bound EJB Home 'CPOKSubscription' to jndi 'CPOKSubscription'
22:10:10,666 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKCircle' to jndi 'CPOKCircleLocal'
22:10:10,676 INFO [ProxyFactory] Bound EJB Home 'CPOKCircle' to jndi 'CPOKCircle'
22:10:10,684 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKVideo' to jndi 'CPOKVideoLocal'
22:10:10,695 INFO [ProxyFactory] Bound EJB Home 'CPOKVideo' to jndi 'CPOKVideo'22:10:10,703 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBWhoPok' to jndi 'CPOKWEBWhoPokLocal'
22:10:10,711 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBWhoPok' to jndi 'CPOKWEBWhoPok'
22:10:10,719 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'ActiveSessions' to jndi 'ActiveSessionsLocal'
22:10:10,728 INFO [ProxyFactory] Bound EJB Home 'ActiveSessions' to jndi 'ActiveSessions'
22:10:10,736 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBCircle' to jndi 'CPOKWEBCircleLocal'
22:10:10,744 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBCircle' to jndi 'CPOKWEBCircle'
22:10:10,746 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.5.GA/server/pok/tmp/deploy/tmp27966POKSystemEAR.ear-contents/POKBeans.jar
22:10:10,942 INFO [TomcatDeployer] deploy, ctxPath=/POKPresentation, warUrl=.../tmp/deploy/tmp27966POKSystemEAR.ear-contents/POKPresentation-exp.war/
22:10:11,051 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/farm/POKSystemEAR.ear
22:10:11,160 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-192.168.2.2-8080
22:10:11,350 INFO [ChannelSocket] JK: ajp13 listening on /192.168.2.2:8009
22:10:11,362 INFO [JkMain] Jk running ID=0 time=0/33 config=null
22:10:11,373 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 33s:664ms
The startup of the second server is:
[root@c2 bin]# su jboss -c "./run.sh -b192.168.2.3 -cpok"
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/local/jboss-4.0.5.GA
JAVA: java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: /usr/local/jboss-4.0.5.GA/bin/run.jar:/lib/tools.jar
=========================================================================
22:05:33,160 INFO [Server] Starting JBoss (MX MicroKernel)...
22:05:33,161 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
22:05:33,163 INFO [Server] Home Dir: /usr/local/jboss-4.0.5.GA
22:05:33,163 INFO [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
22:05:33,164 INFO [Server] Patch URL: null
22:05:33,164 INFO [Server] Server Name: pok
22:05:33,164 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.5.GA/server/pok
22:05:33,165 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.5.GA/server/pok/
22:05:33,165 INFO [Server] Server Log Dir: /usr/local/jboss-4.0.5.GA/server/pok/log
22:05:33,165 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.5.GA/server/pok/tmp
22:05:33,166 INFO [Server] Root Deployment Filename: jboss-service.xml
22:05:33,509 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc.
22:05:33,509 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_10-b03,Sun Microsystems Inc.
22:05:33,509 INFO [ServerInfo] OS-System: Linux 2.6.9-42.0.3.ELsmp,amd64
22:05:34,126 INFO [Server] Core system initialized
22:05:37,468 INFO [WebService] Using RMI server codebase: http://192.168.2.3:8083/
22:05:37,495 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
22:05:42,928 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
22:05:44,290 INFO [SnmpAgentService] SNMP agent going active
22:05:44,896 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
22:05:45,301 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.2.3:34943
-------------------------------------------------------
22:05:47,522 INFO [TreeCache] TreeCache local address is 192.168.2.3:34943
22:05:47,799 INFO [TreeCache] viewAccepted(): [192.168.2.2:32937|1] [192.168.2.2:32937, 192.168.2.3:34943]
22:05:47,810 INFO [TreeCache] received the state (size=1024 bytes)
22:05:47,825 INFO [TreeCache] state was retrieved successfully (in 303 milliseconds)
22:05:47,825 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty
22:05:48,191 INFO [DefaultPartition] Initializing
22:05:48,374 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.2.3:34946 (additional data: 16 bytes)
-------------------------------------------------------
22:05:50,385 INFO [DefaultPartition] Number of cluster members: 2
22:05:50,386 INFO [DefaultPartition] Other members: 1
22:05:50,386 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
22:05:50,386 INFO [DefaultPartition] New cluster view for partition DefaultPartition: 1 ([192.168.2.2:1099, 192.168.2.3:1099] delta: 0)
22:05:50,457 INFO [DefaultPartition] state was retrieved successfully (in 71 milliseconds)
22:05:50,470 INFO [DefaultPartition] I am (192.168.2.3:1099) received membershipChanged event:
22:05:50,470 INFO [DefaultPartition] Dead members: 0 ([])
22:05:50,470 INFO [DefaultPartition] New Members : 0 ([])
22:05:50,470 INFO [DefaultPartition] All Members : 2 ([192.168.2.2:1099, 192.168.2.3:1099])
22:05:50,534 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/192.168.2.3
22:05:50,542 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /192.168.2.3:1102, group=230.0.0.4, HA-JNDI address=192.168.2.3:1100
22:05:53,424 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000EC000102000000000C3139322E3136382E322E33000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006400000000000000010000000000000024000000220000007E0000000000000001000000103230352E3137382E3138392E313331000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:05:53,547 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000EC000102000000000C3139322E3136382E322E33000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006400000000000000010000000000000024000000220000007E0000000000000001000000103230352E3137382E3138392E313331000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
22:05:54,335 INFO [Embedded] Catalina naming disabled
22:05:54,386 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:05:54,388 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
22:05:54,911 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-192.168.2.3-8080
22:05:54,913 INFO [Catalina] Initialization processed in 426 ms
22:05:54,914 INFO [StandardService] Starting service jboss.web
22:05:54,968 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
22:05:55,203 INFO [StandardHost] XML validation disabled
22:05:55,228 INFO [Catalina] Server startup in 315 ms
22:05:55,396 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/
22:05:55,674 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
22:05:56,123 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
22:05:57,172 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp23268jbossws-context-exp.war/
22:05:58,058 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddiws.war/
22:05:58,185 INFO [RegistryServlet] Loading jUDDI configuration.
22:05:58,186 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
22:05:58,187 INFO [RegistryServlet] Initializing jUDDI components.
22:05:59,239 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
22:05:59,951 INFO [MailService] Mail Service bound to java:/Mail
22:06:00,105 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
22:06:00,192 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
22:06:00,217 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
22:06:00,244 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
22:06:00,303 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
22:06:00,331 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
22:06:01,048 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
22:06:01,993 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
22:06:02,675 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PokUpdateDS' to JNDI name 'java:PokUpdateDS'
22:06:02,806 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PokQueryDS' to JNDI name 'java:PokQueryDS'
22:06:02,929 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
22:06:03,116 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/deploy/POKSessionEAR.ear
22:06:03,558 INFO [EjbModule] Deploying Process
22:06:03,631 INFO [EjbModule] Deploying SessionServer
22:06:03,756 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'Process' to jndi 'ProcessLocal'
22:06:03,770 INFO [ProxyFactory] Bound EJB Home 'Process' to jndi 'Process'
22:06:04,204 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.5.GA/server/pok/tmp/deploy/tmp23307POKSessionEAR.ear-contents/POKSessionServer.jar
22:06:04,268 INFO [TomcatDeployer] deploy, ctxPath=/POKSessionClient, warUrl=.../tmp/deploy/tmp23307POKSessionEAR.ear-contents/POKSessionClient-exp.war/
22:06:04,465 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/deploy/POKSessionEAR.ear
22:06:04,556 INFO [FarmMemberService] **** pullNewDeployments ****
22:06:04,557 INFO [ClusterFileTransfer] Start pull of file cluster-examples-service.xml from cluster.
22:06:04,582 INFO [ClusterFileTransfer] Finished cluster pull of file cluster-examples-service.xml to cluster-examples-service.xml
22:06:04,582 INFO [ClusterFileTransfer] Start pull of file POKSystemEAR.ear from cluster.
22:06:04,631 INFO [ClusterFileTransfer] Finished cluster pull of file POKSystemEAR.ear to POKSystemEAR.ear
22:06:04,646 INFO [EARDeployer] Init J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/farm/POKSystemEAR.ear
22:06:05,200 INFO [EjbModule] Deploying CPOKPromo
22:06:05,208 INFO [EjbModule] Deploying CPOKBlog
22:06:05,215 INFO [EjbModule] Deploying CPOKTv
22:06:05,236 INFO [EjbModule] Deploying CPOKAux
22:06:05,553 INFO [EjbModule] Deploying CPOKFavorite
22:06:05,560 INFO [EjbModule] Deploying CPOKWEBBlog
22:06:05,567 INFO [EjbModule] Deploying CPOKWEBFavorite
22:06:05,634 INFO [EjbModule] Deploying CPOKBanner
22:06:05,641 INFO [EjbModule] Deploying CPOKMessenger
22:06:05,649 INFO [EjbModule] Deploying CPOKPrivacy
22:06:05,656 INFO [EjbModule] Deploying CPOKMail
22:06:05,663 INFO [EjbModule] Deploying CPOKProfile
22:06:05,670 INFO [EjbModule] Deploying CPOKWEBAux
22:06:05,680 INFO [EjbModule] Deploying CPOKWhoPok
22:06:05,689 INFO [EjbModule] Deploying CPOKWEB
22:06:05,698 INFO [EjbModule] Deploying CPOK
22:06:05,706 INFO [EjbModule] Deploying CPOKFree
22:06:05,713 INFO [EjbModule] Deploying CPOKMM
22:06:05,720 INFO [EjbModule] Deploying TempPOKName
22:06:05,727 INFO [EjbModule] Deploying CPOKSubscription
22:06:05,734 INFO [EjbModule] Deploying CPOKCircle
22:06:05,741 INFO [EjbModule] Deploying CPOKVideo
22:06:05,748 INFO [EjbModule] Deploying CPOKWEBWhoPok
22:06:05,755 INFO [EjbModule] Deploying ActiveSessions
22:06:05,761 INFO [EjbModule] Deploying CPOKWEBCircle
22:06:06,438 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKPromo' to jndi 'CPOKPromoLocal'
22:06:06,448 INFO [ProxyFactory] Bound EJB Home 'CPOKPromo' to jndi 'CPOKPromo'22:06:06,460 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKBlog' to jndi 'CPOKBlogLocal'
22:06:06,502 INFO [ProxyFactory] Bound EJB Home 'CPOKBlog' to jndi 'CPOKBlog'
22:06:06,511 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKTv' to jndi 'CPOKTvLocal'
22:06:06,525 INFO [ProxyFactory] Bound EJB Home 'CPOKTv' to jndi 'CPOKTv'
22:06:06,533 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKAux' to jndi 'CPOKAuxLocal'
22:06:06,541 INFO [ProxyFactory] Bound EJB Home 'CPOKAux' to jndi 'CPOKAux'
22:06:06,552 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKFavorite' to jndi 'CPOKFavoriteLocal'
22:06:06,562 INFO [ProxyFactory] Bound EJB Home 'CPOKFavorite' to jndi 'CPOKFavorite'
22:06:06,571 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBBlog' to jndi 'CPOKWEBBlogLocal'
22:06:06,579 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBBlog' to jndi 'CPOKWEBBlog'
22:06:06,590 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBFavorite' to jndi 'CPOKWEBFavoriteLocal'
22:06:06,599 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBFavorite' to jndi 'CPOKWEBFavorite'
22:06:06,607 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKBanner' to jndi 'CPOKBannerLocal'
22:06:06,614 INFO [ProxyFactory] Bound EJB Home 'CPOKBanner' to jndi 'CPOKBanner'
22:06:06,633 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMessenger' to jndi 'CPOKMessengerLocal'
22:06:06,643 INFO [ProxyFactory] Bound EJB Home 'CPOKMessenger' to jndi 'CPOKMessenger'
22:06:06,652 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKPrivacy' to jndi 'CPOKPrivacyLocal'
22:06:06,660 INFO [ProxyFactory] Bound EJB Home 'CPOKPrivacy' to jndi 'CPOKPrivacy'
22:06:06,669 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMail' to jndi 'CPOKMailLocal'
22:06:06,678 INFO [ProxyFactory] Bound EJB Home 'CPOKMail' to jndi 'CPOKMail'
22:06:06,686 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKProfile' to jndi 'CPOKProfileLocal'
22:06:06,713 INFO [ProxyFactory] Bound EJB Home 'CPOKProfile' to jndi 'CPOKProfile'
22:06:06,721 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBAux' to jndi 'CPOKWEBAuxLocal'
22:06:06,728 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBAux' to jndi 'CPOKWEBAux'
22:06:06,737 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWhoPok' to jndi 'CPOKWhoPokLocal'
22:06:06,746 INFO [ProxyFactory] Bound EJB Home 'CPOKWhoPok' to jndi 'CPOKWhoPok'
22:06:06,755 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEB' to jndi 'CPOKWEBLocal'
22:06:06,766 INFO [ProxyFactory] Bound EJB Home 'CPOKWEB' to jndi 'CPOKWEB'
22:06:06,778 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOK' to jndi 'CPOKLocal'
22:06:06,788 INFO [ProxyFactory] Bound EJB Home 'CPOK' to jndi 'CPOK'
22:06:06,796 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKFree' to jndi 'CPOKFreeLocal'
22:06:06,805 INFO [ProxyFactory] Bound EJB Home 'CPOKFree' to jndi 'CPOKFree'
22:06:06,813 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKMM' to jndi 'CPOKMMLocal'
22:06:06,822 INFO [ProxyFactory] Bound EJB Home 'CPOKMM' to jndi 'CPOKMM'
22:06:06,830 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TempPOKName' to jndi 'TempPOKNameLocal'
22:06:06,838 INFO [ProxyFactory] Bound EJB Home 'TempPOKName' to jndi 'TempPOKName'
22:06:06,846 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKSubscription' to jndi 'CPOKSubscriptionLocal'
22:06:06,854 INFO [ProxyFactory] Bound EJB Home 'CPOKSubscription' to jndi 'CPOKSubscription'
22:06:06,865 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKCircle' to jndi 'CPOKCircleLocal'
22:06:06,874 INFO [ProxyFactory] Bound EJB Home 'CPOKCircle' to jndi 'CPOKCircle'
22:06:06,882 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKVideo' to jndi 'CPOKVideoLocal'
22:06:06,893 INFO [ProxyFactory] Bound EJB Home 'CPOKVideo' to jndi 'CPOKVideo'22:06:06,901 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBWhoPok' to jndi 'CPOKWEBWhoPokLocal'
22:06:06,909 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBWhoPok' to jndi 'CPOKWEBWhoPok'
22:06:06,916 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'ActiveSessions' to jndi 'ActiveSessionsLocal'
22:06:06,928 INFO [ProxyFactory] Bound EJB Home 'ActiveSessions' to jndi 'ActiveSessions'
22:06:06,939 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CPOKWEBCircle' to jndi 'CPOKWEBCircleLocal'
22:06:06,948 INFO [ProxyFactory] Bound EJB Home 'CPOKWEBCircle' to jndi 'CPOKWEBCircle'
22:06:06,949 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-4.0.5.GA/server/pok/tmp/deploy/tmp23311POKSystemEAR.ear-contents/POKBeans.jar
22:06:07,043 INFO [TomcatDeployer] deploy, ctxPath=/POKPresentation, warUrl=.../tmp/deploy/tmp23311POKSystemEAR.ear-contents/POKPresentation-exp.war/
22:06:07,342 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.5.GA/server/pok/farm/POKSystemEAR.ear
22:06:07,434 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: jboss.mq:service=DestinationManager
State: CONFIGURED
I Depend On:
jboss.mq:service=MessageCache
jboss.mq:service=PersistenceManager
jboss.mq:service=StateManager
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=StateManager
State: NOTYETINSTALLED
Depends On Me:
jboss.mq:service=DestinationManager
22:06:07,554 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-192.168.2.3-8080
22:06:07,672 INFO [ChannelSocket] JK: ajp13 listening on /192.168.2.3:8009
22:06:07,683 INFO [JkMain] Jk running ID=0 time=0/30 config=null
22:06:07,693 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 34s:525ms
The stack trace of the exception is, running in the server:
22:10:52,214 INFO [POKSystem] existPOK 1
22:10:52,324 INFO [STDOUT] Error! - DB_Conexion
22:10:52,325 INFO [STDOUT] PokQueryDs not bound
22:10:52,325 INFO [STDOUT] Error! - CPersistence_Session - getActiveSession
22:10:52,325 ERROR [STDERR] java.lang.NullPointerException
22:10:52,326 ERROR [STDERR] at persistence.DB_Connection.getUpdateConn(DB_Connection.java:62)
22:10:52,326 ERROR [STDERR] at persistence.CPersistence_ActiveSession.get_ActiveSession(CPersistence_ActiveSession.java:21)
22:10:52,326 ERROR [STDERR] at logic.CPOKBean.existPOK(CPOKBean.java:122)
22:10:52,326 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:10:52,326 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
22:10:52,326 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
22:10:52,326 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
22:10:52,327 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
22:10:52,327 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
22:10:52,327 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
22:10:52,328 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
22:10:52,328 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
22:10:52,328 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
22:10:52,328 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
22:10:52,328 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:954)
22:10:52,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:10:52,328 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
22:10:52,328 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
22:10:52,328 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
22:10:52,329 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
22:10:52,329 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
22:10:52,329 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
22:10:52,329 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
22:10:52,329 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
22:10:52,329 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
22:10:52,329 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
22:10:52,329 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
22:10:52,330 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
22:10:52,330 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
22:10:52,330 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
22:10:52,330 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
22:10:52,330 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
22:10:52,330 ERROR [STDERR] at $Proxy168.existPOK(Unknown Source)
22:10:52,330 ERROR [STDERR] at presentation.POKSystem.existPOK(POKSystem.java:62)
22:10:52,330 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:10:52,330 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
22:10:52,331 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
22:10:52,331 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
22:10:52,331 ERROR [STDERR] at org.apache.xmlrpc.Invoker.execute(XmlRpcServer.java)
22:10:52,331 ERROR [STDERR] at org.apache.xmlrpc.XmlRpcServer$Worker.executeInternal(XmlRpcServer.java)
22:10:52,331 ERROR [STDERR] at org.apache.xmlrpc.XmlRpcServer$Worker.execute(XmlRpcServer.java)
22:10:52,331 ERROR [STDERR] at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
22:10:52,331 ERROR [STDERR] at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java)
22:10:52,331 ERROR [STDERR] at presentation.POKServlet.doPost(POKServlet.java:35)
22:10:52,332 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
22:10:52,332 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
22:10:52,332 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
22:10:52,332 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
22:10:52,333 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
22:10:52,333 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
22:10:52,333 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
22:10:52,333 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
22:10:52,333 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
22:10:52,333 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
22:10:52,333 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
22:10:52,333 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
22:10:52,334 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
22:10:52,334 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
22:10:52,334 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
22:10:52,334 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
22:10:52,334 INFO [STDOUT] Error! - CPOK - existPOK
22:10:52,334 INFO [STDOUT] null
22:10:52,335 INFO [POKSystem] {errCode=1}
Is it safe and recommended to use hypersonic sql database for JMS in a production server? If not, why?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024259#4024259
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024259
17Â years, 10Â months
[JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 alpha3 released
by camunda
Allright.
I had some new strange errors now, while deleting a transition Eclipse crashed and if I now try to open the process diagramm, i get a Exception:
| !ENTRY org.jbpm.gd.jpdl.ui 4 0 2007-03-01 14:28:58.921
| !MESSAGE Could not create graphical viewer
| !STACK 1
| org.eclipse.ui.PartInitException: Error reading contents of file : gpd.xml.
| at org.jbpm.gd.jpdl.ui.editor.JpdlContentProvider.addGraphicalInfo(Unknown Source)
| at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.initInput(Unknown Source)
| at org.jbpm.gd.jpdl.ui.editor.JpdlGraphicalEditorPage.init(Unknown Source)
| at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:179)
| at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.addGraphPage(Unknown Source)
| at org.jbpm.gd.jpdl.ui.editor.JpdlEditor.createPages(Unknown Source)
| at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
| at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
| at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
| at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
| at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
| at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
| at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
| at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
| at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
| at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2478)
| at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
| at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
| at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
| at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
| at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
| at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
| at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
| at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
| at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
| at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
| at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:651)
| at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
| at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
| at org.eclipse.core.runtime.Platform.run(Platform.java:843)
| at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
| at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
| at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
| at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
| at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
| at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
| at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
| at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
| at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
| at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
| at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
| at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
| at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
| at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
| at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
| at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
| at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
| at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
| at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
| at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
| at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
| at org.eclipse.core.launcher.Main.run(Main.java:977)
| at org.eclipse.core.launcher.Main.main(Main.java:952)
| !SUBENTRY 1 org.jbpm.gd.jpdl.ui.JpdlPlugin 4 0 2007-03-01 14:28:58.921
| !MESSAGE Error reading contents of file : gpd.xml.
|
Do you need some files from me? or any hint what to do now?
Thanks
Bernd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024251#4024251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024251
17Â years, 10Â months
[JBoss Seam] - Re: Seam interceptor ERROR
by michaelveit
Hello,
I got the same problem using a user defined interceptor.
Without ICEfaces, it's running fine, but with ICEfaces I get:
2007-03-01 14:02:06,140 ERROR [com.icesoft.faces.facelets.D2DFaceletViewHandler] Problem in renderResponse: /moses/image.xhtml Not Found in ExternalContext as a Resource
| java.io.FileNotFoundException: /moses/image.xhtml Not Found in ExternalContext as a Resource
| at com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:114)
| at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:86)
| at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:259)
| at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.renderCycle(BlockingServlet.java:457)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.receiveUpdates(BlockingServlet.java:444)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.executeRequest(BlockingServlet.java:324)
| at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:186)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| ...
|
The configuration in web.xml looks like this:
<lifecycle>
| <!-- Phase listener needed to display images via beans -->
| <phase-listener>de.classname.webfrontend.ImagePhaseListener</phase-listener>
| <!-- Phase listener needed for all Seam applications -->
| <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
| </lifecycle>
|
The phase listener is reading a thumbnail from the database for web output:
package de.classpath.webfrontend;
|
| import java.io.IOException;
|
| import javax.ejb.Stateless;
| import javax.faces.context.FacesContext;
| import javax.faces.event.PhaseEvent;
| import javax.faces.event.PhaseId;
| import javax.faces.event.PhaseListener;
| import javax.naming.Context;
| import javax.naming.InitialContext;
| import javax.naming.NamingException;
| import javax.servlet.http.HttpServletRequest;
| import javax.servlet.http.HttpServletResponse;
| import de.classpath.RefObjectBeanLocal;
|
| @Stateless
| public class ImagePhaseListener implements PhaseListener {
|
| private static final long serialVersionUID = 6849469082858433451L;
| // Praefix used for URL: /moses/image.seam
| public final static String IMAGE_VIEW_ID = "image";
|
| // Beans
| RefObjectBeanLocal refObjectBean = null;
|
| public void afterPhase(PhaseEvent event) {
| FacesContext context = event.getFacesContext();
| String viewId = context.getViewRoot().getViewId();
| if (viewId.indexOf(IMAGE_VIEW_ID) != -1) {
| handleImageRequest(context);
| }
| }
|
| public void beforePhase(PhaseEvent event) {
| //Do nothing here...
| }
|
| public PhaseId getPhaseId() {
| return PhaseId.RESTORE_VIEW;
| }
|
| private void handleImageRequest(FacesContext context) {
| byte [] imagedata = null;
| Integer refDataId = null;
| Integer thumbnailtypeId = null;
| String param;
|
| HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest();
| HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
|
|
| // Read thumbnail from database via bean,
| // because EntityManager is not supported in output beans!!!
| if (refObjectBean == null) {
| try {
| Context namingContext = new InitialContext();
| refObjectBean = (RefObjectBeanLocal) namingContext.lookup("myproject/RefObjectBean/local");
| } catch (NamingException exception) {
| throw new RuntimeException(exception);
| }
| }
| if (refObjectBean == null) throw new RuntimeException("refObjectBean ist null!");
|
| // Parse request parameters
| param = request.getParameter("refDataId");
| if (param != null) {
| refDataId = Integer.parseInt(param);
| }
| param = request.getParameter("thumbnailtypeId");
| if (param != null) {
| thumbnailtypeId = Integer.parseInt(param);
| }
|
| // Get image
| if (refDataId != null)
| {
| if (thumbnailtypeId == null)
| {
| imagedata = refObjectBean.getImagedata(refDataId);
| }
| else
| {
| imagedata = refObjectBean.getThumbnail(refDataId, thumbnailtypeId);
| }
| }
|
|
| try {
| response.setContentLength(imagedata.length);
| response.getOutputStream().write(imagedata);
| } catch (IOException exception) {
| throw new RuntimeException(exception);
| }
| context.responseComplete();
| }
|
| }
I can't understand the following things:
1) The image is displayed using the URL image.seam, but the error message shows image.xhtml
2) The page is displayed completely with all thumbnails, but when I try to leave the page via a trivial link, the error occurs. There is no reason why to call the method again...
Any ideas?
Greetings
Michael
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024248#4024248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024248
17Â years, 10Â months