WebSphere Application Server - WAS 5.1 and implfactory.properties

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > October 2004 > WAS 5.1 and implfactory.properties





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author WAS 5.1 and implfactory.properties
Shawn B

2004-09-08, 5:59 pm

Hi,

I am running WAS 5.1 on an AIX 5.2 machine. When attempting to start a EJB
Client application connecting to my EJB app, I get an "Unable to read
required resource: implfactory.properties" error message (see stack trace
below).

Checking other similar posts, I have added to my class path the following
JARs and the offending properties file:

WAS_PATH=$WAS_HOME/lib/ecutils.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/naming.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/namingclient.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/wssec.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/lmproxy.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/runtime.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/sas.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/properties/implfactory.properties

Printing the Classpath environment variable immediately before starting the
JVM shows the suggested files listed there.

Are there any other ideas that may be out there that I could try?

Thanks in advance,

Shawn.


------------------------------------
Error Message with stack trace:

Unable to read required resource: implfactory.properties
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java(Inlined Compiled Code))
at java.io.InputStreamReader.<init>(InputStreamReader.java(Inlined
Compiled Code))
at java.util.Properties.load(Properties.java(Compiled Code))
at com.ibm.ws.util.ImplFactory$1.run(ImplFactory.java:38)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java
:111)
at at
com.ibm.ws.util.ImplFactory.<clinit>(ImplFactory.java:33).null(Unknown
Source)
at
com.ibm.ws.Transaction.TransactionManagerFactory$1.run(TransactionManagerFac
tory.java:141)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java
:111)
at
com.ibm.ws.Transaction.TransactionManagerFactory.loadImplementations(Transac
tionManagerFactory.java:129)
at
com.ibm.ws.Transaction.TransactionManagerFactory.getTransactionManager(Trans
actionManagerFactory.java:77)
at
com.ibm.ws.naming.jndicos.CNContextImpl.suspendTransaction(CNContextImpl.jav
a:4045)
at
com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3478)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1519)
at
com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)
at
com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1067)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)
at javax.naming.InitialContext.lookup(InitialContext.java:360)
at org.whic.server.handler.BeanHandler.getHome(BeanHandler.java:96)
at
org.whic.server.handler.IN960070Handler.processMessage(IN960070Handler.java:
31)
at
org.whic.common.rmi.codetable.CodeTableCollectionBuilder.getCodeTableDetails
(CodeTableCollectionBuilder.java:151)
at
org.whic.common.rmi.codetable.CodeTableCollectionBuilder.buildCodeTableColle
ctionData(CodeTableCollectionBuilder.java:287)
at
org.whic.common.rmi.codetable.CodeTableCollectionBean.<init>(CodeTableCollec
tionBean.java:99)
at
org.whic.common.rmi.RegistryRMIServer.main(RegistryRMIServer.java:162)




colbyg

2004-10-20, 8:03 am

Shawn, Did you ever resolve this issue? Please advise. Thanks!

-Colby

[QUOTE]Originally posted by Shawn B
[B]Hi,

I am running WAS 5.1 on an AIX 5.2 machine. When attempting to start a EJB
Client application connecting to my EJB app, I get an "Unable to read
required resource: implfactory.properties" error message (see stack trace
below).

Checking other similar posts, I have added to my class path the following
JARs and the offending properties file:

WAS_PATH=$WAS_HOME/lib/ecutils.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/naming.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/namingclient.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/wssec.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/lmproxy.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/runtime.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/lib/sas.jar
WAS_PATH=$WAS_PATH:$WAS_HOME/properties/implfactory.properties

Printing the Classpath environment variable immediately before starting the
JVM shows the suggested files listed there.

Are there any other ideas that may be out there that I could try?

Thanks in advance,

Shawn.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com