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.

Similar Messages

  • Com.evermind.server.http.HttpIOException: There is no process to read data

    Hi,
    In one of our web application deployed in OC4J( Oracle9ias 9.0.2.3) containers we are getting "com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe." Exception.
    The Stack Trace:
    com.evermind.server.http.HttpIOException: There is no process to read data written to a pipe.
         at com.evermind.server.http.EvermindServletOutputStream.flush(EvermindServletOutputStream.java(Compiled Code))
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java(Compiled Code))
         at java.io.OutputStreamWriter.close(OutputStreamWriter.java(Compiled Code))
         at com.ramco.security.servlet.Dispatcher.sendResponse(Dispatcher.java(Inlined Compiled Code))
         at com.ramco.security.servlet.Dispatcher.service(Dispatcher.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:513)
    Can anyone help us in resolving this issue?
    Regards,
    Suresh.M

    Hi,
    No... It is yet to be resolved.
    Oracle Recommends us to go to 10g ( at least 9.0.4 ) to check the issue.
    Thanks and Regards,
    Suresh.M

  • 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: 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.

  • Getting com.evermind.server.http.NotFoundServlet Exception

    Hi!
    My OC4J 9.0.4 is throwing "com.evermind.server.http.NotFoundServlet" exception messages in its application.log file, It is preceded by "Connection reset by peer: socket write error" or "Connection aborted by peer: socket write error". The whole text of messages are:
    "com.evermind.server.http.NotFoundServlet: destroy" or
    "com.evermind.server.http.NotFoundServlet: init"
    It appears without any explanation, My application consists of an EAR File that contains a WAR file with the JSP's of my application..
    Please could you help me with this issue?.
    Thanks for any support!

    Hi Tugdual
    You can find the full stack trace you requested obtained from the application.log file bellow:
    05/03/13 22:14:31 applicationWAR: jsp: init
    05/03/13 22:14:31 applicationWAR: 9.0.4.0.0 Started
    05/03/14 06:59:23 applicationWAR: Connection reset by peer: socket write error
    05/03/14 07:12:46 applicationWAR: Connection reset by peer: socket write error
    05/03/14 07:12:47 applicationWAR: Connection reset by peer: socket write error
    2005/03/14 07:12:47 applicationWAR: Connection reset by peer: socket write error
    05/03/14 08:06:42 applicationWAR: com.evermind.server.http.NotFoundServlet: init
    05/03/14 09:34:03 Started
    05/03/14 09:34:04 applicationWAR: jsp: init
    05/03/14 09:34:04 applicationWAR: 9.0.4.0.0 Started
    05/03/14 09:35:18 applicationWAR: com.evermind.server.http.NotFoundServlet: init
    05/03/14 15:00:02 applicationWAR: Connection reset by peer: socket write error
    05/03/14 16:47:01 applicationWAR: Connection reset by peer: socket write error
    05/03/14 16:47:01 applicationWAR: Connection reset by peer: socket write error
    My http-web-access.log file shows that the application keeps running until 09:03:33, so the server was restarted at 09:34:03 and I don't have any further information, I expect it to be enough.
    Thanks!!

  • ClassNotFoundException: com.evermind.server.http.EvermindJSPFactory

    Hi,
    I'm using jdev 11.1.2.1.0.
    In my web.xml i have :
    <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
            <init-param>
                <param-name>static_text_in_chars</param-name>
                <param-value>true</param-value>
            </init-param>
            <init-param>
                <param-name>generic_servlet_mode</param-name>
                <param-value>single</param-value>
            </init-param>
            <init-param>
                <param-name>page_provider</param-name>
                <param-value>oracle.adf.library.webapp.ADFJspResourceProvider</param-value>
            </init-param>
            <load-on-startup>0</load-on-startup>
        </servlet>When i start tomcat, i have this exception :
    GRAVE: Servlet /Gf threw load() exception
         [exec] java.lang.ClassNotFoundException: com.evermind.server.http.EvermindJSPFactory
         [exec]      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
         [exec]      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
         [exec]      at java.lang.Class.forName0(Native Method)
         [exec]      at java.lang.Class.forName(Class.java:169)
         [exec]      at oracle.jsp.runtimev2.JspServlet.loadClass(JspServlet.java:1050)
         [exec]      at oracle.jsp.runtimev2.JspServlet.init(JspServlet.java:376)
         [exec]      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
         [exec]      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
         [exec]      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
         [exec]      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
         [exec]      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         [exec]      at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
         [exec]      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
         [exec]      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
         [exec]      at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
         [exec]      at org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.startContainer(AbstractRunMojo.java:767)
         [exec]      at org.apache.tomcat.maven.plugin.tomcat6.AbstractRunMojo.execute(AbstractRunMojo.java:353)
         [exec]      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
         [exec]      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
         [exec]      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         [exec]      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         [exec]      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         [exec]      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         [exec]      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         [exec]      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         [exec]      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
         [exec]      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
         [exec]      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
         [exec]      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
         [exec]      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
         [exec]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         [exec]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         [exec]      at java.lang.reflect.Method.invoke(Method.java:597)
         [exec]      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
         [exec]      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
         [exec]      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
         [exec]      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)I opened the class "oracle.jsp.runtimev2.JspServlet" and saw this default factory : "com.evermind.server.http.EvermindJSPFactory", but i can't find this class anywhere!
    Any idea?
    Thanks in advance
    Clément

    I have the same problem than before : all pages are working excepts the ones using "jsp:include" or "region" (cf. jsp code in html source code! ).
    This is the web.xml :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
            <param-value>false</param-value>
        </context-param>
         <context-param>
            <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
            <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
            <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
            <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
            <param-value>differentDomain</param-value>
        </context-param>
       <!-- <filter>
            <filter-name>JpsFilter</filter-name>
            <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
            <init-param>
                <param-name>enable.anonymous</param-name>
                <param-value>true</param-value>
            </init-param>
        </filter>-->
        <filter>
            <filter-name>trinidad</filter-name>
            <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
       <!-- <filter-mapping>
            <filter-name>JpsFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>-->
        <filter-mapping>
            <filter-name>trinidad</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
       <!-- <listener>
            <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
        </listener>-->
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>resources</servlet-name>
            <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>MapProxyServlet</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/adf/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/afr/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <url-pattern>/servlet/GraphServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <url-pattern>/servlet/GaugeServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>MapProxyServlet</servlet-name>
            <url-pattern>/mapproxy/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/bi/*</url-pattern>
        </servlet-mapping>
        <mime-mapping>
            <extension>swf</extension>
            <mime-type>application/x-shockwave-flash</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>amf</extension>
            <mime-type>application/x-amf</mime-type>
        </mime-mapping>
         <resource-ref>
            <res-ref-name>jdbc/visarhDS</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
        </resource-ref>
    </web-app>Any help?
    Thanks
    Clément
    Edited by: Clement Visa on 7 févr. 2012 09:18

  • Com.evermind.server.deloyment.ContextScanningResourceProvider

    I am trying to use Sonic as my provider for my deployment, unfortunately the documentation is scanty and I cant find any info regarding this class. The documentation calls for a snippet(which isnt legit xml by the way) xml to be inserted to application.xml However this class comes up not found. Any pointers appreciated.
    thanks
    rick

    Problem :com.evermind.server.http.HttpIOException: Broken pipe
    Problem is stated by you:Found the problem. One of processes takes too long to finish before re-directing the page. The apache web server times out the connection. When the re-directing comes, the http connection has gone already. If the error were timeout instead of broken pipe, it might have been easier to identify the problem. Just want to share the reason with everyone.
    Please send me the solution for this.

  • 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)

  • Caught "com.evermind.server.rmi.OrionRemoteException" while attempting to find all De

    I am getting the following error while running JSP. Can anyone guide me.
    Caught "com.evermind.server.rmi.OrionRemoteException" while attempting to find all DepartmentBean entries.
    com.evermind.server.rmi.OrionRemoteException: Database error: Io exception: The Network Adapter could not establish the connection; nested exception is: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Add entry
    I have doubt in
    My rmi.xml file
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE rmi-server PUBLIC "Orion RMI-server" "http://xmlns.oracle.com/ias/dtds/rmi-server.dtd">
    <rmi-server port="23791" >     
         <!-- A remote server connection example -->
         <!-- <server host="the.remote.server.com" username="adminUser" password="123abc" /> -->
    <!--     <server host="169.254.162.207" username="admin" password="welcome" /> -->
    <!--     <server host="prg-fg9s9g12dnz" username="admin" password="welcome" /> -->
         <!-- path to the log-file where RMI-events/errors are stored -->
         <log>
              <file path="../log/rmi.log" />
         </log>
    </rmi-server>
    If I give server host line My oc4j server is NOT initialized.
    In My Data Sources file :
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="jdbc/DBConnection"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/DBConnection"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="RajiveShukla"
              password="pujavrms1"
              url="jdbc:oracle:thin:@localhost:1521:wbs"
              inactivity-timeout="30"
         />
    And JSP which I run is :
    <%
    * list.jsp
    * Lists all the entries stored through EmployeeBean. This JSP is the only JSP
    * that will actually connect to the entity bean. On success, it will save a
    * reference to the entity bean in the session. So there will be one reference
    * to the bean per session.
    %>
    <%@ page import="com.webstore.*,java.io.*,java.net.*,java.util.*,javax.naming.*,javax.rmi.*" %>
    <%
    // 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 the "error" variable. If
    // an exception is caught that corresponds with this error message, then we
    // will store it in the "exception" variable.
    String error = null;
    Exception exception = null;
    // First check if the reference to the EJB is already stored in the session.
    DepartmentHome home = (DepartmentHome) session.getAttribute("DepartmentHome");
    // If not, then attempt to get the initial JNDI context.
    if (home == null) {
    // When attempting to connect to JNDI, we store the reference to the
    // initial JNDI context in this variable. We will use it to lookup the
    // entity bean.
    Context context = null;
    try {
    context = new InitialContext();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to create the initial JNDI context.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // We have specified "EmployeeBean" in the web.xml file as the name
    // by which we would like to contact the EmployeeBean home interface. We will
    // have to prepend "java:comp/env/", the root `directory' for enterprise
    // beans.
    //final String location = "java:comp/env/DepartmentBean";
    if (error == null) {
    try {
    // Attempt to lookup an object at the specified location in the JNDI
    // context.
    //Object boundObject = context.lookup(location);
    Object boundObject = context.lookup("Department");
    // Try to convert it to an instance of EmployeeBean, the home
    // interface for our bean.
    home = (DepartmentHome) PortableRemoteObject.narrow(boundObject,
    DepartmentHome.class);
    // If we got this far, we've done it, let's save the reference to the
    // Employee home interface in the session for future use by both
    // this page and the other JSP pages.
    session.setAttribute("DepartmentHome", home);
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to lookup the Department bean at \"" + "\".";
    //location + "\".";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // This is the variable we will store all records in.
    Collection recs = null;
    if (error == null) {
    try {
    recs = home.findAll();
    } catch (Exception e) {
    exception = e;
    error = "Caught \"" + exception.getClass().getName() + "\" while " +
    "attempting to find all DepartmentBean entries.";
    errorStream.println(error);
    exception.printStackTrace(errorStream);
    // Decide what the title will be.
    String title;
    if (error != null) {
    title = "Error";
    } else {
    title = "com.webstore | List of entries";
    %>
    <!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>
    <%
    // Display the error message, if any.
    if (error != null) {
    %>
    <P><BLOCKQUOTE><%= error %></BLOCKQUOTE>
    <%
    // Display the exception message, if any.
    if (exception != null) {
    %>
    <P><BLOCKQUOTE><CODE><%= exception %></CODE></BLOCKQUOTE>
    <%
    } /* if */
    } else {
    // If there are no recs to be displayed, display a descriptive text.
    if (recs.size() == 0) {
    %>
    <P><BLOCKQUOTE>No entries found.</BLOCKQUOTE>
    <%
    // Otherwise display a table with all columns, and
    // display two extra choices: "Edit" and "Delete".
    } else {
    %>
    <P><TABLE border="1" width="100%">
    <TR>
    <TD><STRONG>DptNo (long)</STRONG></TD>
    <TD><STRONG>DptName (String)</STRONG></TD>
    <TD><STRONG>Actions</STRONG></TD>
    </TR>
    <%
    Iterator iterator = recs.iterator();
    while(iterator.hasNext()) {
         Department rec = (Department) PortableRemoteObject.narrow(iterator.next(),
    Department.class);
    long dptNo = rec.getDptno();
    String dptName= rec.getDptname();
    // put all pk columns in hashtable for URLEncoding
    Hashtable cols = new Hashtable();
    cols.put("DPTNO",Long.valueOf("dptNo"));
    // URLEncode columns as params to JSP
    StringBuffer buf = new StringBuffer();
    Enumeration params = cols.keys();
    while (params.hasMoreElements()) {
    String param = (String)params.nextElement();
    String value = (String)cols.get(param);
    buf.append(URLEncoder.encode(param) +
    "=" + URLEncoder.encode(value));
    if (params.hasMoreElements())
    buf.append("&");
    String editURL = "dptedit.jsp?" + buf;
    String deleteURL = "dptdelete.jsp?" + buf;
    %>
    <TR>
    <TD><%= dptNo %></TD>
    <TD><%= dptName %></TD>
    <TD><A href="<%= editURL %>">Edit</A> <A href="<%= deleteURL %>">Delete</A></TD>
    </TR>
    <%
    } /* for */
    %>
    </TABLE>
    <%
    } /* else */
    } /* else */
    // Finally display a link to the page that allows the user to add an entry
    // to the address book.
    %>
    <P><TABLE border="1">
    <TR><TD><A href="dptadd.jsp">Add entry</A></TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    Please guide me..

    Hi Avi,
    Thanks,
    I have already used earlier..
    the data-sources file is as under.
         <data-source class="com.evermind.sql.DriverManagerDataSource" name="jdbc/DBConnection" location="jdbc/OracleCoreDS" xa-location="jdbc/xa/OracleXADS" ejb-location="com.webstore.Department" connection-driver="oracle.jdbc.driver.OracleDriver" username="RajiveShukla" password="pxujxa" url="jdbc:oracle:thin:@PRG-FG9S9G12DNZ:1521:wbs" inactivity-timeout="30"/>
    </data-sources>
    The username and password and sid, I can connect in the sqlPlus
    Do we have to give remote server name in rmi.xml.. It is not initilizing the J2EE server if we give that.??
    I am using thin driver , if any change or any settings please write me..
    Thanks in advance..
    Rajive

  • Com.evermind.server.rmi.RMIClientContext.lookup ERROR

    Hello,
    I'm trying to follow up the JavaEE_tutorial.PDF (http://www.oracle.com/technology/obe/JavaEE_tutorial_10131/index.htm) and when want to testing the Data Model I get this error:
    D:\oracle\jdevstudio10131\jdk\bin\javaw.exe -client -classpath D:\oracle\jdevstudio10131\jdev\mywork\SRDEMO\Model\classes;D:\oracle\jdevstudio10131\j2ee\home\lib\ejb30.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink-essentials.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\activation.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\ejb.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\jms.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\jta.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\mail.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\servlet.jar;D:\oracle\jdevstudio10131\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\.client;D:\oracle\jdevstudio10131\j2ee\home\oc4j.jar;D:\oracle\jdevstudio10131\j2ee\home\lib\oc4j-internal.jar;D:\oracle\jdevstudio10131\opmn\lib\optic.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink.jar;D:\oracle\jdevstudio10131\toplink\jlib\toplink-oc4j.jar;D:\oracle\jdevstudio10131\toplink\jlib\antlr.jar org.srdemo.client.ServiceRequestFacadeClientEmbed
    javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.srdemo.client.ServiceRequestFacadeClientEmbed.main(ServiceRequestFacadeClientEmbed.java:23)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 3 more
    Process exited with exit code 0.
    Thanks in advance for your help,
    Miguel

    It does work!!
    I have a incorrect connection pool in the data-sources.xml
    Bye

  • 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.

  • Java.lang.NullPointerException at com.evermind.server.ObjectReferenceCleane

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

    I am getting the below error when the server is started. Can any one let me know why do we get this error?
    13/01/13 23:33:28.432 10.1.3.5.0 Started
    13/01/14 00:46:53.915 Internal server error
    java.lang.NullPointerException
    at com.evermind.server.ObjectReferenceCleaner.resetApplicationLogger(ObjectReferenceCleaner.java:260)
    at com.evermind.server.ObjectReferenceCleaner.cleanupApplicationLogger(ObjectReferenceCleaner.java:167)
    at com.evermind.server.ObjectReferenceCleaner.loaderDestroyed(ObjectReferenceCleaner.java:94)
    at oracle.classloader.EventDispatcher.loaderDestroyed(EventDispatcher.java:254)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1187)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1126)
    at oracle.classloader.PolicyClassLoader.close(PolicyClassLoader.java:1069)
    at com.evermind.server.ApplicationStateRunning.destroyClassLoaders(ApplicationStateRunning.java:1201)
    at com.evermind.server.Application.stateCleanUp(Application.java:3766)
    at com.evermind.server.Application.destroy(Application.java:802)
    at com.evermind.server.ApplicationServer.destroyApplications(ApplicationServer.java:2337)
    at com.evermind.server.ApplicationServer.destroy(ApplicationServer.java:2124)
    at com.evermind.server.ApplicationServerShutdownHandler.run(ApplicationServerShutdownHandler.java:93)
    at java.lang.Thread.run(Thread.java:662)
    13/01/14 00:48:42.413 10.1.3.5.0 Started

  • 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

  • ClassCastException: com.evermind.server.rmi.OrionRemoteException

    We have resently tried to move our application from OC4J 9.0.3 to the OC4J 9.0.4 preview.
    However when autogenerating data we get the following exception:
    com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:275)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:268)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95 as admin
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1499)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1452)
         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)
         at __Proxy1.createItemBatchBaseData(Unknown Source)
         at Sampleinstall.InstallSessionClient2.main(InstallSessionClient2.java:28)
         Nested exception is:
    java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at ItemBatchLocalHome_EntityHomeWrapper343.create(ItemBatchLocalHome_EntityHomeWrapper343.java:1063)
         at install.impl.InstallSessionBean.createItemBatchBaseData(InstallSessionBean.java:120)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:254)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95
         at com.evermind.server.rmi.OrionRemoteException.receive(OrionRemoteException.java:130)
         at com.evermind.server.rmi.RMIConnection.handleMethodInvocationResponse(RMIConnection.java:1622)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:406)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:286)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Process exited with exit code 0.
    The method which fails is the following method, which is located in an orinary stateless session bean:
    public void createItemBatchBaseData() {
    try{
    ItemBatchLocalHome itemBatchHome = getItemBatchLocalHome();
    ItemLocalHome itemHome = getItemLocalHome(); ItemLocal item = itemHome.findByPrimaryKey("5501");
    System.out.println("Før create "+item);
    ItemBatchLocal itemBatch = itemBatchHome.create(item,
    "B05501-1",
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    System.err.println("Efter create");
    item = itemHome.findByPrimaryKey("5502");
    /* FAILS HERE >> */ itemBatch = itemBatchHome.create(item,
    ("B05502-1"),
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    catch (CreateException e) {
    System.err.println("Et eller flere batchnumre er oprettet i forvejen \n");
    e.printStackTrace();
    catch (FinderException f){
    System.err.println("Ved oprettelse af batchnummer manglede relateret vare \n");
    f.printStackTrace();
    catch (NamingException e) {
    System.err.println("Naming");
    e.printStackTrace();
    itemBatch is a CMP entity bean, with nothing but the field getters and setters, so it should be quite basic.
    It worked without problems in 9.0.3, so we are wondering what we might have missed when changing to 9.0.4.
    mvh
    NHB

    We have resently tried to move our application from OC4J 9.0.3 to the OC4J 9.0.4 preview.
    However when autogenerating data we get the following exception:
    com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:275)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:268)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95 as admin
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1499)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1452)
         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)
         at __Proxy1.createItemBatchBaseData(Unknown Source)
         at Sampleinstall.InstallSessionClient2.main(InstallSessionClient2.java:28)
         Nested exception is:
    java.lang.ClassCastException: com.evermind.server.rmi.OrionRemoteException
         at ItemBatchLocalHome_EntityHomeWrapper343.create(ItemBatchLocalHome_EntityHomeWrapper343.java:1063)
         at install.impl.InstallSessionBean.createItemBatchBaseData(InstallSessionBean.java:120)
         at InstallSession_StatelessSessionBeanWrapper2717.createItemBatchBaseData(InstallSession_StatelessSessionBeanWrapper2717.java:254)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:479)
    at connection to wmsserver/192.168.1.95
         at com.evermind.server.rmi.OrionRemoteException.receive(OrionRemoteException.java:130)
         at com.evermind.server.rmi.RMIConnection.handleMethodInvocationResponse(RMIConnection.java:1622)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:406)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:286)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Process exited with exit code 0.
    The method which fails is the following method, which is located in an orinary stateless session bean:
    public void createItemBatchBaseData() {
    try{
    ItemBatchLocalHome itemBatchHome = getItemBatchLocalHome();
    ItemLocalHome itemHome = getItemLocalHome(); ItemLocal item = itemHome.findByPrimaryKey("5501");
    System.out.println("Før create "+item);
    ItemBatchLocal itemBatch = itemBatchHome.create(item,
    "B05501-1",
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    System.err.println("Efter create");
    item = itemHome.findByPrimaryKey("5502");
    /* FAILS HERE >> */ itemBatch = itemBatchHome.create(item,
    ("B05502-1"),
    new Long(System.currentTimeMillis()),
    new Boolean(false),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Double(0),new Double(0),new Double(0),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Long(System.currentTimeMillis()),
    new Integer(0));
    catch (CreateException e) {
    System.err.println("Et eller flere batchnumre er oprettet i forvejen \n");
    e.printStackTrace();
    catch (FinderException f){
    System.err.println("Ved oprettelse af batchnummer manglede relateret vare \n");
    f.printStackTrace();
    catch (NamingException e) {
    System.err.println("Naming");
    e.printStackTrace();
    itemBatch is a CMP entity bean, with nothing but the field getters and setters, so it should be quite basic.
    It worked without problems in 9.0.3, so we are wondering what we might have missed when changing to 9.0.4.
    mvh
    NHB

Maybe you are looking for

  • How many Emails can you send at once with Apple Mail?

    I found out that road runner will allow me to send 1000 email in a 24 hour period. The question is, can I put 950 email addresses in the bcc and send it, or is it too many e mails at once. How many or what is the max emails you can send at once? Than

  • Installing Discoverer with Database Version Oracle 10g Express Edition

    Hello, Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download. Regards

  • Forgot user password, how to reset mac pro to factory settings

    hi guys, Recently I bought a used mac OS X 10.5, am very new to mac world. i am unable to load any softwares like wireless adapters since I am unable to get the password for the previous user. Also, I would like to reset the computer to factory setti

  • Order:MHSJN3K4GY I didn't receive this application.

    LINE, 200枚LINE代幣 NT$120 I don't buy this. And I re-check my LINE APP's record. It have no the 200枚LINE代幣. Please clear this billing payment. Thank you very much. Order: MHSJN3K4GY Item: LINE, 200枚LINE代幣 NT$120 With best regards, 李智淵 <Email Edited by

  • PS Elements 6 moved editing box off screen

    I was adjusting brightness and moved the brightness editing box off the screen. Now I can't get it back to close and all the menu items are greyed out so I can't save or close anything. Anyone have any ideas. I don't want to lose 2 hrs. editing.