aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem starting JBOSS 4.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem starting JBOSS 4.2.3" Watch "Problem starting JBOSS 4.2.3" New topic
Author

Problem starting JBOSS 4.2.3

Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
I have a configuration folder different from default

I am running JBOSS 4.2.3

So i run JBOSS from server/sle/deploy

in our project we have a ext/archive folder and and then ext/dist folder where all zip and tar files in archive folder are expanded in the dist folder. Now to create the package for jboss to run we have separate */jboss/server/sle/deploy folder I copy all from the default in ext/archive to this folder.

When i run the JBOSS I get this error (The more detailed error is attached too)




14:12:05,468 INFO [Server] Starting JBoss (MX MicroKernel)...
14:12:05,468 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
14:12:05,484 INFO [Server] Home Dir: D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss
14:12:05,484 INFO [Server] Home URL: file:/D:/ellacoya_/workspace/Swa2-MainLine_Latest_CVS/dist/SLE/jboss/
14:12:05,484 INFO [Server] Patch URL: null
14:12:05,484 INFO [Server] Server Name: sle
14:12:05,484 INFO [Server] Server Home Dir: D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle
14:12:05,484 INFO [Server] Server Home URL: file:/D:/ellacoya_/workspace/Swa2-MainLine_Latest_CVS/dist/SLE/jboss/server/sle/
14:12:05,484 INFO [Server] Server Log Dir: D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle\log
14:12:05,484 INFO [Server] Server Temp Dir: D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle\tmp
14:12:05,484 INFO [Server] Root Deployment Filename: jboss-service.xml
14:12:06,546 INFO [ServerInfo] Java version: 1.6.0_06,Sun Microsystems Inc.
14:12:06,546 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b22,Sun Microsystems Inc.
14:12:06,546 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
14:12:07,218 INFO [Server] Core system initialized
14:12:12,640 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
log4j:WARN File option not set for appender [AUDITLOG].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:WARN File option not set for appender [SUBSCRIBERLOG].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
14:12:12,796 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
14:12:12,937 WARN [ServiceController] Problem starting service jboss:service=Naming
java.lang.NullPointerException
at org.jnp.server.Main.getNamingInstance(Main.java:301)
at org.jnp.server.Main.initJnpInvoker(Main.java:354)
at org.jnp.server.Main.start(Main.java:316)
at org.jboss.naming.NamingService.startService(NamingService.java:284)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
14:12:19,765 WARN [ServiceController] Problem starting service jboss:service=proxyFactory,target=ClientUserTransactionFactory
javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1465)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1594)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:559)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:552)
at javax.naming.InitialContext.bind(InitialContext.java:400)
at org.jboss.util.naming.Util.bind(Util.java:102)
at org.jboss.util.naming.Util.bind(Util.java:89)
at org.jboss.invocation.jrmp.server.JRMPProxyFactory.startService(JRMPProxyFactory.java:208)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1435)
... 58 more








Now it seems I missed copying some file to the sle folder and so its not getting hte naming service leading to other pbms...


Please help...

Its little urgent

Regards,
Abhishek.


Thanks and Regards,

Abhishek Kumar
Software developer (Apps),
Arbor Networks.
Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
Just an additional guess.

Am i missing some jar file in the classpath


the files in

jboss/server/sle/lib are


D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle\lib>dir
Volume in drive D has no label.
Volume Serial Number is E031-9141

Directory of D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle\lib

