Servlet starting a long process

Good day!
          We have a servlet that starts a long process (potentially an hour). We dont
          want to keep the connection open that long however. Currently we solve this
          problem by starting a second thread from within the servlet, and letting it
          run.
          However, this has a problem. This thread uses EJBs that are passed from the
          original thread. Weblogic's 6.1 docs say "To avoid undesireable
          interactions with WebLogic Server threads, do not let your threads call into
          WebLogic Server components."
          We've noticed one such unpleasant interaction if the servlets and ejbs are
          on the same server, but in different apps.
          So I'm wondering:
          A) what do people do when using threads to avoid this issue
          B) what alternative to threading do other people use in situations like
          this
          

For example, you can do it like this (using time services):
          http://dima.dhs.org/misc/LongRunningTask.jsp
          deepak <[email protected]> wrote:
          > i also want to do something like this & thought of forwarding the
          > request to a JSP from servlet and then do the processing part below
          > the forward.
          > Is this a correct way ?
          > regards
          > deepak
          > Mark Spotswood <[email protected]> wrote in message news:<[email protected]>...
          >> Two possibilties I can think of are:
          >> 1. Use a timer (set to fire immediately) to fire the EJB (but be aware that
          >> our timer services have been deprecated in favor of the JMX timer
          >> service)
          >> For more info on this, look at:
          >> http://e-docs.bea.com/wls/docs70/time/index.html
          >> 2. Use a message driven bean.
          >> http://e-docs.bea.com/wls/docs70/ejb/message_beans.html#1050867
          >> Hope this is helpful.
          >> --
          >> mark
          >>
          >> Mark Birenbaum wrote:
          >>
          >> >Good day!
          >> >
          >> >We have a servlet that starts a long process (potentially an hour). We dont
          >> >want to keep the connection open that long however. Currently we solve this
          >> >problem by starting a second thread from within the servlet, and letting it
          >> >run.
          >> >
          >> >However, this has a problem. This thread uses EJBs that are passed from the
          >> >original thread. Weblogic's 6.1 docs say "To avoid undesireable
          >> >interactions with WebLogic Server threads, do not let your threads call into
          >> >WebLogic Server components."
          >> >
          >> >We've noticed one such unpleasant interaction if the servlets and ejbs are
          >> >on the same server, but in different apps.
          >> >
          >> >So I'm wondering:
          >> >A) what do people do when using threads to avoid this issue
          >> >B) what alternative to threading do other people use in situations like
          >> >this
          >> >
          >> >
          Dimitri
          

