Tuesday, July 19, 2011

 Before using anything  Know about that ,means what happened when we use that,and purpose of that ,otherwise it will create so many probelms

Thursday, July 14, 2011

.properties duplicate entries - handling by Properties class

if we have duplicate entries in .properties like below

entry1 = xxx
entry2=yyy
entry2=zzz

then during getProperty("entry2"),we will get only zzz   not yyy

Wednesday, July 13, 2011

Friends Kindle is very gud

Nice Kindle try excellent it is

assigned to RFST

when u provide any fix for the defect chage the status from assigned to RFST

Saturday, July 9, 2011

preamure end of file exception

if we found a prematude end of file,then it means the xml file generated is empty file so please try to check the logic which generated the xml file ,it will solve the probelm

Tuesday, July 5, 2011

Thread Pool Problelm in Weblogic during server startup

if u find below problem during server startup in weblogic

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1309892506466> <|I |00:31:46 |1 |omsAdminServer |Starting service 'Thread Pool'>

#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1309892506520> <|W |00:31:46 |1 |omsAdminServer |Failed to lookup the WorkManager 'java:comp/env/wm/log' for ThreadPool 'log'. Make sure that this WorkManager is defined in the application server. In addition, if a new ThreadPool was added, it will be necessary to rebuild the project for the necessary resource references to be added to the deployment file ejb-jar.xml. <>

amdocs.epi.error.EpiIllegalArgumentException: Failed to lookup the WorkManager 'java:comp/env/wm/log' for ThreadPool 'log'. Make sure that this WorkManager is defined in the application server. In addition, if a new ThreadPool was added, it will be necessary to rebuild the project for the necessary resource references to be added to the deployment file ejb-jar.xml. <>

at amdocs.epi.appserver.AppServerInfoBase.initThreadPoolImpl(AppServerInfoBase.java:207)

at amdocs.epi.appserver.weblogic_10.AppServerInfoCls.initThreadPool(AppServerInfoCls.java:94)

at amdocs.epi.concurrent.ThreadPoolCls.(ThreadPoolCls.java:240)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at amdocs.epi.management.services.RegistryAgent.initServiceFromHashMap(RegistryAgent.java:418)

at amdocs.epi.management.services.RegistryAgent.initServices(RegistryAgent.java:319)

at amdocs.epi.management.services.JmxRegistryAgent.init(JmxRegistryAgent.java:130)

at amdocs.epi.management.Bootstrap.startServicesFromConfig(Bootstrap.java:799)

at amdocs.epi.management.Bootstrap.startServices(Bootstrap.java:493)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

at amdocs.epi.management.services.RegistryAgent.initServiceFromHashMap(RegistryAgent.java:418)

at amdocs.epi.management.services.RegistryAgent.initServices(RegistryAgent.java:319)

... 43 more

Caused by: amdocs.epi.error.EpiIllegalArgumentException: Failed to lookup the WorkManager 'java:comp/env/wm/log' for ThreadPool 'log'. Make sure that this WorkManager is defined in the application server. In addition, if a new ThreadPool was added, it will be necessary to rebuild the project for the necessary resource references to be added to the deployment file ejb-jar.xml. <>

at amdocs.epi.appserver.AppServerInfoBase.initThreadPoolImpl(AppServerInfoBase.java:207)

at amdocs.epi.appserver.weblogic_10.AppServerInfoCls.initThreadPool(AppServerInfoCls.java:94)

at amdocs.epi.concurrent.ThreadPoolCls.(ThreadPoolCls.java:240)

... 49 more

Caused by: javax.naming.NameNotFoundException: While trying to look up comp/env/wm/log in /app/ejb/AmdocsProcMgrEjbDesc.jar#epi-mgmt-bootstrap.; remaining name 'comp/env/wm/log'

at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144)

at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)

at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)

at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)

at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)

at javax.naming.InitialContext.lookup(InitialContext.java:392)

at amdocs.epi.appserver.AppServerInfoBase.lookupJndi(AppServerInfoBase.java:240)

at amdocs.epi.appserver.AppServerInfoBase.initThreadPoolImpl(AppServerInfoBase.java:161)

... 51 more

Then below is the solution


Your are missing with log thread pool entry in the weblogic config file :-

Go to weblogic >> C:\bea103\user_projects\domains\omsDomain\config

config.xml

wm/omsThreadPool

omsAdminServer

true

wm/log

omsAdminServer

false