06/24/2009 02:04 PM <DIR> .
06/24/2009 02:04 PM <DIR> ..
06/24/2009 02:01 PM 58,225 activation.jar
06/24/2009 02:01 PM 443,432 antlr-2.7.6.jar
06/24/2009 02:01 PM 355,306 antlr.jar
06/24/2009 02:01 PM 26,360 asm.jar
06/24/2009 02:01 PM 4,944 autonumber-plugin.jar
06/24/2009 02:01 PM 62,694 avalon-framework.jar
06/24/2009 02:01 PM 33,202 axis-ant.jar
06/24/2009 02:01 PM 1,599,570 axis.jar
06/24/2009 02:01 PM 354,700 batik-awt-util.jar
06/24/2009 02:01 PM 240,467 batik-bridge.jar
06/24/2009 02:01 PM 223,150 batik-css.jar
06/24/2009 02:01 PM 79,168 batik-dom.jar
06/24/2009 02:01 PM 76,733 batik-ext.jar
06/24/2009 02:01 PM 44,832 batik-extension.jar
06/24/2009 02:01 PM 135,636 batik-gui-util.jar
06/24/2009 02:01 PM 143,597 batik-gvt.jar
06/24/2009 02:01 PM 35,078 batik-parser.jar
06/24/2009 02:01 PM 30,885 batik-script.jar
06/24/2009 02:01 PM 376,951 batik-svg-dom.jar
06/24/2009 02:01 PM 162,183 batik-svggen.jar
06/24/2009 02:01 PM 126,077 batik-swing.jar
06/24/2009 02:01 PM 61,780 batik-transcoder.jar
06/24/2009 02:01 PM 76,261 batik-util.jar
06/24/2009 02:01 PM 19,876 batik-xml.jar
06/24/2009 02:01 PM 513,247 bcel.jar
06/24/2009 02:01 PM 21,293 bindingservice-plugin.jar
06/24/2009 02:01 PM 167,694 bsf.jar
06/24/2009 02:01 PM 12,132 bsh-deployer.jar
06/24/2009 02:01 PM 235,512 bsh.jar
06/24/2009 02:01 PM 1,290,799 castor-0.9.9.1-xml.jar
06/24/2009 02:01 PM 1,914,708 castor-0.9.9.1.jar
06/24/2009 02:01 PM 282,338 cglib-2.1.3.jar
06/24/2009 02:01 PM 328,605 cglib.jar
06/24/2009 02:01 PM 47,469 commons-codec.jar
06/24/2009 02:01 PM 571,259 commons-collections-3.2.jar
06/24/2009 02:01 PM 558,376 commons-collections.jar
06/24/2009 02:01 PM 71,442 commons-discovery-0.2.jar
06/24/2009 02:01 PM 214,796 commons-httpclient.jar
06/24/2009 02:01 PM 207,723 commons-lang-2.1.jar
06/24/2009 02:01 PM 38,015 commons-logging-1.0.4.jar
06/24/2009 02:01 PM 55,424 commons-logging.jar
06/24/2009 02:01 PM 13,732 conditionalcolorspm.jar
06/24/2009 02:01 PM 313,898 dom4j-1.6.1.jar
06/24/2009 02:01 PM 313,131 dom4j.jar
06/24/2009 02:01 PM 1,274,757 edtftpj-pro.jar
06/24/2009 02:01 PM 208,048 ehcache-1.2.3.jar
06/24/2009 02:01 PM 52,220 ejb3-persistence.jar
06/24/2009 02:01 PM 28,340 el-api.jar
06/24/2009 02:04 PM 2,825 ellacoya-jbossext.jar
06/24/2009 02:01 PM 1,506,340 fop.jar
06/24/2009 02:01 PM 666,679 freehep-base.jar
06/24/2009 02:01 PM 34,549 freehep-graphics2d.jar
06/24/2009 02:01 PM 73,522 freehep-graphicsio-pdf.jar
06/24/2009 02:01 PM 188,056 freehep-graphicsio-swf.jar
06/24/2009 02:01 PM 259,954 freehep-graphicsio.jar
06/24/2009 02:01 PM 612,819 glf.jar
06/24/2009 02:01 PM 444,509 hibernate-annotations.jar
06/24/2009 02:01 PM 111,591 hibernate-entitymanager.jar
06/24/2009 02:01 PM 2,276,092 hibernate3.jar
06/24/2009 02:01 PM 8,741 hsqldb-plugin.jar
06/24/2009 02:01 PM 705,245 hsqldb.jar
06/24/2009 02:01 PM 730,808 http-client.jar
06/24/2009 02:01 PM 1,373,279 itext-1.4.4.jar
06/24/2009 02:01 PM 203,109 jai_codec.jar
06/24/2009 02:01 PM 1,431,422 jai_core.jar
06/24/2009 02:01 PM 599,743 javassist.jar
06/24/2009 02:01 PM 226,485 jaxen.jar
06/24/2009 02:01 PM 31,191 jaxrpc.jar
06/24/2009 02:01 PM 94,572 jboss-common-jdbc-wrapper.jar
06/24/2009 02:01 PM 20,386 jboss-ejb3x.jar
06/24/2009 02:01 PM 14,184 jboss-hibernate.jar
06/24/2009 02:01 PM 340,626 jboss-iiop.jar
06/24/2009 02:01 PM 423,790 jboss-j2ee.jar
06/24/2009 02:01 PM 29,387 jboss-jaxrpc.jar
06/24/2009 02:01 PM 33,297 jboss-jaxws-ext.jar
06/24/2009 02:01 PM 34,719 jboss-jaxws.jar
06/24/2009 02:01 PM 214,121 jboss-jca.jar
06/24/2009 02:01 PM 14,220 jboss-jsr77.jar
06/24/2009 02:01 PM 65,046 jboss-jsr88.jar
06/24/2009 02:01 PM 152,343 jboss-management.jar
06/24/2009 02:01 PM 56,303 jboss-monitoring.jar
06/24/2009 02:01 PM 8,378 jboss-remoting-int.jar
06/24/2009 02:01 PM 907,988 jboss-remoting.jar
06/24/2009 02:01 PM 26,985 jboss-saaj.jar
06/24/2009 02:01 PM 125,848 jboss-serialization.jar
06/24/2009 02:01 PM 46,962 jboss-srp.jar
06/24/2009 02:01 PM 53,281 jboss-transaction.jar
06/24/2009 02:01 PM 121,073 jboss-vfs.jar
06/24/2009 02:01 PM 2,129,615 jboss.jar
06/24/2009 02:01 PM 28,375 jbossjta-integration.jar
06/24/2009 02:01 PM 547,888 jbossjta.jar
06/24/2009 02:01 PM 537,963 jbossmq.jar
06/24/2009 02:01 PM 313,999 jbosssx.jar
06/24/2009 02:01 PM 65,248 jbossts-common.jar
06/24/2009 02:01 PM 65,358 jbossws-common.jar
06/24/2009 02:01 PM 92,415 jbossws-framework.jar
06/24/2009 02:01 PM 79,106 jbossws-jboss42.jar
06/24/2009 02:01 PM 103,953 jbossws-spi.jar
06/24/2009 02:01 PM 153,253 jdom.jar
06/24/2009 02:01 PM 455,489 JimiProClasses.jar
06/24/2009 02:01 PM 33,303 jmx-adaptor-plugin.jar
06/24/2009 02:01 PM 48,899 jnpserver.jar
06/24/2009 02:01 PM 82,155 joesnmp.jar
06/24/2009 02:01 PM 184,000 jsch-0.1.41.jar
06/24/2009 02:01 PM 82,185 jsp-api.jar
06/24/2009 02:01 PM 39,138 ldapbp.jar
06/24/2009 02:01 PM 262,749 ldapjdk.jar
06/24/2009 02:01 PM 15,146 log4j-snmp-appender.jar
06/24/2009 02:01 PM 355,755 log4j.jar
06/24/2009 02:01 PM 5,468 mail-plugin.jar
06/24/2009 02:01 PM 387,690 mail.jar
06/24/2009 02:01 PM 38,495 mlibwrapper_jai.jar
06/24/2009 02:01 PM 259,895 ncpro.jar
06/24/2009 02:01 PM 61,922 ncs-css.jar
06/24/2009 02:01 PM 6,439 ncs-ejb.jar
06/24/2009 02:01 PM 65,976 ncs-pms.jar
06/24/2009 02:01 PM 576,658 ncs.jar
06/24/2009 02:01 PM 671,181 netcharts.jar
06/24/2009 02:01 PM 265,050 not-yet-commons-ssl-0.3.10.jar
06/24/2009 02:04 PM 1,545,954 ojdbc14.jar
06/24/2009 02:01 PM 210,302 pg74.215.jdbc3.jar
06/24/2009 02:01 PM 5,620 pngencoder.jar
06/24/2009 02:01 PM 136,960 ProcessModules.jar
06/24/2009 02:01 PM 8,820 properties-plugin.jar
06/24/2009 02:01 PM 461,851 quartz-all-1.6.4.jar
06/24/2009 02:01 PM 390,557 quartz.jar
06/24/2009 02:01 PM 372,868 radserver3.jar
06/24/2009 02:01 PM 18,979 saaj.jar
06/24/2009 02:01 PM 3,539 scheduler-plugin-example.jar
06/24/2009 02:01 PM 46,038 scheduler-plugin.jar
06/24/2009 02:01 PM 89,680 servlet-api.jar
06/24/2009 02:01 PM 72,799 snacc.jar
06/24/2009 02:01 PM 34,062 snmp.jar
06/24/2009 02:01 PM 180,065 spring-orm.jar
06/24/2009 02:01 PM 1,901,653 spring.jar
06/24/2009 02:01 PM 126,771 wsdl4j-1.5.1.jar
06/24/2009 02:01 PM 2,907,319 xalan.jar
06/24/2009 02:01 PM 1,812,019 xerces.jar
06/24/2009 02:01 PM 2,659 xmlentitymgr.jar
139 File(s) 46,119,814 bytes
2 Dir(s) 5,906,132,992 bytes free

