WIException 10002

First of all, hi everybody! This is my first posting to this group.

I am currently attempting to use WebI w/ WebSphere. I’ve created the wibean.orb.properties file and put it in the proper directory. However, when I attempt to instantiate WIServerImpl, I get the following exception:

com.bo.wibean.WIException: WebIntelligence SDK / JSP Exception — Number :10002 — javaError : org.omg.CORBA.INITIALIZE: can’t instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor code: 0 completed: No — Description : UNKNOWN EXCEPTION

My wibean.orb.properties file is as follows:


##########################
#MANDATORY Corba Properties
##########################
#Enter here the values of your WebIntelligence Cluster Manager
#ORB Agent Port and IP address

ORBagentPort=12345
ORBagentAddr=10.0.21.101

####################
#Optional Properties
####################
# default_HsalPath has to be set according to your platform
# if you don't have it set within your scripts
#      Tomcat,JSWDK     /servlet/com.bo.hsal.HSALServlet
#      IIS (NT)	       /wi/bin/iswi.dll
#      Apache CGI       /wi/bin/nph-cgiwi
#      Apache DSO       /wi/bin/apachewi
#      Netscape/iPlanet /wi/bin/nswi.dl!
#
# default_HTTPServerURL has to be set in configurations where
# the Application Server / Web Server Bridge changes the URL port
# (Example: WebLogic 4.5.1 with IIS)
# (Must be of Form: http://<yourhostname>:<port>)

default_HsalPath=/servlet/com.bo.hsal.HSALServlet
#default_HTTPServerURL=

Any help would be greatly appreciated!

Thanks in advance,
Panagiotis


varlagas (BOB member since 2004-03-18)

OK, being a rookie shows… :?

First of all, I needed to include the Visibroker JARs vbjapp.jar and vbjobj.jar to my classpath.

Secondly, even though the client of WebIntelligence is a WebSphere Application Server, WebIntelligence per se runs on IIS. Thus, I need to configure default_HsalPath and default_HTTPServerURL appropriately. I changed default_HsalPath to /wi/bin/iswi.dll, but I still get (another) error. Seems I have to set default_HTTPServerURL to a non-empty value too …

Panagiotis


varlagas (BOB member since 2004-03-18)

In particular I am getting this following exception:


com.bo.wibean.WIException: WebIntelligence SDK / JSP Exception — Number :10002 — javaError : org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No — Description : UNKNOWN EXCEPTION

The wibean.orb.properties file is as follows:


##########################
#MANDATORY Corba Properties
##########################
#Enter here the values of your WebIntelligence Cluster Manager
#ORB Agent Port and IP address

ORBagentPort=12345
ORBagentAddr=10.0.21.101

####################
#Optional Properties
####################
# default_HsalPath has to be set according to your platform
# if you don't have it set within your scripts
#      Tomcat,JSWDK     /servlet/com.bo.hsal.HSALServlet
#      IIS (NT)	       /wi/bin/iswi.dll
#      Apache CGI       /wi/bin/nph-cgiwi
#      Apache DSO       /wi/bin/apachewi
#      Netscape/iPlanet /wi/bin/nswi.dl!
#
# default_HTTPServerURL has to be set in configurations where
# the Application Server / Web Server Bridge changes the URL port
# (Example: WebLogic 4.5.1 with IIS)
# (Must be of Form: http://<yourhostname>:<port>)

default_HsalPath=/wi/bin/iswi.dll
default_HTTPServerURL=

Thanks is advance!
Panagiotis.


varlagas (BOB member since 2004-03-18)

Is ur server up and running?


sree (BOB member since 2004-01-09)

Both WebIntelligence Manager and WebIntelligence ORB Windows services are up and running…


varlagas (BOB member since 2004-03-18)

I’m back: I’ve been able to pinpoint the exact exception thrown:

[22/3/2004 12:24:56:131 GMT+02:00] 7a9153e7 WebGroup X Servlet Error: : org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No
at com.visigenic.vbroker.orb.GiopStubDelegate.locate(GiopStubDelegate.java:398)
at com.visigenic.vbroker.orb.GiopStubDelegate.bind(GiopStubDelegate.java:116)
at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1244)
at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1361)
at com.visigenic.vbroker.orb.ORB.bind(ORB.java:1171)
at com.bo.wibean.wiapibroker.serverobjectHelper.bind(serverobjectHelper.java:31)

at gr.novabank.epdc.webapp.controller.BusinessObjectsServlet.performTask(BusinessObjectsServlet.java:406)
at gr.novabank.epdc.webapp.controller.BusinessObjectsServlet.doGet(BusinessObjectsServlet.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:678)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:331)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:117)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:137)

To recap:

(1) I attempt to instantiate WIServerImpl (new WIServerImpl())
(2) The init() method of WIServerImpl gets invoked
(3) init() sets the ORBClass and ORBSingletonClass properties, initializes the ORB (m_orb = ORB.init(null, m_CorbaProperties) and then invokes serverobjectHelper.bind(m_orb, “WIServerObject”). It is exactly this bind that throws the exception above!

Any ideas?

tia!

Panagiotis


varlagas (BOB member since 2004-03-18)

Which really boils down to

((com.visigenic.vbroker.orb.ORB) m_orb).bind(“IDL:w2.bo/wiapibroker/serverobject:1.0”, “WIServerObject”, null, null);

throwing the exception…

Why would the Visibroker ORB have trouble binding? :confused:


varlagas (BOB member since 2004-03-18)

Problem resolved via the “scientific” method of restarting WebI… :?

I don’t understand why I had to restart a server (WebI) whose configuration I had NOT modified… What difference did the restart make? :confused:


varlagas (BOB member since 2004-03-18)

Hey !

I know this post is very old but its a reference about the WIException 10002 and how to resolve it so this is my contribution.

So : “Why restarting the server (WebI) resolved the last pb ?” Because this :

Error: 10002 (WIERR_SERVER_INIT_03S)

Could not write bind to WIAPIBroker Server.

Cause 1 : WIBean cannot be instantiated because the cluster manager and node are not running.

Action: Make sure you start the WEBINTELLIGENCE cluster manager and node before calling WIBean.

Note: WIBean is instantiated the first time you make a call to it. WIBean is not instantiated automatically on application server startup.

Cause 2: You have not correctly set the OSAgent port and IP address in the wibean.orb.properties file.

Action: Make sure you have entered the correct values for your OSAgent port and IP address in wibean.orb.properties.

Note: Make sure you have not entered any spaces or tabs after the values you enter for the OSAgent port and IP address. If you enter any extra spaces, wibean.orb.properties will not work.

Its seems that the WEBI cluster manager and/or node crash/go down sometimes and you have to restart WEBI.

Source from the WebIntelligence SDK Reference Guide.


fhureaux (BOB member since 2005-10-13)