Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Installing BF and RAFW on WebSphere App Server

Has anyone been able to successfully been able to install BF using WebSphere and IHS? Anyone have this documented any better than the documents then I have seen so far?

After some struggle we have the install done and the war files deployed, however when I start them up I get these errors. I looked around and found that I should try to comment out (db_type) in buildforge.conf which did not seem to work after a restart. Anyone have any ideas?


00000017 ConnectionPoo I Loading driver class for database type 'LOCAL' driver=com.ibm.db2.jcc.DB2Driver
00000000 JMXConnectors I ADMC0058I: The JMX JSR160RMI connector is available at port 9811
00000013 UserManagemen I CWWIM6002I Received notification that the server has finished starting.
00000013 UserManagemen I CWWIM6003I Initialization of the dynamic reload manager completed successfully.
00000000 WsServerImpl A WSVR0001I: Server rafw open for e-business
0000001b ServerCache I DYNA1001I: WebSphere Dynamic Cache instance named ws/WSSecureMap initialized successfully.
0000001b ServerCache I DYNA1071I: The cache provider "default" is being used.
00000017 ConnectionPoo I Initialized driver for database type 'LOCAL' driver=com.ibm.db2.jcc.DB2Driver
00000017 ConnectionPoo I Initializing connection pool for local, host='127.0.0.1', dbname='BFT', schema='BUILD'
0000001f WSChannelFram A CHFW0019I: The Transport Channel Service has started chain IPCCOutboundChainSecured.
00000021 DiscoveryMBea I ADMD0023I: The system discovered process (name: nodeagent, type: NodeAgent, pid: 21695)
00000017 Main W Services Layer can not connect to the database... (polling)
com.buildforge.services.common.db.DBException: Message
at com.buildforge.services.server.db.ConnectionPool.<init>(ConnectionPool.java:230)
at com.buildforge.services.server.db.ConnectionPool.<init>(ConnectionPool.java:29)
at com.buildforge.services.server.db.ConnectionPool$1.compute(ConnectionPool.java:95)
at com.buildforge.services.server.db.ConnectionPool$1.compute(ConnectionPool.java:93)
at com.buildforge.services.server.util.Memoizer$1.call(Memoizer.java:62)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
at java.util.concurrent.FutureTask.run(FutureTask.java:150)
at com.buildforge.services.server.util.Memoizer.get(Memoizer.java:69)
at com.buildforge.services.server.db.ConnectionPool.get(ConnectionPool.java:117)
at com.buildforge.services.server.db.DBConfiguration.getConnection(DBConfiguration.java:81)
at com.buildforge.services.server.db.ConnectionFactory.getConnection(ConnectionFactory.java:19)
at com.buildforge.services.server.api.ServerContext.getDBConnection(ServerContext.java:112)
at com.buildforge.services.server.Main.run(Main.java:322)
at com.buildforge.services.server.Main.run(Main.java:294)
at com.buildforge.services.server.web.BootstrapServlet$Bootstrap.run(BootstrapServlet.java:299)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ( Exception java.net.ConnectException: Error opening socket to server /127.0.0.1 on port 50,001 with message: Connection refused. ERRORCODE=-4499, SQLSTATE=08001)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at com.buildforge.services.server.db.ConnectionPool.<init>(ConnectionPool.java:216)
... 14 more
Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: Exception java.net.ConnectException: Error opening socket to server /127.0.0.1 on port 50,001 with message: Connection refused. ERRORCODE=-4499, SQLSTATE=08001
at com.ibm.db2.jcc.am.ed.a(ed.java:319)
at com.ibm.db2.jcc.am.ed.a(ed.java:337)
at com.ibm.db2.jcc.t4.wb.a(wb.java:408)
at com.ibm.db2.jcc.t4.wb.<init>(wb.java:80)
at com.ibm.db2.jcc.t4.a.y(a.java:320)
at com.ibm.db2.jcc.t4.b.a(b.java:1807)
at com.ibm.db2.jcc.am.jb.a(jb.java:603)
at com.ibm.db2.jcc.am.jb.<init>(jb.java:555)
at com.ibm.db2.jcc.t4.b.<init>(b.java:303)
at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:214)
at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:460)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
... 16 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:214)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:201)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:378)
at java.net.Socket.connect(Socket.java:537)
at com.ibm.db2.jcc.t4.x.run(x.java:34)
at java.security.AccessController.doPrivileged(AccessController.java:251)
at com.ibm.db2.jcc.t4.wb.a(wb.java:394)
... 28 more

0 votes



One answer

Permanent link
We do have many RAFW customers running RAFW and BF in WebSphere. This is a problem starting the BF services layer application. I can't tell exactly what the problem is from this error message but I will say that it's important to note the settings for the web application are in the buildforge.conf file in the expanded web app directory, not in the bf_home/Platform directory.
Also, if you re-deploy the web application the file will be over written.

--tim

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 03 '11, 3:44 p.m.

Question was seen: 7,384 times

Last updated: Feb 03 '11, 3:44 p.m.

Confirmation Cancel Confirm