D:\ellacoya_\workspace\Swa2-MainLine_Latest_CVS\dist\SLE\jboss\server\sle\lib>
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

I am not sure I followed your description of how you create the server/sle directory. The proper way to do this is to copy either server/all (if you need clustering) or default/all (if you do not need clustering) as server/sle. Then run it by entering: "run -c sle". Once you verify that it runs properly, then apply your configuration changes (I assume you changed jboss-log4j.xml, based on the log4j complaints) and deploy your apps.


JBoss In Action
Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
I craeted the jboss/server/sle<customed_config foler>/deploy folder.


now i have copied all the content from "default" folder to this "sle" folder. Basically i am running the jboss thru plugin in eclipse Earler I had 4.0.5 and now I changed to 4.2.3 and so i think there is no issue with running the JBOSS from eclipse.

Ok I chnaged the jboss-service.xml under

jboss/server/sle/conf folder and its atleast starting fine. Its not giving any kind of naming exceptions or otherwise.


There is a new problem of transactions with the SLE. Can any body help please.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10207
    
166

Try running it from the command prompt first and see if it works. What did you change in the jboss-service.xml?


[My Blog] [JavaRanch Journal]
Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
I did not make any change to the jboss-service.xml with the JBOSS 4.2.3


To run our application we had our own customized jboss-service.xml file which we used in JBOSS 4.0.5 so we used to deploy that inside JBOSS earlier versions and it used to run successfully. Now, the same xml file doesnt works for JBOSS 4.2.3.


