Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem during websphere application server installation

2 views
Skip to first unread message

Steve Heldebaume

unread,
Jan 11, 2002, 8:06:05 AM1/11/02
to
Hi,
Problem of WAS installation :
After the installation, i reboot my machine and i want to start the IBM WAS
service to test if the installation was OK. Problem : no IBM WAS service in
the list !!! Why ??
I tried with the adminserver.bat file to start the adminserver, no more
result, but this error message :

[02.01.11 11:31:22:218 GMT+01:00] f4d0a586 ManagedServer E Version : 3.5.0
[02.01.11 11:31:22:218 GMT+01:00] f4d0a586 ManagedServer E Edition: advanced
[02.01.11 11:31:22:531 GMT+01:00] f4d0a586 ManagedServer E Build date: Mon
Jul 31 00:00:00 CEST 2000
[02.01.11 11:31:22:531 GMT+01:00] f4d0a586 ManagedServer E Build number:
q0031.01
[02.01.11 11:31:35:125 GMT+01:00] f4d0a586 CreateNsTable W Failed to create
tables java.sql.SQLException: Exception d'E/S: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at java.sql.SQLException.<init>(SQLException.java:45)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:263)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at
com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectio
nFactory.java:32)
at
com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:637)
at
com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.
java:590)
at
com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:52
0)
at
com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:4
72)
at
com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:42
4)
at
com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:169)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:113)
at com.ibm.ejs.cm.SMDataSource.getConnection(SMDataSource.java:83)
at com.ibm.ejs.ns.CosNaming.CreateNsTables.dbInit(CreateNsTables.java:135)
at com.ibm.ejs.ns.CosNaming.NameServer.init(NameServer.java:276)
at
com.ibm.ejs.sm.server.ManagedServer.initializeNameService(ManagedServer.java
:931)
at
com.ibm.ejs.sm.server.ManagedServer.initializeRuntime(ManagedServer.java:528
)
at
com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:969)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)

[02.01.11 11:31:36:140 GMT+01:00] f4d0a586 AdminServer A Initialisation du
serveur dadministration WebSphere
[02.01.11 11:31:36:203 GMT+01:00] 2bbe2585 DrAdminServer A DrAdmin
disponible sur le port 1 041
[02.01.11 11:31:36:734 GMT+01:00] f4d0a586 DBMgr F Failed to create
a data source: java.sql.SQLException: Exception d'E/S: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at java.sql.SQLException.<init>(SQLException.java:45)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:263)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:365)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at
com.ibm.ejs.cm.pool.JDBC1xConnectionFactory.createConnection(JDBC1xConnectio
nFactory.java:32)
at
com.ibm.ejs.cm.pool.ConnectionPool.createConnection(ConnectionPool.java:637)
at
com.ibm.ejs.cm.pool.ConnectionPool.createOrWaitForConnection(ConnectionPool.
java:590)
at
com.ibm.ejs.cm.pool.ConnectionPool.findFreeConnection(ConnectionPool.java:52
0)
at
com.ibm.ejs.cm.pool.ConnectionPool.findConnectionForTx(ConnectionPool.java:4
72)
at
com.ibm.ejs.cm.pool.ConnectionPool.allocateConnection(ConnectionPool.java:42
4)
at
com.ibm.ejs.cm.pool.ConnectionPool.getConnection(ConnectionPool.java:169)
at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSourceImpl.java:113)
at com.ibm.ejs.cm.SMDataSource.getConnection(SMDataSource.java:83)
at com.ibm.ejs.sm.util.db.DBMgr.initialize(DBMgr.java:183)
at
com.ibm.ejs.sm.server.AdminServer.startConnectionMgr(AdminServer.java:1193)
at
com.ibm.ejs.sm.server.AdminServer.initializeRuntime(AdminServer.java:984)
at com.ibm.ejs.sm.server.AdminServer.main(AdminServer.java:353)


