Package com.sun.enterprise.jbi.serviceengine

Examples of com.sun.enterprise.jbi.serviceengine.ServiceEngineException


                debug(Level.FINE,"serviceengine.success_incoming_request",
                        new Object[]{service.getLocalPart(), endpointName});
               
            } catch(Throwable e) {
                logger.log(Level.SEVERE, "serviceengine.error_incoming_request", e);
                ServiceEngineException seException = new ServiceEngineException(e);
                if(jbiAdapter != null) {
                    jbiAdapter.handleException(seException);
                }
            }
        } catch(Exception e) {
View Full Code Here


                
                 response = processEJBRequest(
                         meHelper.denormalizeMessage(true), runtimeEndpointInfo);
            } catch(Throwable e) {
                logger.log(Level.SEVERE, "serviceengine.error_incoming_request", e);
                ServiceEngineException seException = new ServiceEngineException(e);
                meHelper.handleException(seException);
            }
            meHelper.handleResponse(response, false);
        } catch(Exception e) {
            logger.log(Level.SEVERE, "JavaEEServiceEngine : Error processing request" + e  , e);
View Full Code Here

        for (JBIHandler handler : JBIHandlerFactory.getInstance().getHandlers())
            try {
            handler.handleInbound(this);
        } catch (Exception e) {
            logger.log(Level.SEVERE, e.getMessage(), e);
            throw new ServiceEngineException(e);
        }
    }
View Full Code Here

                    "Got the thread pool for :" + getPoolName());
                }
            } catch (NoSuchThreadPoolException e) {
                logger.log(Level.SEVERE,
                "workmanager.threadpool_not_found", getPoolName());
                throw new ServiceEngineException(e.getMessage());
            }
        }
        this.acceptor = new MessageAcceptor();
        this.acceptor.startAccepting();
    }
View Full Code Here

            }
            objName = objName + serviceName + CONTROL_TYPE +
                    controlType + COMPONENT_TYPE;
            return getObjectName(objName);
        }
        throw new ServiceEngineException("Either JBI Instance name or Service name or both null");
    }
View Full Code Here

            try {
                ObjectInstance objInstance =
                        mbeanServer.getObjectInstance(new ObjectName(stringifiedObjName));
                return objInstance.getObjectName();
            } catch(MalformedObjectNameException e) {
                throw new ServiceEngineException(e.getMessage());
            } catch(InstanceNotFoundException infe) {
                throw new ServiceEngineException(infe.getMessage());
            } catch(IOException ioe) {
                throw new ServiceEngineException(ioe.getMessage());
            }
        } else
            throw new ServiceEngineException(" Null object name");
       
    }
View Full Code Here

       
        try {
            result = mbeanServer.invoke(objName,operationName,
                    params, signature);
        } catch (InstanceNotFoundException notFoundEx) {
            throw new ServiceEngineException(notFoundEx);
        } catch ( ReflectionException rEx){
            throw new ServiceEngineException(rEx);
        } catch ( MBeanException mbeanEx ) {
            throw ServiceEngineException.filterExceptions(mbeanEx);
        } catch (RuntimeMBeanException rtEx){
            throw ServiceEngineException.filterExceptions(rtEx);
        } catch (RuntimeOperationsException rtOpEx){
View Full Code Here

TOP

Related Classes of com.sun.enterprise.jbi.serviceengine.ServiceEngineException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.