From the unjarred folder of JBOSS i was able to run the server successfully from the command prompt.

So deployed the original jboss-service.xml which is with the new JBOSS version by default. Now i was able to run JBOSS but at the end it started getting Transaction related pbms

Here is the stacktarce.


2009-06-26 18:04:19,718 DEBUG [com.ellacoya.bls.service.LogoDisplayService] SLE configuration database details:
cfg database info => Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
cfg db driver name => Oracle JDBC driver
cfg db driver version => 10.2.0.3.0
cfg db conn string => jdbcracle:thin:@192.168.50.194:1521:ellacoya [ABHISHEK_TAP1_SLE]
2009-06-26 18:04:19,718 DEBUG [com.ellacoya.bls.service.LogoDisplayService] SLE reporting database details:
rpt database info => Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
rpt db driver name => Oracle JDBC driver
rpt db driver version => 10.2.0.3.0
rpt db conn string => jdbcracle:thin:@192.168.50.194:1521:ellacoya [RUN_CSV_UPGRADE_RPT]
2009-06-26 18:04:29,546 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Fri, 26 Jun 2009 18:04:29>
2009-06-26 18:04:29,546 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
2009-06-26 18:04:29,546 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
2009-06-26 18:04:29,546 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
2009-06-26 18:05:00,000 DEBUG [com.ellacoya.networkoperation.ChangeEventCleanupJob] cleanupChangeEvents
2009-06-26 18:05:00,000 DEBUG [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,000 DEBUG [com.ellacoya.businessservice.EllacoyaValidationInterceptor] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,015 DEBUG [com.ellacoya.dataaccess.rdbms.RDBMSUtil] setStatementParams - 0=[daily cleanup job] [java.lang.String]
2009-06-26 18:05:00,015 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1d8-3f57cd50:99d:4a44bfe1:1da >
2009-06-26 18:05:00,015 ERROR [STDERR] org.jboss.resource.connectionmanager.JBossLocalXAException: Trying to start a new tx when old is not complete! old: < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1cb-3f57cd50:99d:4a44bfe1:1ce >, new < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1d8-3f57cd50:99d:4a44bfe1:1da >, flags 0
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:901)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:776)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:499)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:788)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:579)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.connection(SQLRDBMSPersistenceQueryManager.java:174)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4450)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getSystemConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4480)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.dataaccess.PersistenceManagerImpl.getSystemConfigurationParameter(PersistenceManagerImpl.java:3247)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.businessobject.ConfigResource.getAttributeValue(ConfigResource.java:306)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.businessobject.ConfigResource.getResourceAttribute(ConfigResource.java:48)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.businessservice.SystemConfigMgrBean.getResourceAttribute(SystemConfigMgrBean.java:273)
2009-06-26 18:05:00,031 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
2009-06-26 18:05:00,031 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-06-26 18:05:00,031 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.businessservice.EllacoyaValidationInterceptor.invoke(EllacoyaValidationInterceptor.java:180)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.businessservice.EllacoyaTxInterceptorCMT.invoke(EllacoyaTxInterceptorCMT.java:43)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
2009-06-26 18:05:00,031 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
2009-06-26 18:05:00,031 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-06-26 18:05:00,031 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
2009-06-26 18:05:00,031 ERROR [STDERR] at $Proxy140.getResourceAttribute(Unknown Source)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getSystemConfigValue(ServiceMBeanSupport.java:489)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:768)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:756)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.networkoperation.DeltaServiceMBean.getDeltaTTLMins(DeltaServiceMBean.java:173)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.networkoperation.ChangeEventCleanupJob.cleanupChangeEvents(ChangeEventCleanupJob.java:34)
2009-06-26 18:05:00,031 ERROR [STDERR] at com.ellacoya.networkoperation.ChangeEventCleanupJob.execute(ChangeEventCleanupJob.java:21)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
2009-06-26 18:05:00,031 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2009-06-26 18:05:00,031 DEBUG [com.ellacoya.auditlog.AuditLogService] Audit Log is set to [true]
2009-06-26 18:05:00,031 ERROR [com.ellacoya.auditlog.AuditLog] No audit log appender found with name [AUDITLOG]
2009-06-26 18:05:00,031 ERROR [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] Transaction Exception:com.ellacoya.lang.ServiceUnavailableException intercepted.
2009-06-26 18:05:00,046 ERROR [com.ellacoya.networkoperation.DeltaServiceMBean] Unexpected exception getting system config value
com.ellacoya.lang.ServiceUnavailableException: A System Error has occurred: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57cd50:99d:4a44bfe1:1d8 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57cd50:99d:4a44bfe1:1d8 status: ActionStatus.ABORT_ONLY >))
at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4462)
at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getSystemConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4480)
at com.ellacoya.dataaccess.PersistenceManagerImpl.getSystemConfigurationParameter(PersistenceManagerImpl.java:3247)
at com.ellacoya.businessobject.ConfigResource.getAttributeValue(ConfigResource.java:306)
at com.ellacoya.businessobject.ConfigResource.getResourceAttribute(ConfigResource.java:48)
at com.ellacoya.businessservice.SystemConfigMgrBean.getResourceAttribute(SystemConfigMgrBean.java:273)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at com.ellacoya.businessservice.EllacoyaValidationInterceptor.invoke(EllacoyaValidationInterceptor.java:180)
at com.ellacoya.businessservice.EllacoyaTxInterceptorCMT.invoke(EllacoyaTxInterceptorCMT.java:43)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy140.getResourceAttribute(Unknown Source)
at com.ellacoya.services.ServiceMBeanSupport.getSystemConfigValue(ServiceMBeanSupport.java:489)
at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:768)
at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:756)
at com.ellacoya.networkoperation.DeltaServiceMBean.getDeltaTTLMins(DeltaServiceMBean.java:173)
at com.ellacoya.networkoperation.ChangeEventCleanupJob.cleanupChangeEvents(ChangeEventCleanupJob.java:34)
at com.ellacoya.networkoperation.ChangeEventCleanupJob.execute(ChangeEventCleanupJob.java:21)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.networkoperation.DeltaServiceMBean] getDeltaTTLMins returns [60]
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.networkoperation.ChangeEventCleanupJob] Will remove change events that are older than [60] minutes.
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.businessservice.EllacoyaValidationInterceptor] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.businessservice.EllacoyaValidationInterceptor] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,046 WARN [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1dc-3f57cd50:99d:4a44bfe1:1df >
2009-06-26 18:05:00,046 ERROR [STDERR] org.jboss.resource.connectionmanager.JBossLocalXAException: Trying to start a new tx when old is not complete! old: < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1cb-3f57cd50:99d:4a44bfe1:1ce >, new < 131075, 28, 26, 1--3f57cd50:99d:4a44bfe1:1dc-3f57cd50:99d:4a44bfe1:1df >, flags 0
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:901)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:776)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:499)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:788)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:579)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:352)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:524)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:405)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:849)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.connection(SQLRDBMSPersistenceQueryManager.java:174)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4450)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getSystemConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4480)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.dataaccess.PersistenceManagerImpl.getSystemConfigurationParameter(PersistenceManagerImpl.java:3247)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.businessobject.ConfigResource.getAttributeValue(ConfigResource.java:306)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.businessobject.ConfigResource.getResourceAttribute(ConfigResource.java:48)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.businessservice.SystemConfigMgrBean.getResourceAttribute(SystemConfigMgrBean.java:273)
2009-06-26 18:05:00,046 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
2009-06-26 18:05:00,046 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-06-26 18:05:00,046 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
2009-06-26 18:05:00,046 DEBUG [com.ellacoya.auditlog.AuditLogService] Audit Log is set to [true]
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.businessservice.EllacoyaValidationInterceptor.invoke(EllacoyaValidationInterceptor.java:180)
2009-06-26 18:05:00,046 ERROR [STDERR] at com.ellacoya.businessservice.EllacoyaTxInterceptorCMT.invoke(EllacoyaTxInterceptorCMT.java:43)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
2009-06-26 18:05:00,046 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
2009-06-26 18:05:00,046 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2009-06-26 18:05:00,046 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
2009-06-26 18:05:00,046 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
2009-06-26 18:05:00,062 ERROR [STDERR] at $Proxy140.getResourceAttribute(Unknown Source)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getSystemConfigValue(ServiceMBeanSupport.java:489)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:768)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:756)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.networkoperation.DeltaServiceMBean.getDeltaTTLMins(DeltaServiceMBean.java:173)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.networkoperation.ChangeEventCleanupJob.cleanupChangeEvents(ChangeEventCleanupJob.java:37)
2009-06-26 18:05:00,062 ERROR [STDERR] at com.ellacoya.networkoperation.ChangeEventCleanupJob.execute(ChangeEventCleanupJob.java:21)
2009-06-26 18:05:00,062 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
2009-06-26 18:05:00,062 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
2009-06-26 18:05:00,062 ERROR [com.ellacoya.auditlog.AuditLog] No audit log appender found with name [AUDITLOG]
2009-06-26 18:05:00,062 DEBUG [com.ellacoya.auditlog.AuditLogService] Audit Log is set to [true]
2009-06-26 18:05:00,062 DEBUG [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,062 DEBUG [com.ellacoya.businessservice.EllacoyaValidationInterceptor] EJB call getResourceAttribute intercepted.
2009-06-26 18:05:00,062 ERROR [com.ellacoya.auditlog.AuditLog] No audit log appender found with name [AUDITLOG]
2009-06-26 18:05:00,062 ERROR [com.ellacoya.businessservice.EllacoyaTxInterceptorCMT] Transaction Exception:com.ellacoya.lang.ServiceUnavailableException intercepted.
2009-06-26 18:05:00,062 DEBUG [com.ellacoya.auditlog.AuditLogService] Audit Log is set to [true]
2009-06-26 18:05:00,062 ERROR [com.ellacoya.networkoperation.DeltaServiceMBean] Unexpected exception getting system config value
com.ellacoya.lang.ServiceUnavailableException: A System Error has occurred: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57cd50:99d:4a44bfe1:1dc status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -3f57cd50:99d:4a44bfe1:1dc status: ActionStatus.ABORT_ONLY >))
at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4462)
at com.ellacoya.dataaccess.rdbms.SQLRDBMSPersistenceQueryManager.getSystemConfigurationParameter(SQLRDBMSPersistenceQueryManager.java:4480)
at com.ellacoya.dataaccess.PersistenceManagerImpl.getSystemConfigurationParameter(PersistenceManagerImpl.java:3247)
at com.ellacoya.businessobject.ConfigResource.getAttributeValue(ConfigResource.java:306)
at com.ellacoya.businessobject.ConfigResource.getResourceAttribute(ConfigResource.java:48)
at com.ellacoya.businessservice.SystemConfigMgrBean.getResourceAttribute(SystemConfigMgrBean.java:273)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at com.ellacoya.businessservice.EllacoyaValidationInterceptor.invoke(EllacoyaValidationInterceptor.java:180)
at com.ellacoya.businessservice.EllacoyaTxInterceptorCMT.invoke(EllacoyaTxInterceptorCMT.java:43)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy140.getResourceAttribute(Unknown Source)
at com.ellacoya.services.ServiceMBeanSupport.getSystemConfigValue(ServiceMBeanSupport.java:489)
at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:768)
at com.ellacoya.services.ServiceMBeanSupport.getIntValue(ServiceMBeanSupport.java:756)
at com.ellacoya.networkoperation.DeltaServiceMBean.getDeltaTTLMins(DeltaServiceMBean.java:173)
at com.ellacoya.networkoperation.ChangeEventCleanupJob.cleanupChangeEvents(ChangeEventCleanupJob.java:37)
at com.ellacoya.networkoperation.ChangeEventCleanupJob.execute(ChangeEventCleanupJob.java:21)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)