I'm using Websphere Application Server Advanced Edition v3.5 with Oracle
v8.1.7 (I have downloaded the FiwPack 5 to support this oracle version but
not installed it because the first installation is KO)
What is the problem ???
Thanks in advance
Steve


Ken Hygh

unread,
Jan 11, 2002, 11:20:31 AM1/11/02
to
Steve,
No WAS service in the list means you didn't install while logged in to
Windows with a userid with Admininstrator privileges. Your failure
message below means that your URI to connect to Oracle is incorrect, or
Oracle is down, or there's a firewall blocking traffic between your
application server box and the Oracle box.

Ken

Steve Heldebaume

unread,
Jan 11, 2002, 11:32:25 AM1/11/02
to
Hi Ken,
I have installed WAS with administrator privilege ! The Uri seems to be
good, and Oracle is well started...
One Question :
- Must i create the database used for the repository (orcl) before install
WAS or will it WAS who create it alone ???
Thanks for your answer
Steve


"Ken Hygh" <ken...@nc.rr.com> a écrit dans le message news:
3C3F10CF...@nc.rr.com...

Mark Ho

unread,
Jan 11, 2002, 1:15:21 PM1/11/02
to
Hello Steve,

Steve Heldebaume wrote:

> - Must i create the database used for the repository (orcl) before install
> WAS or will it WAS who create it alone ???

The Oracle SID that you specify in the JDBC URL during WAS install and ejsadmin
user and password must already exist. If using DB2, then WAS install creates a
local database by calling createdb2.bat. If your DB2 server is remote, then you
must create the WAS repository manually.

For both DB2 and Oracle, the repository will only be populated when the WAS
Adminserver is started (with setting install.initial.config=true in admin.config
file).

See the WAS V3.5 InfoCenter here:
http://www-4.ibm.com/software/webservers/appserv/doc/v35/ae/infocenter/was/win_adv_ihs_oracle.pdf

Hope this helps,
Mark

Ken Hygh

unread,
Jan 11, 2002, 2:02:34 PM1/11/02
to
Steve,
Is this AE or AEs? AEs doesn't get installed as a service.
Ken

Steve Heldebaume

unread,
Jan 14, 2002, 11:30:17 AM1/14/02
to
Thanks for your help Mark
I have installed WAS correctly, but the service is still not present in the
list.
But i can start it (via adminserver.bat)... Do you know what is the problem
??
Now i have another problem :
When i want access the ejbs deployed in WAS, exception :
"Impossible to obtain EJB metadatas. Exception : java.rmi.MarshalException:
CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : or
code: 0 completed: No "
The application server is started, the EJB container too
Where is the problem ??
Plzzz help
Steve


"Mark Ho" <mar...@NOSPAMPLEASEca.ibm.com> a écrit dans le message news:
3C3F2BB9...@NOSPAMPLEASEca.ibm.com...

Ken Hygh

unread,
Jan 14, 2002, 11:44:46 AM1/14/02
to
Steve,
Not much to go on here, but I suspect that you're accessing your EJBs
from a stand-alone client, that is not using the JDK that comes with
WebSphere. It needs to.

Ken

Steve Heldebaume

unread,
Jan 15, 2002, 4:46:27 AM1/15/02
to
The client uses jdk 1.3.1_01
The jdk with Websphere Application Server is jdk 1.2.2
Exception when i look up for my EJBs :
"javax.naming.NamingException: Error during resolve. Root exception is
java.lang.NullPointerException
at
com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNContextImpl.java:739)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContextImpl.java:585)
at javax.naming.InitialContext.lookup(Unknown Source)
at
com.ibm.diapason.utils.DiapasonEJBHelper.lookupTargetHome(DiapasonEJBHelper.
java)
at
com.ibm.diapason.utils.DiapasonEJBHelper.getTargetHome(DiapasonEJBHelper.jav
a)
at
com.ibm.diapason.utils.AccessClasses.getChargeRecrut(AccessClasses.java)
at com.ibm.diapason.application.Login.initialize(Login.java)
at com.ibm.diapason.application.Login.<init>(Login.java)
at com.ibm.diapason.application.Login.main(Login.java)"
Thanks for your help
Steve

