HTTP:RMI EJB Unable to create InterfaceType: com.evermind...SubordinateXA..

Hi,
I have deployed some ADF BC as EJB to oc4j1013 and want to access them
using the HTTP tunnel. It works perfectly within JDEV
1) Calling EJB withing JDEV with RMI
2) Calling EJB within JDEV through HTTP:ORMI
3) Calling EJB with RMI as JClient Web Start
But does not work as JClient Web Start and HTTP Tunneling with the stck below:
oracle.oc4j.rmi.OracleRemoteException: Unable to create InterfaceType: com.evermind.server.SubordinateXAResource
     at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:110)
     at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
     at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
     at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
     at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
     at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
     at __Proxy0.create(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.inv
Please advise
Thanks
JO

I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.

Similar Messages

  • Com.evermind.server.rmi.OrionRemoteException

    Hi I have a simple AXIS2 webservice and BPEL process deployed on the same box but on two seperate OC4J's.
    I then have a remote junit test which I invoke from a remote client and it works fine.
    I then take this test case into JunitPerf and create a simple load test.
    Bearing in mind the services are simple and only return a boolean.
    The load test works fine for five users, but when I try any more than 5, say 10 for instance I get this exception,
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:50)
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
    com.evermind.server.rmi.OrionRemoteException: Disconnected: Unknown command: 100
         at __Proxy1.request(Unknown Source)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1602)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:104)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1553)
    Mt test case effetcively looks like this,
    package test.bpel;
    import java.util.Hashtable;
    import java.util.Map;
    import javax.naming.Context;
    import junit.framework.TestCase;
    import org.w3c.dom.Element;
    import com.collaxa.xml.XMLHelper;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    public class TestFileCreateFromTemplate extends TestCase {
         private StringBuffer xml = new StringBuffer();
         public TestFileCreateFromTemplate(String name){
              super(name);
         public void testProcessFileCreateFromTemplate(){
              xml.append("<ns1:FileCreateFromTemplateReq xmlns:ns1=\"http://www.thalesgroup.com/arrcc2is/GENB/FileCreateFromTemplate\">");
              xml.append("<ns1:templateNameLocation>Test</ns1:templateNameLocation>");
              xml.append("<ns1:newFileName>Test</ns1:newFileName>");
              xml.append("<ns1:newFileLocation>Test</ns1:newFileLocation>");
              xml.append("<ns1:destinationFolder>Test</ns1:destinationFolder>");
              xml.append("<ns1:securityClassification>Test</ns1:securityClassification>");
              xml.append("<ns1:dateOfCreation>12/2/2007</ns1:dateOfCreation>");
              xml.append("<ns1:viewFileOnCreation>true</ns1:viewFileOnCreation>");
              xml.append("<ns1:arrayOfMetadata xmlns:ns2=\"http://uk.thalesgroup.com/arrcc2is/geni/geni_common/geni_types\">");
              xml.append("<ns2:metadataField>");
              xml.append("<ns2:name>Test</ns2:name>");
              xml.append("<ns2:valueAsString>Test</ns2:valueAsString>");
              xml.append("<ns2:valueAsInteger>1</ns2:valueAsInteger>");
              xml.append("<ns2:valueAsLong>1</ns2:valueAsLong>");
              xml.append("<ns2:valueAsDouble>1</ns2:valueAsDouble>");
              xml.append("<ns2:valueAsBoolean>true</ns2:valueAsBoolean>");
              xml.append("</ns2:metadataField>");
              xml.append("</ns1:arrayOfMetadata>");
              xml.append("</ns1:FileCreateFromTemplateReq>");
              try {
                   String jndiFactory = "com.evermind.server.rmi.RMIInitialContextFactory";
                   String jndiUsername = "oc4jadmin";
                   String jndiPassword = "babylon5";
                   String jndiProviderUrl = "opmn:ormi://wells175732.int.rdel.co.uk:6004:OC4J_SOA/orabpel";
                   Hashtable jndi = new Hashtable();
                   jndi.put(Context.PROVIDER_URL, jndiProviderUrl);
                   jndi.put(Context.INITIAL_CONTEXT_FACTORY, jndiFactory);
                   jndi.put(Context.SECURITY_PRINCIPAL, jndiUsername);
                   jndi.put(Context.SECURITY_CREDENTIALS, jndiPassword);
                   Locator locator = new Locator("default","bpel",jndi);
                   IDeliveryService deliveryService =
                             (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
                   NormalizedMessage nm = new NormalizedMessage( );
                   nm.addPart("payload", xml.toString() );
                   System.out.println("Making Request: ");
                   NormalizedMessage res = deliveryService.request("FileCreateFromTemplate", "process", nm);
                   Map payload = res.getPayload();
                   System.out.println("Got Request: ");
                   Element element = (Element)payload.get("payload");
                   System.out.println("RESPONSE XML: ");
                   System.out.println( XMLHelper.toXML(element) );
              } catch(Exception e) {
                   e.printStackTrace();
                   fail("TEST FAILED BECAUSE : " + e.getMessage());
    The load test class is a follows, very basic,
    package test.bpel;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import com.clarkware.junitperf.LoadTest;
    import com.clarkware.junitperf.TestFactory;
    public class ARRCLoadTest extends TestCase{
         private static final int users = 10;
         private static final int iterations = 1;
         public ARRCLoadTest(){}
         public static Test suite(){
              TestSuite suite = new TestSuite();
              suite.addTest(testUnderLoad());
              return suite;
         public static Test testUnderLoad(){
              Test factory = new TestFactory(TestFileCreateFromTemplate.class);
              Test loadTest = new LoadTest(factory, users, iterations);
              return loadTest;
    Any ideas why this would be happening. I was thinking is there a maximum of concurrent users somewhere to be set in the enterprise manager.
    I also checked my BPEL Console instances for this specific bpel process and they have been created for all 10 processes.

    Kumar,
    From the stack trace you have posted, it appears that in line 87 of file "ResourceMgrEJB.java" (in package "com.dsr.sov02.resourcemgr.sf"), you are invoking a non-existent method. Have you looked at that line of the code?
    Good Luck,
    Avi.

  • Com.evermind.server.rmi.OrionRemoteException: Error in setSessionContext():

    Dear Friends
    Here is the problem.
    please let me know the cause for the following error. This problem is coming while accessing the ejb component.
    please give replay to the following id.
    [email protected]
    com.evermind.server.rmi.OrionRemoteException: Error in setSessionContext(): null
    at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:219)
    at ResourceMgr_StatelessSessionBeanWrapper22.getSearchTechnicians(ResourceMgr_StatelessSessionBeanWrapper22.java:
    at com.dsr.sov02.resourcemgr.ResourceMgrBD.getSearchTechnicians(ResourceMgrBD.java:3849)
    at com.dsr.sov02.rovingeye.techmgmt.sf.TechMgmtSFEJB.getSearchTechnicians(TechMgmtSFEJB.java:732)
    at TechMgmtSF_StatelessSessionBeanWrapper32.getSearchTechnicians(TechMgmtSF_StatelessSessionBeanWrapper32.java:17
    at com.dsr.sov02.rovingeye.TechMgmtBD.getSearchTechnicians(TechMgmtBD.java:825)
    at com.dsr.sov02.rovingeye.TechMgmtBP.getSearchTechnicians(TechMgmtBP.java:339)
    at com.dsr.sov02.rovingeye.techmgmt.techsearch.TechSearchUCI.getSearchTechnicians(TechSearchUCI.java:124)
    at com.dsr.sov02.rovingeye.techmgmt.techsearch.TechSearchRH.processRequest(TechSearchRH.java:198)
    at com.dsr.sov02.rovingeye.RovingEyeRP.processRequest(RovingEyeRP.java:76)
    at com.dsr.sov02.rovingeye.RovingEyeFC.doGet(rovingeyefc.java:41)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:696)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Unknown Source)
    Nested exception is:
    java.lang.NoSuchMethodError
    at com.dsr.sov02.resourcemgr.sf.ResourceMgrEJB.setSessionContext(ResourceMgrEJB.java:87)
    at com.evermind.server.ejb.StatelessSessionEJBHome.getContextInstance(StatelessSessionEJBHome.java:213)
    at ResourceMgr_StatelessSessionBeanWrapper22.getSearchTechnicians(ResourceMgr_StatelessSessionBeanWrapper22.java:
    at com.dsr.sov02.resourcemgr.ResourceMgrBD.getSearchTechnicians(ResourceMgrBD.java:3849)
    at com.dsr.sov02.rovingeye.techmgmt.sf.TechMgmtSFEJB.getSearchTechnicians(TechMgmtSFEJB.java:732)
    at TechMgmtSF_StatelessSessionBeanWrapper32.getSearchTechnicians(TechMgmtSF_StatelessSessionBeanWrapper32.java:17
    at com.dsr.sov02.rovingeye.TechMgmtBD.getSearchTechnicians(TechMgmtBD.java:825)
    at com.dsr.sov02.rovingeye.TechMgmtBP.getSearchTechnicians(TechMgmtBP.java:339)
    at com.dsr.sov02.rovingeye.techmgmt.techsearch.TechSearchUCI.getSearchTechnicians(TechSearchUCI.java:124)
    at com.dsr.sov02.rovingeye.techmgmt.techsearch.TechSearchRH.processRequest(TechSearchRH.java:198)
    at com.dsr.sov02.rovingeye.RovingEyeRP.processRequest(RovingEyeRP.java:76)
    at com.dsr.sov02.rovingeye.RovingEyeFC.doGet(rovingeyefc.java:41)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:696)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Unknown Source)
    Thanks in advance.
    Kumar T.

    Kumar,
    From the stack trace you have posted, it appears that in line 87 of file "ResourceMgrEJB.java" (in package "com.dsr.sov02.resourcemgr.sf"), you are invoking a non-existent method. Have you looked at that line of the code?
    Good Luck,
    Avi.

  • NPE from com.evermind.server.ThreadState.getUser() creating slsb in UserManager

    I have a UserManager subclass which has to call session beans running in the application server.
    I successfully got my BeanRemoteHome object, but when I call "home.create()", I get the following exception:
    java.lang.NullPointerException
    com.evermind.security.User com.evermind.server.ThreadState.getUser()
              ThreadState.java:135
    com.attws.it.bsa.felix.ejb.session.UserEventManagerRemote UserEventManagerRemoteHome_StatelessSessionHomeWrapper6.create()
              UserEventManagerRemoteHome_StatelessSessionHomeWrapper6.java:61
    boolean com.attws.it.bsa.felix.common.utils.LoggingUserManager.checkPassword(java.lang.String, java.lang.String)
              LoggingUserManager.java:85
    boolean com.orionsupport.security.SimpleUserManager$UserWrapper.authenticate(java.lang.String)
              SimpleUserManager.java:63
    boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:559
    void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:243
    void com.evermind.util.ThreadPoolThread.run()
              ThreadPoolThread.java:64
    My code doesn't abort anything when this fails, it just goes on. Except for not being able to get this Remote interface in the UserManager class, my application starts up fine, and I'm able to perform operations.

    As an update, I just spent the last two hours writing a MDB to take the place of the session bean, in case that was the problem. I got past the obstacles that OC4J docs presented to me (specifying "jms-destination-type" instead of "destination-type", and neglecting to mention that you need to change the DOCTYPE to specify EJB 2.0 instead of 1.1) and successfully deployed an MDB, then I put some code into my UserManager to send a queue message instead of calling a session bean. When it finally got to the point of sending the message, I got the exception in the exact same place (this is from standalone OC4J, which is why the line number is 139 instead of 135):
    java.lang.NullPointerException
         at com.evermind.server.ThreadState.getUser(ThreadState.java:139)
         at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:701)
         at com.evermind.server.ejb.MessageDrivenHome.process(MessageDrivenHome.java:892)
         at com.evermind.server.jms.ServerQueue.add(ServerQueue.java:88)
         at com.evermind.server.jms.JMSServer.addMessage(JMSServer.java:313)
         at com.evermind.server.jms.LocalQueueConnection.send(LocalQueueConnection.java:46)
         at com.evermind.server.jms.EvermindQueueSession.send(EvermindQueueSession.java:117)
         at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:75)
         at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:36)
         at com.evermind.server.jms.EvermindQueueSender.send(EvermindQueueSender.java:31)
         at com.attws.it.bsa.felix.common.utils.LoggingUserManager.checkPassword(LoggingUserManager.java:134)
         at com.orionsupport.security.SimpleUserManager$UserWrapper.authenticate(SimpleUserManager.java:63)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:559)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

  • Got Error Like::com.evermind.server.ejb.TimeoutExpiredException.

    Hi,
    I have one big application in which we are using oracle9iAS and EJB. While I am searching some data which returns more than 15000 rows then I got Followed Error.
    I use,
    Front End ::Swing
    Middle Ware ::EJB
    Application Server ::OC4J 9i
    com.evermind.server.ejb.TimeoutExpiredException: timeout expired waiting for an instance
    at com.evermind.server.ejb.EntityEJBHome.getContextInstance(EntityEJBHome.java:309)
    at com.evermind.server.ejb.DBEntityEJBHome.createWrapperInstance(DBEntityEJBHome.java:114)
    at com.evermind.server.ejb.DBEntityEJBHome.getWrapperInstanceNoCache(DBEntityEJBHome.java:108)
    at com.evermind.server.ejb.DBEntityEJBHome.getWrapperInstance(DBEntityEJBHome.java:149)
    at FingdAttrBMHome_EntityHomeWrapper193.findBy_CompleteSQLFinder(FingdAttrBMHome_EntityHomeWrapper193.java:1086)
    at com.fritolay.mware.mf.prd.session.FGItems.FGItemAppSearchBean.approvalSearchMethod(FGItemAppSearchBean.java:1422)
    at com.fritolay.mware.mf.prd.session.FGItems.FGItemSFBean.approvalSearch(FGItemSFBean.java:9713)
    at FGItemSFRemote_StatefulSessionBeanWrapper30.approvalSearch(FGItemSFRemote_StatefulSessionBeanWrapper30.java:1186)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
    at java.lang.Thread.run(Thread.java:484)
    Error: null:null:ApprovalSearch()->Exception occured in ApprovalBDCSearch found
    Code which produce this error is as follows::
    public Collection ejbFindBy_CompleteSQLFinder(String strSql)
              throws RemoteException, FinderException, ServerSideException {
         methodName = "ejbFindBy_generalCompleteFinder(String strSql)";
         log(SIMPLE_MESSAGE, "\n\rSTARTED");
         Connection con = null;
         Statement stmt = null;
         try {
                   String selectSQL = strSql;
         log(SIMPLE_MESSAGE, "selectSql :\n\r" + selectSQL);
         con = new SqlUtility().getConnection(DATA_SOURCE_NAME);
         stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery(selectSQL);
                                       Vector v = new Vector();
                        while (rs.next()) {
              FingdAttrPK pk = new FingdAttrPK(getValue(rs,this.ITEM_SYS_NBR,"ITEM_SYS_NBR") , getValue(rs,this.CTRY_CODE,"CTRY_CODE") , getValue(rs,this.CO_CODE,"CO_CODE") , getValue(rs,this.FGITEM_ATTR_EFF_DT,"FGITEM_ATTR_EFF_DT"));
                             log(SIMPLE_MESSAGE, "" + pk );
                             v.addElement(pk);
                   }     // End of While
                             log(SUCCESSFULLY_DONE,"successfully done ....");
                        return v;
         catch (SQLException sqle) {
         log(ERROR_OCCURED, "SQL Exception while getting PK " + sqle.getMessage());
         sqle.printStackTrace();
         int iErrorCode = sqle.getErrorCode();
         String sErrorDesciption [] = new String[] {"SQL Exception while getting collection of PK " + sqle.getMessage()};
         ServerSideException sse = new ServerSideException(beanName + methodName,iErrorCode,sErrorDesciption);
         throw sse;
         finally {
         log(SIMPLE_MESSAGE, "releaseResource(Statement) : " + new SqlUtility().releaseResource(stmt));
         log(SIMPLE_MESSAGE, "releaseResource(Connection) : " + new SqlUtility().releaseResource(con));
    So, how i can solve this issue?? is there any setting in .xml files??
    Regards,
    Jignesh Patel

    Thanks to all, The problem solved
    Regards
    Madhu V

  • Unable to create class

    hi
    when i create a component, class file not create in jboss server and getting the below error while running that component in browser.. if i copy and paste it to the appropriate joboss server path it's working fine..
    pls help me to solve this issue
    17:08:49,125 ERROR [nucleusNamespace.] Unable to create class com.vam.review.MyR
    eviewFormHandler for configuration /com/vam/review/MyReviewFormHandler java.lang
    .ClassNotFoundException: com.vam.review.MyReviewFormHandler from BaseClassLoader

    Check your ATg-Class-Path for the module. The class has to be in ATG class path to be able to initialize.
    If its not then modify you module's manifest file and add the classes directory or JAR to ATG classpath
    In ${ATG_ROOT}/${YOUR_MODULE}/META-INF/MANIFEST.MF
    Change or add following attribute:
    ATG-Class-Path: bin lib/classes.jar

  • Com.evermind.server.http.HttpIOException: Connection aborted by peer: socke

    Hi
    I get an this stack on the server side while doing a forward using RequestDispatcher.
    com.evermind.server.http.HttpIOException: Connection aborted by peer: socket write error
    at com.evermind.server.http.EvermindServletOutputStream.flushBuffer(EvermindServletOutputStream.java:81)
    at com.evermind.server.http.EvermindHttpServletResponse.flushBuffer(EvermindHttpServletResponse.java:1818)
    at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:52)
    The funniest part is, i get this exception while i submit the request second time i get this error.. First time it works fine. :)
    ANy solution on this would be greatly appreciated.
    Thanks
    Manju

    Hi!
    I posted a TAR on metalink for this "read timed out" problem. This is the answer I got:
    apparently the messages that you listed seem refer to a problem in reading request data from the client - so the HttpIOException is triggered.
    I have made a little research on HttpIOException in request-reading context. There are only
    two situations in which HttpIOException can be raised without an causing IOExce
    ption, and I think none of them applies. So we'd have some kind of IOException t
    hat causes the HttpIOException. It might well be a SocketException, because the
    text "Read timed out" is as far as I know the standard text for SocketException
    if the socket's SoTimeout has been reached.
    In fact there is a configuration parameter for OC4J (though undocumented), which allows you to set the Socket's SoT
    imeout -- and the default is 15000 (measured in milliseconds). The name is "orac
    le.j2ee.http.socket.timeout", and it should be available in OC4J 9.0.3.1 and hig
    her (I am definitely sure that it exists in OC4J 9.0.4.1).
    So can you please add something like "-Doracle.j2ee.http.socket.timeout=120000" to the startup comma
    nd for your standalone OC4J container to increase the timeout from 15 seconds to
    2 minutes?
    It helped us, although some requests time out "normally" instead.
    /jonas

  • Com.evermind.server.http.HttpIOException: Broken pipe

    i am getting this error at my server. Can anybody help me in solving this. I am using Oracle 9iAs..and this is the full error that i get
    com.evermind.server.http.HttpIOException: Broken pipe
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(Compiled Code)
    at com.evermind.server.http.HttpIOException.<init>(Compiled Code)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.EvermindServletOutputStream.write(Compiled C
    ode)
    at com.evermind.server.http.HttpApplication.include(Compiled Code)
    at com.evermind.server.http.FileRequestDispatcher.forwardInternal(Compil
    ed Code)
    at com.evermind.server.http.FileRequestDispatcher.forward(Compiled Code)
    at Premier.RegistrationServlet.createHTML(Compiled Code)
    at Premier.RegistrationServlet.doGet(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(Compiled Cod
    e)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Com
    piled Code)
    at com.evermind.server.http.HttpRequestHandler.processRequest(Compiled C
    ode)
    at com.evermind.server.http.HttpRequestHandler.run(Compiled Code)
    at com.evermind.util.ThreadPoolThread.run(Compiled Code)

    I suggest you recompile your servlet RegistrationServlet with the debug option that way you will get the line in your source code that has triggered the Exception instead of (Compiled Code). From then on it will be easier for you to start undestanding what's going on.

  • Com.evermind.server.http.HttpIOException: Read timed out

    Hello,
    I am using embded oracle oc4j server and getting following exception, and I cant fine httpd.conf file to increase KeepTimeout
    ERROR : HttpRequestHandler-1229 com.tcs.sgv.common.exception.BaseException - The stack trace is:
    com.evermind.server.http.HttpIOException: Read timed out
         at com.evermind.server.http.EvermindServletInputStream.read(EvermindServletInputStream.java:92)
         at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
         at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:831)
         at com.hhc.MultipartInputStreamHandler.readLine(MultipartRequest.java:808)
         at com.hhc.MultipartRequest.readRequest(MultipartRequest.java:394)
         at com.hhc.MultipartRequest.<init>(MultipartRequest.java:222)
         at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.getNotings(NotingRequestHandler.java:1250)
         at com.tcs.sgv.fms.requesthandler.NotingRequestHandler.processRequest(NotingRequestHandler.java:304)
         at com.tcs.sgv.common.servlet.FrontServlet.processRequest(FrontServlet.java:171)
         at com.tcs.sgv.common.servlet.FrontServlet.doPost(FrontServlet.java:112)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    - 10 Jul 2009 05:10:24,782 - 703516 milliseconds
    Please help me regarding this problem

    Oracle have their own support forums at http://otn.oracle.com
    You may also want to search MetaLink.

  • Warning: Unable to create new entry, caught: "javax.ejb.CreateException", message is:

    Warning: Unable to create new entry, caught: "javax.ejb.CreateException", message is: "Error creating EntityBean: Io exception: The Network Adapter could not establish the connection".
    while executing JSP:<%
    * add.jsp
    * Adds a new entry through EmployeeBean. This is a JSP that serves 2
    * functions. First of all, when called with no arguments, it will display a
    * table with a few input fields. The user should enter empNo, empName and
    * salary of the new record to be added. When she submits this
    * information, it is sent to this page again. If it is successful, then the
    * user can continue adding new entries. If it is not, then the old data will
    * be displayed, and a warning message will be shown to her.
    %>
    <%@ page import="com.webstore.*,java.io.*,java.util.*,javax.naming.*" %>
    <%
    // Make sure this page will not be cached by the browser
    response.addHeader("Pragma", "no-cache");
    response.addHeader("Cache-Control", "no-store");
    // We will send error messages to System.err, for verbosity. In a real
    // application you will probably not want this.
    PrintStream errorStream = System.err;
    // If we find any fatal error, we will store it in this variable.
    String error = null;
    // In a moment we will check if all columns were passed to this page
    String param_1 = "";
    String param_2 = "";
    String param_3 = "";
    long dptNo = 0;
    String dptName = null;
    // This variable indicates what function of this page is currently used. If
    // this page is called with parameters, then a new entry should be
    // added. In that case this variable is true.
    boolean submitting = false;
    // We will first attempt to get the reference to EmployeeHome from the
    // session. The "list.jsp" page sets this attribute in the session.
    DepartmentHome home = (DepartmentHome) session.getAttribute("DepartmentHome");
    if (home == null) {
    error = "No previous connection to DepartmentBean.";
    } else {
    // Attempt to get all 3 parameters from the session
    param_1 = request.getParameter("DPTNO");
    param_2 = request.getParameter("DPTNAME");
    // If all 3 parameters are specified, then this is probably a submission by
    // this very page. Note that if the user left one of the fields blank, then
    // the corresponding parameter will be "", not null.
    if (param_1 != null && param_2 != null) {
    param_1 = param_1.trim();
    param_2 = param_2.trim();
    submitting = true;
    // In the following variable we will store a (non-fatal) warning message. This
    // message will be displayed in the page, but so will the submission form.
    String warning = null;
    if (submitting) {
    warning = "";
    // If there is an empty param_1, param_2 and/or param_3, then this will be noted
    // in the warning message.
    if ("".equals(param_1)) {
    warning = "Null param_1 specified. ";
    if ("".equals(param_2)) {
    warning += "Null param_2 specified. ";
    // If we don't have a warning message yet, then we will attempt to create
    // a new record.
    if ("".equals(warning)) {
    try {
    dptNo = (long)Long.parseLong(param_1);
    dptName = new String(param_2);
    Department rec = (Department) home.create(dptNo);
    rec.setDptname(dptName);
    // empty columns after insert for effect
    param_1 = "";
    param_2 = "";
    // If we got this far, then there was no problem detected.
    warning = null;
    } catch (Exception e) {
    // Set the warning variable to indicate a problem.
    warning = "Unable to create new entry, caught: \"" +
    e.getClass().getName() + "\", message is: \"" +
    e.getMessage() + "\".";
    // Decide what the title will be.
    String title;
    if (error != null) {
    title = "Error";
    } else {
    title = "com.webstore | Add entry";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE><%= title %></TITLE>
    </HEAD>
    <BODY bgcolor="#FFFFFF">
    <H1><%= title %></H1>
    <%
    // If there was a fatal error, then display the error message
    if (error != null) {
    %>
    <P><BLOCKQUOTE><%= error %></BLOCKQUOTE>
    <%
    // Otherwise display a table with fields to be filled in.
    } else {
    // If there was a warning, then display it.
    if (warning != null) {
    %>
    <TABLE border="1" bgcolor="#FF2222">
    <TR><TD><FONT color="#FFFFFF"><STRONG>Warning: <%= warning %></STRONG></FONT></TD></TR>
    </TABLE>
    <%
    } /* if */
    // Display the table with fields. There are two columns. The left column
    // contains the names of the fields, while the right column contains the
    // fields.
    %>
    <FORM action="dptadd.jsp" method="GET">
    <P><TABLE border="1">
    <TR>
    <TD><STRONG>DptNo:</STRONG></TD>
    <TD><INPUT type="text" name="DPTNO" value="<%= param_1 %>"></INPUT></TD>
    </TR>
    <TR>
    <TD><STRONG>DptName:</STRONG></TD>
    <TD><INPUT type="text" name="DPTNAME" value="<%= param_2 %>"></INPUT></TD>
    </TR>
    <TR>
    <TD colspan="3" align="center"><INPUT type="submit" value="Add this entry"></INPUT></TD>
    </TR>
    </TABLE>
    </FORM>
    <%
    } /* else */
    %>
    <P><TABLE border="1">
    <TR><TD>Back to list</TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    Please guide me..

    Rajive,
    This is the same problem as in your other post:
    sql is running very slow
    So please refer to my answer there.
    Good Luck,
    Avi.

  • Unable to create : com.mysql.jdbc.Driver error with JDeveloper 10.1.3

    Hi all,
    I got this error when I tried to execute a simple JSF app. I am using JDeveloper 10.1.3 release edition. Please advice
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    C:\JDeveloper10g\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper10g\j2ee\home\oc4j.jar;C:\JDeveloper10g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2006-01-31 21:40:47.062 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war...
    2006-01-31 21:40:47.093 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms
    2006-01-31 21:40:47.093 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\dms.war
    2006-01-31 21:40:47.156 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar...
    2006-01-31 21:40:47.156 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources
    2006-01-31 21:40:47.171 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\connectors\datasources\datasources.rar
    2006-01-31 21:40:47.218 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear...
    2006-01-31 21:40:47.281 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j
    2006-01-31 21:40:47.359 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j.ear
    2006-01-31 21:40:47.375 NOTIFICATION Auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war...
    2006-01-31 21:40:47.375 NOTIFICATION Unjar C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war in C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp
    2006-01-31 21:40:59.296 NOTIFICATION Finished auto-unpacking C:\JDeveloper10g\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\applications\bc4j\webapp.war
    2006-01-31 21:41:08.421 WARNING J2EE OJR0107 Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    06/01/31 21:41:08 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    Jan 31, 2006 9:41:08 PM com.evermind.server.ApplicationStateRunning initConnector
    SEVERE: Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:1961)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1220)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:356)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:208)
         at com.evermind.server.Application.setConfig(Application.java:391)
         at com.evermind.server.Application.setConfig(Application.java:309)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1532)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:939)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:322)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:1997)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:247)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:107)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.mysql.jdbc.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/JDeveloper10g/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\JDeveloper10g\j2ee\home\oc4j.jar
    This load was initiated at current-workspace-app.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2061)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1665)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:244)
         ... 15 more
    06/01/31 21:41:08 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Jan 31, 2006 9:41:08 PM com.evermind.server.Application setConfig
    WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    2006-01-31 21:41:08.531 WARNING J2EE 0JR0013 Exception initializing deployed application: current-workspace-app. Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 29125 ms.

    I did what Manu suggested with no success. Alternatively, I registered the driver jar with embedded OC4J preferences > global > libraries. Still does not work. Please, note, that when I run JUnit tests against my BC4J application modules with JDBC URL as connection type, everything works just fine. The problem comes while running the JSF application when the application module is using JDBC DataSource as connection type.

  • Unable to create javax.ejb.EJBObject

    I go to the http://host:port/caf ->User Interface Configuration -> Configuration Browser ->Object Editor -> New Configuration->and push button select service, or administrative tools ->authorization tool. On this functionalities i get the same error
    The initial exception that caused the request to fail, was:
       com.sap.caf.rt.exception.CAFBaseRuntimeException: Service manager initialization failed Illegal argument exception: Unable to create javax.ejb.EJBObject.
    All services in Visual Admin i have started. Who can help?

    can anybody help to solve? rwrd pts

  • Receiver SOAP channel error: Communication over HTTPS. Unable to create a socket

    Hi,
    I am getting following error while sending message from PI (7.1) to SalesForce system:
    'SOAP: call failed: java.io.IOException: Communication over HTTPS. Unable to create a socket'
    Scenario: Sending Customer data from SAP via Async proxy to PI which is sent further to SalesForce system via SOAP webservice call.
    When I am trying to Post data to the same webservice via SOAP UI it is working fine and data is getting updated in SalesForce system.
    XPI inspector logs for the channel suggest the following:
    client [103965] RequestImpl.initSslAttributes(): Initially sslAttributes = null
    client [103965] RequestImpl.initSslAttributes(): Cannot find SSL headers in the request.
    client [103965] RequestImpl.initSslAttributes(): No SSL attributes: not found in headers and not searched in FCA, because connection.isSecure() = false; sslAttributes = null
    I have checked the following SAP Note and requested for updation of SSL icm parameters
    891877 - Message-specific configuration of HTTP-Security
    I checked the following discussions:
    http://scn.sap.com/message/8910518#8910518
    http://scn.sap.com/message/6244674#6244674
    http://scn.sap.com/thread/2100000
    http://scn.sap.com/thread/1632114
    which are suggesting a different approach. Kindly suggest a way forward.
    Thanks,
    Vishwajeet

    This is related network issue.
    Did you do telnet in pi server with target system ip and port?
    If you use https then you need to install certificates.
    Check below threads
    http://scn.sap.com/thread/190299
    Unable to create socket error

  • Unable to create application module.  JNID/RMI problem?

    Hi forum,
    I've got an ADF/OC4J application deployed and running successfully but sometimes the following error comes up:
    JBO-30003: The application pool (com.miempresa.AppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught:
    oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.     at
    oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)     
    In stack trace details we can found:
    java.lang.Thread.run(Thread.java:595)## Detail 0 ##javax.naming.NameNotFoundException: com.miempresa.AppModule not found          
    at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)          at
    com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)          at
    com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)          at
    javax.naming.InitialContext.lookup(InitialContext.java:351)          at
    oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:136)
    Due to "NameNotFoundException", it seems to be reasonable to say that it's a JNDI problem. When application module is looked up through JNDI it's not found, so exeception is thrown. However, this doesn't happen frequently but occasionally. Why? What am I doing wrong?
    Thanks in advance for your help.
    Luis Serrano.

    Any ideas?

  • FTP error-Unable to create new pooled resource: com.sap.aii.adapter.file.ft

    Hi,
    We have a scenario where XI receives a Idoc and based on the contents of Idoc, It will generate 5 different files and send it to the external FTP server.We configured 5 receiver channels for these 5 files.
    When this interface runs, most of the files will be delivered but some of the messages will be errored out.
    The receiver channel has shown the following error-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: com.sap.aii.adapter.file.ftp.FTPEx
    I tried to resend them by temperorily stopping other channels to reduce connections to this FTP server.But these messages again resulted with same error.
    Can someone suggest what might be the cause for this error.
    Thanks in advance.

    Hi ,
    As I am not sure about the problem so U just try all of the option I am writing below. It may help u as these are the probable solutions for this problem.
    1.perform Full CPA cache refresh using PIDIRUSER
    2.The problem seems to be in establishing the connection with the File server . This could be due to
    a. Wrong user name or password in receiver adapter .
    b. Firewall connection are not open
    actually you are saying that some files are being delivered so all the file has to be deliverd on same server on diffrent directory or all files are going on diffrent server at present I am assuming that all files are going on diffrent server so please check UID & PWD properly.if they are on same server but diff. directory it can be easily done using one Communication channel only.
    3. Finally please check the errorneous communication channel .
    to check your communication channels are working fine or not you can check in channel monitoring in PI7.0, adapter monitoring in Xi3.0.
    if you are on PI7.0, goto RWBCache monitoring select AE and cilck disply-select the date todays--check everything is greent here
    4.Please check your maximal connection pool .
    Regards,
    Saurabh

Maybe you are looking for

  • Report on separate sheets

    In my application a page has a table with data rows. The source for the region is a PL/SQL-statement which generates the data rows. The data rows are grouped by the frist table column (person). The break formatting is at the first column. I have the

  • What license do I need to install QuickTime on educational machines?

    I work as a technician and webmaster for Martin Luther College and we are looking into installing QuickTime onto our institutional machines. I am wondering what permission/licenses we need to have in order to do that along with what restrictions thre

  • Adding Web Streaming Video to a Slide

    'Don't know if I'm asking this correctly... Does anyone know or is there a way to add a live webpage that has streaming video? -So then when I play my slideshow the webpage shows the streaming video, gets updated each time I hit that particular slide

  • Help! the camera disapeared on my iphone

    the camera app on my iphone isn't there anymore. I restored my iphone and it still isn't there. anyone ever had this happen?

  • UserName & Pass for Admin Cosole fails!!

    Installation went OK, I can get all examples running. However, when I fire up the Default Admin Server Console and attempt to logon to it by typing username and password, the logon fails everytime. what gives? bill