Can any one help whats happening ? Is it some transaction or database or data source configuration issue ?

The earlier jboss-service.xml is attached and the current one is same as the JBOSS 4.2.3 has.

Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
Sorry the last reply didnot have earlier jboss-service.xml

Will attach it now.

My apologies.


I will paste it here. Dont know why there is problem in attaching xml and txt files





Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

I did not make any change to the jboss-service.xml with the JBOSS 4.2.3

To run our application we had our own customized jboss-service.xml file which we used in JBOSS 4.0.5 so we used to deploy that inside JBOSS earlier versions and it used to run successfully. Now, the same xml file doesnt works for JBOSS 4.2.3.


I fail to see how both of these statements can be true. In the first you say you did not change jboss-service.xml, but in the second one you say you did.

I compared the jboss-service.xml file that you posted to both the 5.0.5 and the 4.2.3 ones. There were some differences between 4.05 and the one you posted, but there were major changes between 4.2.3 and the one you posted.

You cannot move config files from one version of a piece of software to another and expect it to work!!! You need to determine the exact change you made to the jboss-service.xml file in 4.0.5 and then determine what the appropriate change is to the configuration files in 4.2.3. Some of those changes will go into jboss-service.xml, but some might not because configuration items move around from release to release.
Abhishek Kumar
Ranch Hand