"Ken Hygh" <ken...@nc.rr.com> a écrit dans le message news:
3C430AFE...@nc.rr.com...

Ken Hygh

unread,
Jan 15, 2002, 5:32:28 AM1/15/02
to
Guess I guessed right. The client _must_ use the JDK that comes with
WebSphere.
Ken

Steve Heldebaume

unread,
Jan 15, 2002, 6:32:45 AM1/15/02
to
If i use jdk1.2.2 on the client side, another error at the execution :
"java.lang.NoSuchMethodError: com.ibm.rmi.corba.ORB: method
setPartnerExtended(S)V not found
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:844)
at org.omg.CORBA.ORB.init(ORB.java:356)
at
com.ibm.CORBA.iiop.GlobalORBFactory.init(GlobalORBFactory.java:42)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:196)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:93)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:65)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:47)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:343)
at
com.ibm.ejs.ns.jndi.CNInitialContextFactory.initORB(CNInitialContextFactory.
java:431)
at
com.ibm.ejs.ns.jndi.CNInitialContextFactory.getInitialContext(CNInitialConte
xtFactory.java:201)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
at javax.naming.InitialContext.init(InitialContext.java:218)
at javax.naming.InitialContext.<init>(InitialContext.java:194)
at
com.ibm.diapason.utils.DiapasonEJBHelper.getInitialContext(DiapasonEJBHelper
.java)

at
com.ibm.diapason.utils.DiapasonEJBHelper.lookupTargetHome(DiapasonEJBHelper.
java)
at
com.ibm.diapason.utils.DiapasonEJBHelper.getTargetHome(DiapasonEJBHelper.jav
a)
at
com.ibm.diapason.utils.AccessClasses.getChargeRecrut(AccessClasses.java)
at com.ibm.diapason.application.Login.initialize(Login.java)
at com.ibm.diapason.application.Login.<init>(Login.java)
at com.ibm.diapason.application.Login.main(Login.java)"
Do you know what is the problem ??
Thanks in advance
Steve

"Ken Hygh" <ken...@nc.rr.com> a écrit dans le message news:

3C44053C...@nc.rr.com...

Ken Hygh

unread,
Jan 15, 2002, 8:40:02 AM1/15/02
to
Steve,
Again, this indicates that WebSphere's JDK is not being used. Some of
the websphere fixes were to the ORB, inside the JDK.
Ken

Steve Heldebaume wrote:

>..java)

>..

Steve Heldebaume

unread,
Jan 15, 2002, 9:36:55 AM1/15/02
to
I'm using the same jdk version (1.2.2) both on the client and server !!
I don't know what is this exception...
Plzzzz help
Thanks in advance
Steve


"Ken Hygh" <ken...@nc.rr.com> a écrit dans le message news:

3C443132...@nc.rr.com...

Ken Hygh

unread,
Jan 15, 2002, 10:19:21 AM1/15/02
to
Steve,
I don't know how to be clearer. Same version != same JDK. Use IBM's JDK
that ships with WebSphere.
Ken

Steve Heldebaume wrote:

>I'm using the same jdk version (1.2.2) both on the client and server !!
>I don't know what is this exception...
>Plzzzz help
>Thanks in advance
>Steve
>

[snip]

Steve Heldebaume

unread,
Jan 15, 2002, 10:28:22 AM1/15/02
to
I have installed the WebSPhere jdk on the client side, so it's the same...

"Ken Hygh" <ken...@nc.rr.com> a écrit dans le message news:

3C444879...@nc.rr.com...

Ken Hygh

unread,
Jan 15, 2002, 1:36:09 PM1/15/02
to
Hmmm...are you sure that it's the one you're executing? Java (not IBM's)
put the 1.2 JDK in c:\winnt, which means it's usually the one executed.
0 new messages