Similar Messages

  • Very hard to implement a long process dll or applicatio​n in TestStand such as firmware download task.

    Hi All
    In my daily projects there are many firmware download tasks on mass production for kinds of products sucha s phone, mp3, game box and so on. The common download is performed via USB or serial port.
    Firmware download is often a long process what will take up to hundreds of seconds. The download application or dll is often provided by customer or the chipset supplier, I have ever call a download dll in TestStand, the only way is to run the dll in another threading and at the UI threading I monitor the dll's log file for status, it looks a very stupid way to do, things oftn lose control.
    This time I have to automatically download firmwares to a mp3(Sigmatel chipset), Sigmatel provided an application for parallel downloading what is very unstable, the application often hangs or crash, I tried to update the application source code but Sigmatel says they will not support if I change something.
    If someone use the application, he needs to press the START button, if fail, press the STOP firstly, if crash..... everything lose control. In my opinion, even if I change the application to a dll, there are still long processes, I must let TestStand wait there for the log file information? I do not think that is a good idea.
    My thought is this is a usual task in manufacturing, could someone please advice me how do you handle this kind of testing in your test station? How to run a long process task in TestStand and communicatio with it and keep everything in control.
    Thanks.
    帖子被paulbin在04-06-2008 07:49 PM时编辑过了
    *The best Chinese farmer*

    Hi,
    I have used a VC++ dll
    Here are some snipptes
    void CProcessLoaderApp:ostMessageToProcess(LPPROCESS_INFORMATION lpProcessInformation,UINT Msg, WPARAM wParam, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT fwhs;
     fwhs.ProcessInfo = lpProcessInformation;
     fwhs.hWndFound  = NULL;
    EnumWindows ( EnumWindowCallBack, (LPARAM)&fwhs ) ;
     PostMessage ( fwhs.hWndFound, Msg, wParam, lParam );
    BOOL CALLBACK CProcessLoaderApp::EnumWindowRcs5SystemTestCallBac​k(HWND hwnd, LPARAM lParam)
     FINDWINDOWHANDLESTRUCT * pfwhs = (FINDWINDOWHANDLESTRUCT * )lParam;
     DWORD ProcessId;
     CString Title;
     GetWindowThreadProcessId ( hwnd, &ProcessId );
     // note: In order to make sure we have the MainFrame, verify that the title
     // has Zero-Length. Under Windows 98, sometimes the Client Window ( which doesn't
     // have a title ) is enumerated before the MainFrame
     CWnd::FromHandle( hwnd )->GetWindowText(Title);
     if ( ProcessId  == pfwhs->ProcessInfo->dwProcessId && Title.Compare("MyApplicationName_ReplaceThatStuff"​) == 0)
      pfwhs->hWndFound = hwnd;
      return false;
     else
      // Keep enumerating
      return true;
     MainStuff:
    SetCursorPos(10,23);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONDOWN,0​x01,0x000A0017);
      WaitForSingleObject(Event,200);
     m_App.PostMessageToProcess(&g_pi,WM_LBUTTONUP,0x0​0,0x000A0017);
      WaitForSingleObject(Event,200);
    Greetings
    juergen
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • JMS Message resent for for long processes

    Hi,
    Currently we using Webspher App Server 6 and WSAD 6 as our development platform. We are also using Websphere MQ as our JMS server.
    We have one MDB resposible for processing data extraction/migration jobs from legacy databases that can take anywhere from 20minutes to several hours to complete. Once the MDB receives the message, it starts the extraction process based on the information received in the message.
    The problem is, once the job completes, it restarts again because the same message is resent to the MDB. Checking the value of getJMSRedelivered() from the message shows it is true the second time the message is received. I suspect the problem is the long time taken to execute the job, as when i test with a shorter job (1-2mins), the message is not resent. If the job takes approx more than 6mins, then the message is resent, but im not exactly sure of the actual time before the message is resent.
    Im unsure where the problem lies. Currently i just check if the message is redelivered, and just ignore it, but this should not be the case, as redelivery is needed if there were any problems.
    How do i avoid the redelivery? Where could the problem be ??
    need help as im no expert on JMS :-)
    Thanks.

    Hi,
    Currently we using Webspher App Server 6 and WSAD 6
    as our development platform. We are also using
    Websphere MQ as our JMS server.
    We have one MDB resposible for processing data
    extraction/migration jobs from legacy databases that
    can take anywhere from 20minutes to several hours to
    complete. Once the MDB receives the message, it
    starts the extraction process based on the
    information received in the message.
    The problem is, once the job completes, it restarts
    again because the same message is resent to the MDB.
    Checking the value of getJMSRedelivered() from the
    message shows it is true the second time the message
    is received. I suspect the problem is the long time
    taken to execute the job, as when i test with a
    shorter job (1-2mins), the message is not resent. If
    the job takes approx more than 6mins, then the
    message is resent, but im not exactly sure of the
    actual time before the message is resent.
    Im unsure where the problem lies. Currently i just
    check if the message is redelivered, and just ignore
    it, but this should not be the case, as redelivery is
    needed if there were any problems.
    How do i avoid the redelivery? Where could the
    problem be ??
    need help as im no expert on JMS :-)
    Thanks.hi buddy, hope while depyloying the you are setting the acknowledte mode to Auto-acknowledge in ejb-jar.xml file as shown below.
    <ejb-jar>      
    <enterprise-beans>
    <message-driven>
    <ejb-name>SimpleMessageBean</ejb-name>
    <ejb-class>in.co.persistent.SimpleMessageBean</ejb-class>
    <message-selector>MessageType = 'Fatal'OR MessageType ='Error''</message-selector>
    <transaction-type>Bean</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode> <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    Auto-acknowledge avoids duplicate messages because the acknowledgment is sent immediately. Therefore, the JMS provider won't send a duplicate. Most MDBs use Auto-acknowledge, to avoid processing the same message twice.
    Dups-ok-acknowledge exists because it may allow a JMS provider to optimize its use of the network. In practice, though, the overhead of an acknowledgment is so small, and the frequency of communication between the MDB container and JMS provider is so high, that Dups-ok-acknowledge doesn't have a big impact on performance. Obviously, with Dups-ok-acknowledge, your MDBs must be able to handle duplicate messages correctly.

  • Why xfce would start kde related process

    hi all:
    I am installed kde and xfce in my laptop.and I start kde or xfce using xinit. but recently ,when  I start xfce ,it would start some kde processes  automaticly , they are : kdevtmpfs , kdeinit4 , kded4 . and these processes take a long time during the xfce start(if these processes not start automaticly, it would be fast). how it happen , any one could help me ?
    thanks.

    hi ernetas, this is my petree and I am not runing any kde program now:
    systemd─┬─at-spi-bus-laun─┬─dbus-daemon
            │                 └─3*[{at-spi-bus-laun}]
            ├─at-spi2-registr───{at-spi2-registr}
            ├─bumblebeed
            ├─3*[dbus-daemon]
            ├─dbus-launch
            ├─dhcpcd
            ├─fcitx───{fcitx}
            ├─fcitx-dbus-watc
            ├─gconfd-2
            ├─gpg-agent
            ├─gvfs-afc-volume───2*[{gvfs-afc-volume}]
            ├─gvfs-udisks2-vo───{gvfs-udisks2-vo}
            ├─gvfsd───{gvfsd}
            ├─gvfsd-fuse───4*[{gvfsd-fuse}]
            ├─gvfsd-metadata───{gvfsd-metadata}
            ├─gvfsd-trash───{gvfsd-trash}
            ├─ifplugd
            ├─kactivitymanage───5*[{kactivitymanage}]
            ├─kded4   ********************************************************  (here is the kde process)
            ├─kdeinit4───klauncher ********************************************************(here is the kde process)
            ├─kglobalaccel
            ├─lilyterm─┬─bash───pstree
            │          ├─gnome-pty-helpe
            │          └─3*[{lilyterm}]
            ├─login───bash───xinit─┬─X───2*[{X}]
            │                      └─sh───xfce4-session─┬─Thunar───2*[{Thunar}]
            │                                           ├─xfce4-panel─┬─panel-2-mix+
            │                                           │             ├─panel-6-sys+
            │                                           │             └─2*[{xfce4-p+
            │                                           ├─xfdesktop───{xfdesktop}
            │                                           ├─xfwm4
            │                                           └─2*[{xfce4-session}]
            ├─opera─┬─opera:libflashp───{opera:libflashp}
            │       └─7*[{opera}]
            ├─polkit-gnome-au───{polkit-gnome-au}
            ├─polkitd───5*[{polkitd}]
            ├─systemd-journal
            ├─systemd-logind
            ├─systemd-udevd
            ├─udisksd───4*[{udisksd}]
            ├─upowerd───2*[{upowerd}]
            ├─wpa_supplicant
            ├─xfce4-appfinder───{xfce4-appfinder}
            ├─xfce4-power-man───{xfce4-power-man}
            ├─xfconfd
            └─xfsettingsd───{xfsettingsd}
    ps : when i start my pc before run 'xinit xfce' , there are no these kde processes. do you have any idea ?

  • 503 Service Unavailable,Servlet error: Parsing error processing resource pa

    1)I have developed an application using Struts framework(For the View and controller part ) and EJBs. When I run this application using the Embedded OC4J provided with JDeveloper,it runs fine.But when I try to deploy the same to the StandAlone OC4J(which I downloaded from OTN) or to the Application Server,I get the following error
    --503 Service Unavailable,Servlet error: Parsing error processing resource path ---
    2)The StandAlone OC4J version is 9.0.4.0.0 and I used JDK 1.4.
    3)The same application runs fine when deployed to StandAlone OC4J when I developed it using only JSPs and EJB.
    4)I even added the different libs for Struts inside WEB-XML folder under my Application Folder Structure.
    5)The StandAlone OC4J Server runs fine and displays the First Page when it is started.
    6)I even installed a totally new StandAlone OC4J and deployed all my previous applications to this new server.All the applications except where I used Struts Framework ran fine.
    The Error Message is
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication.ear... done.
    04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear ends...
    04/11/01 10:36:44 Notification ==> Initialize EJBapplication.ear begins...
    04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
    plication\EJBDEMOwar.war... done.
    04/11/01 10:36:45 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication/META-INF/orion-application.xml
    to deployment directory C:\OC4J\New Folder\j2ee\home\application-deployments\EJB
    application...
    04/11/01 10:36:45 Notification ==> Initialize EJBapplication.ear ends...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar begins...
    04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar ends...
    04/11/01 10:36:46 ArchiveContext: containsDirectory(META-INF) plus '/' found in
    C:\OC4J\New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar in entry
    META-INF/MANIFEST.MF
    04/11/01 10:36:46 Copying default deployment descriptor from archive at C:\OC4J\
    New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar/META-INF/orion-e
    jb-jar.xml to deployment directory C:\OC4J\New Folder\j2ee\home\application-depl
    oyments\EJBapplication\EJBDEMOear.jar...
    04/11/01 10:36:46 Auto-deploying - EJBDEMOear.jar (No previous deployment found)
    04/11/01 10:36:49 Auto-deploying - compiling and loading...
    04/11/01 10:37:00 done.
    04/11/01 10:37:00 Notification ==> Application Deployer for EJBapplication COMPL
    ETES [ 2004-11-01T10:37:00.405IST ]
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:37:04 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    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(Relea
    sableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 40 more
    Nov 1, 2004 10:37:04 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
    ication.java:4617)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
    java:765)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
    497)
    at com.evermind.server.Application.getHttpApplication(Application.java:8
    86)
    at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
    a:688)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
    tionBinder.java:171)
    at com.evermind.server.administration.DefaultApplicationServerAdministra
    tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    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(Relea
    sableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Nov 1, 2004 10:38:25 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Nov 1, 2004 10:38:25 AM org.apache.commons.digester.Digester startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1789)
    at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1684)
    at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1713)
    at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
    9)
    at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
    at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:259)
    at org.apache.commons.digester.Rule.begin(Rule.java:200)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
    assLoader.java:172)
    at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
    .java:1154)
    at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
    ava:390)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
    at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
    ava:138)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 29 more
    Nov 1, 2004 10:38:25 AM org.apache.struts.action.ActionServlet handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2540)
    at org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2566)
    at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1181)
    at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
    er.java:138)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:267)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
    java:2094)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
    java:4523)
    at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
    lication.java:2561)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:640)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    thanks, now it is working. It seems that somehow the http server didn't start automatically with reboot.
    Groxy

  • Error in starting WebLogic Server Process

    Hi,
    I'm suffering a serious sproblem that results in failure in starting WebLogic
    Server Processes. What i'm trying is to use "PostBindUID" nad "PostBindGID" services
    that changes the processes owner from "root" to "somebody". However, once i set
    it in Console (Configure a new Unix Machine), the server cannot start afterwards
    with the following errors in the screen (when i execute startWebLogic.sh) ...
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x917116B8
    Function=Java_weblogic_platform_Unix_getEGroup0+0x28
    Library=/opt/weblogic/bea/weblogic81/server/lib/solaris/libweblogicunix1.so
    Current Java thread:
    at weblogic.platform.Unix.getEGroup0(Native Method)
    at weblogic.platform.Unix.getEffectiveGroup(Unix.java:95)
    at weblogic.t3.srvr.T3Srvr.switchEffectiveGroup(T3Srvr.java:2080)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:1001)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    Dynamic libraries:
    0x10000 /opt/weblogic/bea/jdk141_05/bin/java
    0xff360000 /usr/lib/libthread.so.1
    0xff3a0000 /usr/lib/libdl.so.1
    0xff280000 /usr/lib/libc.so.1
    0xff350000 /usr/platform/FJSV,GPUZC-M/lib/libc_psr.so.1
    0xfe000000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/server/libjvm.so
    0xff210000 /usr/lib/libCrun.so.1
    0xff1f0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0b0000 /usr/lib/libm.so.1
    0xff240000 /usr/lib/libw.so.1
    0xff090000 /usr/lib/libmp.so.2
    0xff060000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/native_threads/libhpi.so
    0xff030000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libverify.so
    0xfe7c0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libjava.so
    0xfe7a0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libzip.so
    0xfe670000 /usr/lib/nss_files.so.1
    0x91850000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libnet.so
    0x91710000 /opt/weblogic/bea/weblogic81/server/lib/solaris/libweblogicunix1.so
    0x914d0000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libnio.so
    0x914b0000 /usr/lib/librt.so.1
    0x91260000 /usr/lib/libaio.so.1
    0x91240000 /opt/weblogic/bea/jdk141_05/jre/lib/sparc/libioser12.so
    0x90d60000 /usr/lib/nss_dns.so.1
    0x90b30000 /usr/lib/libresolv.so.2
    Local Time = Mon Jun 14 18:16:04 2004
    Elapsed Time = 143
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Server VM (1.4.1_05-b01 mixed mode)
    Abort
    If anyone have any thoughts, please kindly let me know.
    Many thanks,
    Ralph

    Hi,
    Few comments here...
    1) Seems your environment is not setup correctly but that is not the big cause here.....
    2) This one is important, it seems that you installed weblogic using a different account and are trying to run it from a different account.
    So the account with which you are trying to run weblogic does not have proper permission on
    MW_HOME\user_projects\domains\bifoundation_domain\config\fmwconfig\bootstrap\cwallet.sso
    Right click on the file and go in properties ..
    Enable full control,modify,Read and execute,read and write permissions for the user you are trying to start weblogic and apply it.
    if this simple steps doesnt work, please enable more logging by adding "-Djava.security.debug=jpspolicy" to startup option and grab more details.
    Good Luck let me know if this works.

  • Failed to start ns-slapd process on Windows

    I install Sun Directory Server 6.0 on Windows:
    1. Installation
    dsee_deploy install -c DS -i D:\DirectoryServer
    2. Create Instance
    D:\DirectoryServer\ds6\bin\dsadm create D:\DirectoryServer\ds
    3. Start instance
    D:\DirectoryServer\ds6\bin\dsadm start D:\DirectoryServer\ds
    And get folloving error:
    Server not running ! Failed to start ns-slapd process
    Server's log is empty.
    What I can do to solve this problem ?
    I see topic with this problem on UNiX platform, and
    how about Windows 2003? I make installation as Administrator.
    Michael Vasilyev

    Thank you, Ludovic !
    I have new error when create Instance with command (changes default port number):
    dsadm create -p 1525 D:\DirectoryServer\ds
    Then I start DirectoryServer:
    dsadm start D:\DirectoryServer\ds
    And get in command line:
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Waiting for server to start...
    Server not running!! Failed to start ns-slapd process
    In Dialog Window appear message:
    Directory Server ds is terminating. Failed to set the EventLog source.
    ---------------------------------------------------------------------------------------------

  • Getting error while Startting a BPM process programmatically

    Hi Experts,
    I am getting an error while trying to start the BPM process programmatically. What i have done till now is
    1. Created a WS in process composer
    2. Binded this ws with start of the process
    3. Created input parameters
    4. Testing it in WS Navigator
    I am following this doc /people/arafat.farooqui/blog/2009/08/13/introduction-to-sap-netweaver-bpm-part-4
    and I am getting error while testing in WS Navigator. I am getting error at the last step i.e. in result step and the error is
    Web Service returned an error. Fault Code: "(http://schemas.xmlsoap.org/soap/envelope/)Client" Fault String: "No operation found using soap keys [], [cn_comments]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: (BindingType=Soap, SEIName=NewWSDLFile, BindingQName=(http://www.example.org/NewWSDLFile/)NewWSDLFileSOAP, PortTypeQName=(http://www.example.org/NewWSDLFile/)NewWSDLFile, SoapVersion=SOAP11, Galaxy_SDO=true, InterfaceMappingID=45ffb27c:1237f972cd8:-7d7e)."
    If possible can any one help me out.
    Thanks and regards
    Pranav

    Hi Arafat,
    Thanks for replying. Yes i have completed the output mapping. Input parameters i need for this service are :
    1. cn_comments
    ca_comments
    2. cn_planningGroup
    ca_account
    ca_serialnumber
    and few more attributes
    Now, what i did was i have created a complex type and added elements in it. But to my surprise i was not able to get these nodes and elements in output mapping. So, i changed the type of "parameter" from "new operation" to my complex type. By doing this i was able to get my nodes and elements in output mapping. Now i tested the entire thing in WS Navigator and i got that error.
    Please suggest how o proceed.
    Regards
    Pranav

  • Transaction FKKORDM started taking long to complete the execution.

    Transaction FKKORDM started taking long to complete the execution. I faced the this issue before so i re-generated the interval then this issue got resolved.  Now i am again start facing same issue and it is not being resolved by re-generating the intervals.
    Can some one let me know any possible cause of this long run.
    Thanks.

    Hello,
    You could try the following:
    Go to the Implementation Guide of the contract accounting (under
    'Technical settings' -> 'Prepare mass activities') and maintain the
    settings for the general control for the mass run types.
    Delete the 'No reconciliation key' indicator on the 'Reconciliation key'
    tab and set the 'Mass posting' indicator.
    See if this can help.
    Regards
    Olivia

  • How do I start my setup process all over again?

    How do i start my setup process all over again?  I didn't complete it and I don't think its registered. My PC's iTunes does not see it.

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:                                                             
    iTunes: Restoring iOS software
    Try another cable
    Try on another computer
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              

  • I have a Panasonic camcorder PV-GS65 and I used to be able to connect to my iMac and my machine would automatically recognize the camera, rewind the tape, and start the import process as soon as I turned the device on and it was connected.  not anymore

    I have a Panasonic camcorder PV-GS65 and I used to be able to connect to my iMac and my machine would automatically recognize the camera, rewind the tape, and start the import process as soon as I turned the device on and it was connected.  Now my iMac does not even see my device
    Any suggestions?

    You cannot install the apps on the car.
    The cars head unit is merely acting as an interface to the apps on the device.
    If you want to use those apps in the car, plug the device in and leave it plugged in.

  • How to start a BPEL Process using the File Adapter

    Hi
    I would like to automatically start a BPEL Process when I store a file in a specific directory. Can this be done using the File Adapter?.
    Regards,
    Néstor Boscán

    Yes, there are samples of how to do this in the BPEL samples directory.

  • Unable to start from sub process

    The scenario of our application is :
    We have multiple processes,each again having multiple activities inside them.
    There is one main processes and the others are all sub processes.
    The main process looks something like below :
    Start->Sub-process1->Sub-Process2->Sub-Process3->Sub-Process4->Sub-Process5->End
    My requirement is to start the main process from Sub-Process2,rather than the usual way of instantiating the main process.
    I tried configuring Sub-Process2 as an alternative Start (in the Work Flow Builder),but that doesnt seem to be working.
    I am using Java APIs to interact with Oracle Work Flow.
    Any ideas ??
    Amit.

    One possibility is to call WF_ENGINE.CompleteActivity() if you need to start a process with an activity node that is mid-stream in a process thread and not at the beginning of a process thread. The activity node you specify as the beginning of the process must be set to 'Start' in the Node tab of its property page.
    http://download-west.oracle.com/docs/cd/B10501_01/workflow.920/a95265/wfapi42.htm#comact

  • Unable to start obiee11g oracle process manager

    hi,
    i am unable to start the server
    console services are started and bni_server1 also started but oracle process manager is not running
    please help
    thanks
    chinu

    –> Start NodeManager from the Command Prompt
    Cd bi0104\wlserver_10.3\server\bin
    startNodeManager.cmd
    Wait untill you see message “Secure socket listener start at port……”
    –> Start Admin server from command prompt
    Cd bi0104\user_projects\domains\bifoundation_domain\bin
    startWebLogic.cmd
    It will ask for user name / password. Specify the user details that you used at the time of the Oracle BI 11g install. You could also use a ‘Boot Identity File’ -(boot.properties). Check the documentation for more details.
    Wait untill you see message Admin server is in ‘RUNNING MODE’.
    –> Now start Managed server from GUI
    Access WebLogic console from a webbrowser
    http://<machinename>:7001/console
    Login, Environment > servers > Control > select bi_server1 > click on start
    It would take some time for the Managed server to start. Wait untill you see the ‘Running’ status.
    –> Now start the OBIEE components from command prompt
    Cd bi0104\instances\instance7\bin
    opmnctl startall
    Note that it’s a possible startup sequence. There are multiple ways to statup.
    i am getting all above messages all but not getting oracle process manager up in the services.msc
    error : not getting up in timely fashion -1053
    thanks
    Edited by: user11165720 on Apr 1, 2011 4:24 AM

  • Start a BPM process programmatically

    Hi Experts,
    I am trying to start my BPM process using a button event from WD JAVA. I have created a Web service and I have assigned it with my start step of process. But, problem is in WS Navigator I am able to see that service in Local JAVA AS but not in my central server. Can any body please tell me how to publish web service in central server or any other alternative to start BPM from WD JAVA.
    Regards
    Pranav

    Thanks for replying again Arafat. I am not getting any deploy or build error. What i have done till now is
    1. Expand the process modeling
    2. Expand service interfaces
    3. Right click on WSDL Files folder and selected new WSDL.
    4. Followed all the steps.
    5. Deploy local development
    Not getting any error here. But when i tried testing it in WS navigator i am not able to see my service there in providedsystems.
    please suggest some thing.
    Regards
    Pranav

Maybe you are looking for

  • Tuple value Update

    Hi Experts, Main table has tuple which has some data already in it.Now i want to import some records in such a way that the data previously existing should be deleted completely and only the new records should get updated in tuple. In Import manager

  • Looking for Hyperion Financial Reporting 9.3.3

    Hi, Can anyone provide me with a link to download this. We have Planning 9.3.3 so I'm assuming HFR 9.3.3 is the latest version i can use ? Thanks

  • Basler acA2500 not loading correctly into Vision

    I have a acA2500-14uc Basler Ace USB3.0 that I'm using along with PXI-8135 controller. The camera works correctly in pylon viewer, but Vision assistant only lets me select 'Basler Generic' which only does monochrome and lacks many settings. Before I

  • Import from DVD problem gone in LR 2.0 beta

    One problem I have had with LR 1.3 was not being able to File>Import from disk, and select more than one file from a DVD or CD and import. It would see them as read only files. I had to open another window, and drag them into Library. This glitch is

  • Drawing pie chart

    import java.applet.*; import java.text.*; import java.awt.*; import java.awt.event.*; import java.awt.Graphics; public class x2 extends Applet implements ActionListener {      private Button draw,draw2,reset;      private TextField thigh,tmedium,tlow