Joined: Dec 19, 2005
Posts: 52
i think i could not make my pint understand.

My apologies again.

I was trying to say that earlier when I was using JBOSS 4.0.5 my build.xml used to deploy a jboss-service.xml which was almost the same as default one with JBOSS 4.0.5 with little chnges made for transactions. this file is posted


Now i am usng JBOSS 4.2.3 but didnt change the build file and so same jboss-service.xml file and so JBOSS 4.2.3 was not able to run. It was not able to start naming service itself leading to problems with all other JNDI lookups such as EJB beans. So instead of that I used default jboss-service.xml in jboss/server/default/conf in my customized JBOSS deploy folder which is jboss/server/sle/conf(here i was using the earlier jboss-service.xml file as i didnto change the build file) and so over came the basic naming service problem. I did not post this file as one can find it with any JBOSS 4.2.3 server.

Now as i reported in the last reply i still had a transaction related problem. So i changed the jboss-service.xml(the one i am using successfully now) and this added transactionmanager service which was used in JBOSS 4.0.5.


So now the JBOSS is running fine enough. Now there is a new problem. This problem is of Netcharts a chart API. This one gets into some messaging error. It says JMSCI error at onMessage method of java.jms.Messagelistener class in class NSIToolKit of Netcharts API . I am not able to post the stack trace as I am home and so don't have those stack traces. It also might be possible that the reason is something else too but these error appeared after the upgrde itself so would like to suppose that its an upgradation issue only.

Thanks n Regards,
Abhishek
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem starting JBOSS 4.2.3