Struts No action instance for path could be created
Hi,
I get the following error message:
No action instance for path /bookList could be createdmy struts-config file looks like:
<form-beans>
<form-bean name="bookListForm" type="strutsform.BookListForm" />
</form-beans>
<action-mappings>
<action
path="/Welcome"
forward="/pages/Welcome.jsp"/>
<action
path="/bookList"
attribute="bookListForm"
input="/pages/bookList.jsp"
name="bookListForm"
scope="request"
type="strutsaction.BookListAction">
<forward name="showList" path="/pages/bookList.jsp" />
</action>
</action-mappings>I really don't know what's wrong, I have checked it uncountable often...
I'm getting a litte bit desperate
every help is appreciated....thanks in advance
El error parece ser una configuracion incorrecta del archivo .war. Verifica que se esten cargando las clases "form beans" y "action".
Estamos usando el IDE JBoss y se configur� : Properties -> Packaging Configuration para que empaquetara el archivo .war de forma adecuada.
Agrega a la configuraci�n el folder donde se encuentran tus archivos .class. Y en la opci�n "prefix" escribe lo siguiente: WEB-INF/classes
El campo "include" debe quedar en blanco, esto asegura que en tu paquete se agregaran tus archivos *.class.
Universidad Aut�noma Metropolitana, LIS
M�xico
Similar Messages
-
No action instance for path /SubmitStudentInfoAction could be created
Hello all:
I am facing the floowing exception when use the struts with websphere 5.1
[03/11/04 21:32:15:526 AST] 6eecc29a WebGroup I SRVE0181I: [StudentRegistrationWeb.war] [StudentRegistrationWeb] [Servlet.LOG]: action: Error creating Action instance for path '/SubmitStudentInfoAction', class name 'egov.studentregistration.presentation.SubmitStudentInfoAction': java.lang.NoClassDefFoundError: Error while defining class: egov.studentregistration.presentation.SubmitStudentInfoAction
This error indicates that the class: Error while defining class: egov.common.EGovAction
This error indicates that the class: org.apache.struts.action.Action
could not be located while defining the class: egov.common.EGovAction
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
***[0]
com.ibm.ws.classloader.CompoundClassLoader@4f440296
Local ClassPath: C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\classes;C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\lib\struts.jar;C:\Student Registration_\StudentRegistrationWeb\WebContent;
Delegation Mode: PARENT_FIRST
==>[1] com.ibm.ws.classloader.JarClassLoader@403620502 Local Classpath: C:\Student Registration_\EmailNotifierEJB_BUILD1\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MCSAH_BUILD7\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MOE_BUILD7\ejbModule;C:\Student Registration_\StudentRegistrationEJB\ejbModule;C:\Student Registration_\StudentRegistration\EGovCommonUtil_BUILD6.jar;C:\Student Registration_\StudentRegistration\Logger_Development_BUILD2.jar;C:\Student Registration_\StudentRegistration\StudentRegistrationLibrary.jar;C:\Student Registration_\StudentRegistration\EGovCommonTags_BUILD4.jar;C:\Student Registration_\StudentRegistration\EGovUserProfile_Devwas1_BUILD1.jar;C:\Student Registration_\StudentRegistration\ibmjndi.jar Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@740475536 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@2cefc297
[4] com.ibm.ws.bootstrap.ExtClassLoader@4ea8029e
[5] sun.misc.Launcher$AppClassLoader@4d5f029e
[6] sun.misc.Launcher$ExtClassLoader@4d5a429e
---Original exception---
java.lang.NoClassDefFoundError: org.apache.struts.action.Action
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1631)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1577)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
--- end Original exception----
could not be located while defining the class: egov.studentregistration.presentation.SubmitStudentInfoAction
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
==>[0]
com.ibm.ws.classloader.CompoundClassLoader@4f440296
Local ClassPath: C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\classes;C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\lib\struts.jar;C:\Student Registration_\StudentRegistrationWeb\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@403620502 Local Classpath: C:\Student Registration_\EmailNotifierEJB_BUILD1\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MCSAH_BUILD7\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MOE_BUILD7\ejbModule;C:\Student Registration_\StudentRegistrationEJB\ejbModule;C:\Student Registration_\StudentRegistration\EGovCommonUtil_BUILD6.jar;C:\Student Registration_\StudentRegistration\Logger_Development_BUILD2.jar;C:\Student Registration_\StudentRegistration\StudentRegistrationLibrary.jar;C:\Student Registration_\StudentRegistration\EGovCommonTags_BUILD4.jar;C:\Student Registration_\StudentRegistration\EGovUserProfile_Devwas1_BUILD1.jar;C:\Student Registration_\StudentRegistration\ibmjndi.jar Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@740475536 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@2cefc297
[4] com.ibm.ws.bootstrap.ExtClassLoader@4ea8029e
[5] sun.misc.Launcher$AppClassLoader@4d5f029e
[6] sun.misc.Launcher$ExtClassLoader@4d5a429e
---Original exception---
java.lang.NoClassDefFoundError: Error while defining class: egov.common.EGovAction
This error indicates that the class: org.apache.struts.action.Action
could not be located while defining the class: egov.common.EGovAction
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
==> indicates defining classloader
*** indicates classloader where the missing class could have been found
***[0]
com.ibm.ws.classloader.CompoundClassLoader@4f440296
Local ClassPath: C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\classes;C:\Student Registration_\StudentRegistrationWeb\WebContent\WEB-INF\lib\struts.jar;C:\Student Registration_\StudentRegistrationWeb\WebContent;
Delegation Mode: PARENT_FIRST
==>[1] com.ibm.ws.classloader.JarClassLoader@403620502 Local Classpath: C:\Student Registration_\EmailNotifierEJB_BUILD1\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MCSAH_BUILD7\ejbModule;C:\Student Registration_\CommunicationManagerEJB_MOE_BUILD7\ejbModule;C:\Student Registration_\StudentRegistrationEJB\ejbModule;C:\Student Registration_\StudentRegistration\EGovCommonUtil_BUILD6.jar;C:\Student Registration_\StudentRegistration\Logger_Development_BUILD2.jar;C:\Student Registration_\StudentRegistration\StudentRegistrationLibrary.jar;C:\Student Registration_\StudentRegistration\EGovCommonTags_BUILD4.jar;C:\Student Registration_\StudentRegistration\EGovUserProfile_Devwas1_BUILD1.jar;C:\Student Registration_\StudentRegistration\ibmjndi.jar Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@740475536 Local ClassPath: C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\lib\app; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ProtectionClassLoader@2cefc297
[4] com.ibm.ws.bootstrap.ExtClassLoader@4ea8029e
[5] sun.misc.Launcher$AppClassLoader@4d5f029e
[6] sun.misc.Launcher$ExtClassLoader@4d5a429e
---Original exception---
java.lang.NoClassDefFoundError: org/apache/struts/action/Action
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1631)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1577)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
--- end Original exception----
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:434)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:83)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:407)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1631)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1577)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
--- end Original exception----
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:434)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1631)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1577)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[03/11/04 21:32:15:557 AST] 6eecc29a WebGroup E SRVE0026E: [Servlet Error]-[action]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: No action instance for path /SubmitStudentInfoAction could be created
at com.ibm.ws.webcontainer.srt.SRTServletResponseContext.sendError(SRTServletResponseContext.java:152)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:626)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1579)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[03/11/04 21:32:20:682 AST] 6eecc29a SystemOut O Note: C:\Student Registration_\.metadata\.plugins\com.ibm.etools.server.core\tmp0\cache\localhost\server1\StudentRegistration\StudentRegistrationWeb.war\_error.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.
1 warning
[03/11/04 21:32:20:713 AST] 6eecc29a WebGroup I SRVE0180I: [StudentRegistrationWeb.war] [StudentRegistrationWeb] [Servlet.LOG]: /error.jsp: init
[03/11/04 21:32:20:713 AST] 6eecc29a SystemOut O Comment: You are inside the error.jsp page
[03/11/04 21:32:21:370 AST] 6eecc29a SystemOut O Ecxception during logging is
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R [IBM][CLI Driver][DB2/NT] SQL0530N The insert or update value of the FOREIGN KEY "DB2INST1.SYSTEMERRORLOGS.FK_SYSLOGTYPE" is not equal to any value of the parent key of the parent table. SQLSTATE=23503
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at egov.common.logger.LoggerDAO.logRemarksToDB(LoggerDAO.java:98)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at egov.common.logger.Logger.logError(Logger.java:67)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at org.apache.jsp._error._jspService(_error.java:757)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleError(WebApp.java:1029)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:891)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.srt.SRTServletResponseContext.sendError(SRTServletResponseContext.java:160)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:626)
[03/11/04 21:32:21:370 AST] 6eecc29a SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1579)
[03/11/04 21:32:21:385 AST] 6eecc29a SystemErr R at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
[03/11/04 21:32:21:479 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
[03/11/04 21:32:21:495 AST] 6eecc29a SystemOut O The Original Ecxception is
[03/11/04 21:32:21:495 AST] 6eecc29a SystemErr R com.ibm.ws.webcontainer.webapp.Weme too get the same error..
pls help..
my struts-config file is as follows
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources />
<form-beans>
<form-bean name="UserLoginActionForm" type="usl.actionform.UserLoginActionForm" />
</form-beans>
<global-exceptions />
<global-forwards>
<forward name="error" path="/usljsp/Error.jsp" ></forward>
<forward name="failure" path="/usljsp/Error.jsp" ></forward>
</global-forwards>
<action-mappings>
<action path="/TCCL" type="usl.action.UserLoginAction" name="UserLoginActionForm" scope="request" parameter="login">
<forward name="success" path="/usljsp/login.jsp" />
</action>
<!-- Delux Menu Login -->
<action path="/Login" type="usl.action.UserLoginAction" name="UserLoginActionForm" scope="request" parameter="loginchk">
<forward name="success" path="/usljsp/Success.jsp" />
<forward name="failure" path="/usljsp/login.jsp" />
</action>
</action-mappings>
</struts-config>
thanks in advance -
HTTP Status 500 - No action instance for path /deletescmeetnot could be cre
Hello,
I am maintaining a JSP/struts program already in production. The client asked us to add the ability a record when certain criteria are met. Since this is my first Struts work, I have been following the examples of other actions in the app. I easily added the link to the form (and it only displays if the conditions where you may delete if you choose are met). I made the action and added it to the struts-config file. This is the node:
//struts-config.xml
<action input="/subcommittees.jsp" path="/deletescmeetnot" type="com.xxyzz.abcdef.DeleteSubcommitteeMeetingNoticeAction">
<forward name="success" path="/subcommittees.jsp" />
<forward name="failure" path="/subcommittees.jsp" />
</action>These are the first two lines of the action:
//DeleteSubcommitteeMeetingNoticeAction.java
public class DeleteSubcommitteeMeetingNoticeAction {
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException {This is where I attempt to execute the action:
//SubcommitteeListTag.java
writer.print(" - <a title=\"Permanantly delete this Subcommittee meeting notice\" href=\"" +
response.encodeURL("/cf/deletescmeetnot.do?noticeID=" +
notice.getNoticeIdField().getAsString()) +
"\" onClick=\"return confirmDeleteSubcommitteeMeetingNotice();\">Delete</a>");The javascript executes properly, but I get the error below when I click "OK."
//Apache Tomcat/6.0.18 - Error report
HTTP Status 500 - No action instance for path /deletescmeetnot could be created
type Status report
message No action instance for path /deletescmeetnot could be created
description The server encountered an internal error (No action instance for path /deletescmeetnot could be created) that prevented it from fulfilling this request.Can anyone help me find what I am missing?
Thank you,
Frank LukeFound it. I needed to add "extends action" to the class.
-
No action instance for path /userRegistration could be created ?
Hi All,
I am getting the following error:
No action instance for path /userRegistration could be created
stack trace is as:
va:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
2)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:50
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._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)
Jan 19, 2006 2:43:03 PM org.apache.struts.util.RequestUtils createActionForm
SEVERE: Error creating form bean of class multipleform.UserRegistrationForm
java.lang.ClassNotFoundException: multipleform.UserRegistrationForm
at com.evermind._as.findClass(.:417)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.evermind._ib.loadClass(.:19)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.
a:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUti
java:231)
at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.
a:837)
at org.apache.struts.action.RequestProcessor.processActionForm(Reques
ocessor.java:364)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor
va:253)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
2)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:50
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._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)
Jan 19, 2006 2:43:03 PM org.apache.struts.action.RequestProcessor processActi
reate
SEVERE: No action instance for path /userRegistration could be created
java.lang.ClassNotFoundException: multipleform.UserRegistrationAction
at com.evermind._as.findClass(.:417)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.evermind._ib.loadClass(.:19)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.
a:207)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUti
java:231)
at org.apache.struts.action.RequestProcessor.processActionCreate(Requ
Processor.java:326)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor
va:268)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
2)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:50
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._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)--------------------------------------------------
following are my files and configuration..............
struts-config.xml is as:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<form-beans>
<form-bean name="userRegistrationForm" type="multipleform.UserRegistrationForm"/>
</form-beans>
<action-mappings>
<action path="/userRegistration"
type="multipleform.UserRegistrationAction"
name="userRegistrationForm"
scope="request"
input="/multipleform.jsp">
<forward name="success" path="/userregsuccess.html"/>
<forward name="failure" path="/userregfailure.html"/>
</action>
</action-mappings>
</struts-config>------------------------------------------
jsp is as:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<html>
<head>
<title>User Registration</title>
</head>
<h1>User Registration</h1>
<html:errors/>
<table>
<html:form action="/userRegistration.do">
<tr>
<td>
<bean:message key="userRegistration.firstName" />*
</td>
<td>
<html:text property="firstName" />
</td>
</tr>
<td>
<bean:message key="userRegistration.lastName" />*
</td>
<td>
<html:text property="lastName" />
</td>
<tr>
<td>
<bean:message key="userRegistration.userName" />*
</td>
<td>
<html:text property="userName" />
</td>
</tr>
<tr>
<td>
<bean:message key="userRegistration.email" />*
</td>
<td>
<html:text property="email" />
</td>
</tr>
<tr>
<td>
<bean:message key="userRegistration.phone" />
</td>
<td>
<html:text property="phone" />
</td>
</tr>
<tr>
<td>
<bean:message key="userRegistration.fax" />
</td>
<td>
<html:text property="fax" />
</td>
</tr>
<tr>
<td>
<bean:message key="userRegistration.password" />*
</td>
<td>
<html:password property="password" />
</td>
</tr>
<tr>
<td>
<bean:message key="userRegistration.password" />*
</td>
<td>
<html:password property="passwordCheck" />
</td>
</tr>
<tr>
<td>
<html:submit />
</td>
<td>
<html:cancel />
</td>
</tr>
</html:form>
</table>
</html>
ActionForm and ActionServlet (java file) is placed inside "multipleform" directory
Please look into the code and answer please.
Where I am doing wrong ?
Thanks
A beginner in struts...........
:)<html:form action="/userRegistration">
use above line instead of
<html:form action="/userRegistration.do">
some times it will work...
bcoz
if u r using <html:link page="/userRegistration.do"> is ok
but using form action , no need to put do..
r verify web.xml -
HTTP Status 500 - No action instance for path /retrieve_lib_log could be cr
HTTP Status 500 - No action instance for path /retrieve_lib_log could be created
type Status report
message No action instance for path /retrieve_lib_log could be created
description The server encountered an internal error (No action instance for path /retrieve_lib_log could be created) that prevented it from fulfilling this request.
That is the error i am gettin and i have tried the solutions suggested here but it hasent solved my problem.... this error came up all of a sudden and it was working fine at a previous instaceHTTP Status 500 - No action instance for path /retrieve_lib_log could be created
This usually mean that a file or an object could not be found.
sandyR -
How to create an instance for RemoteSession without using create() method
How to create an instance for RemoteSession without using create() method?
What's RemoteSession? Not in the JDK. And does the question have anything to do with concurrency?
-
Struts- two actions with same path in struts config
hai
I am having html:select tag with two options (View And Download) in a form.My form signature is like <html:form action="select">.I mapped two options(View,Download) with same action path.When i click view it doesn't forwards(remains idle) and no error is shown.But i click download it forwards to the appropriate page.If iam having two tags with same action path the second is only working.This problem doesn't comes when iam having one tag alone.
My code is here:
-----------Select.jsp----------------
<html:form action="Select">
<html:select property="id">
<html:option value="view">View</html:option>
<html:option value="download">Download</html:option>
</html:select>
</html:form>
----------------Struts-config.xml------------
<form-beans>
<form-bean name="viewForm" type="ViewForm"/>
<form-bean name="download" type="DownloadForm"/>
</form-beans>
<action-mappings>
<action path="/Select"
name="viewForm"
type="ViewAction"
input="/Select.jsp">
<forward name="success" path="/Success.jsp"/>
</action>
<action path="/Select"
name="downloadForm"
type="DownloadAction"
input="/Select.jsp">
<forward name="success" path="/Welcome.jsp"/>
</action>
</action-mappings>
Can i have action tag with same paths like this.If not please provide me a solutionI have created two success pages.
I have created two findForward in my ActionClasspublic ActionForward execute(ActionMapping mapping,...............)
if(a==view)
return mapping.findForward("success");
else
return mapping.findForward("success1");
----------------Struts-config.xml------------
<form-beans>
<form-bean name="viewdownloadForm" type="ViewdownloadForm"/>
</form-beans>
<action-mappings>
<action path="/Select"
name="viewdownloadForm"
type="ViewdownloadAction"
input="/Select.jsp">
<forward name="success" path="/Success.jsp"/>
<forward name="success1" path="/Success1.jsp"/>
</action> -
I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off". I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
Can somebody advice.
ThanksCan you please confirm me the following steps...
Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
Make sure your setting for that composite is not Off, keep inherit or production or development.
Thanks,
N -
Can we keep one action file for all jsp files in struts?"
I have 5-6 Jsp pages and all are inter connected.
If any one make changes, these changes should be display in the database.
In this case, I need only one Action class which can hold or manipulate all changes from all jsp pages. I am not sure "Can we keep one action file for all jsp files?"
If yes, then how can we configure struts-config.xml file.
If no, then pls suggest me any altenative solution.hai
go for DispatchAction class and then pass as parameters
refer struts complete reference...
it will solve ur problems.. -
Could not create a new connection in STRUTS
Hi,
I have done a application in STRUTS using JBOSS as application server, IDE myeclipse, database is MYSQL, current while executing the application at the time of connecting the database it is giving the error as 'could not create a connection ; nested throwable i have given below the server console message can anybody help in this regard to solve this issue.
Thanks
12:37:14,950 INFO [Server] Starting JBoss (MX MicroKernel)...
12:37:14,966 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
12:37:14,981 INFO [Server] Home Dir: F:\vln\jboss-4.0.3
12:37:14,981 INFO [Server] Home URL: file:/F:/vln/jboss-4.0.3/
12:37:14,981 INFO [Server] Patch URL: null
12:37:14,981 INFO [Server] Server Name: default
12:37:14,981 INFO [Server] Server Home Dir: F:\vln\jboss-4.0.3\server\default
12:37:14,981 INFO [Server] Server Home URL: file:/F:/vln/jboss-4.0.3/server/default/
12:37:14,981 INFO [Server] Server Temp Dir: F:\vln\jboss-4.0.3\server\default\tmp
12:37:14,981 INFO [Server] Root Deployment Filename: jboss-service.xml
12:37:15,809 INFO [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
12:37:15,809 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
12:37:15,809 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
12:37:16,919 INFO [Server] Core system initialized
12:37:19,591 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
12:37:50,544 INFO [EJB3Deployer] Default persistence.properties: {hibernate.transaction.flush_before_completion=false, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.transaction.auto_close_session=false, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, hibernate.dialect=org.hibernate.dialect.HSQLDialect, hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory, hibernate.hbm2ddl.auto=create-drop, hibernate.connection.datasource=java:/DefaultDS, hibernate.connection.release_mode=after_statement}
12:37:50,653 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://169.254.109.142:3873/0.0.0.0:3873]
12:38:23,387 INFO [AspectDeployer] Deployed AOP: file:/F:/vln/jboss-4.0.3/server/default/deploy/ejb3-interceptors-aop.xml
12:38:43,294 INFO [WebService] Using RMI server codebase: http://madhu:8083/
12:38:44,981 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
12:38:45,059 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
12:38:45,091 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
12:38:45,169 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.CacheLoaderInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.CacheStoreInterceptor
12:38:45,419 INFO [TreeCache] cache mode is REPL_SYNC
12:38:46,559 INFO [STDOUT]
GMS: address is MADHU:1860
12:38:48,606 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:38:48,606 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.ejb3.cache.tree.StatefulEvictionPolicy
12:38:48,606 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 1
12:38:48,606 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:38:48,637 INFO [TreeCache] viewAccepted(): new members: [MADHU:1860]
12:38:48,934 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
12:38:48,966 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
12:38:58,528 INFO [MailService] Mail Service bound to java:/Mail
12:39:04,981 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
12:39:05,106 INFO [DefaultPartition] Initializing
12:39:05,200 INFO [STDOUT]
GMS: address is MADHU:2004 (additional data: 20 bytes)
12:39:07,216 INFO [DefaultPartition] Number of cluster members: 1
12:39:07,216 INFO [DefaultPartition] Other members: 0
12:39:07,216 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):
12:39:07,512 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0
12:39:07,528 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=169.254.109.142:1100
12:39:09,591 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
12:39:09,606 INFO [TreeCache] cache mode is REPL_SYNC
12:39:09,653 INFO [STDOUT]
GMS: address is MADHU:2034
12:39:11,669 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:39:11,669 INFO [LRUPolicy] Starting eviction policy using the provider: org.jboss.cache.eviction.LRUPolicy
12:39:11,669 INFO [LRUPolicy] Starting a eviction timer with wake up interval of (secs) 5
12:39:11,669 INFO [TreeCache] viewAccepted(): new members: [MADHU:2034]
12:39:11,669 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:39:18,497 INFO [Embedded] Catalina naming disabled
12:39:21,294 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
12:39:21,309 INFO [Catalina] Initialization processed in 2656 ms
12:39:21,309 INFO [StandardService] Starting service jboss.web
12:39:21,325 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
12:39:21,512 INFO [StandardHost] XML validation disabled
12:39:21,637 INFO [Catalina] Server startup in 328 ms
12:39:23,200 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
12:40:12,434 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
12:40:16,966 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp44694jboss-ws4ee-exp.war/
12:40:17,481 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
12:40:17,856 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
12:40:18,450 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
12:40:23,731 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=8;loopback=false;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true)
12:40:23,747 INFO [TreeCache] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.LockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
12:40:23,747 INFO [TreeCache] cache mode is REPL_ASYNC
12:40:24,184 INFO [STDOUT]
GMS: address is MADHU:2576
12:40:26,184 INFO [TreeCache] viewAccepted(): new members: [MADHU:2576]
12:40:26,184 INFO [TreeCache] new cache is null (maybe first member in cluster)
12:40:26,184 INFO [TreeCache] state could not be retrieved (must be first member in group)
12:40:27,794 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
12:40:28,231 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
12:40:28,559 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
12:40:28,934 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
12:40:29,325 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
12:40:29,762 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
12:40:34,544 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
12:40:36,762 INFO [A] Bound to JNDI name: queue/A
12:40:36,778 INFO Bound to JNDI name: queue/B
12:40:36,778 INFO [C] Bound to JNDI name: queue/C
12:40:36,778 INFO [D] Bound to JNDI name: queue/D
12:40:36,778 INFO [ex] Bound to JNDI name: queue/ex
12:40:36,856 INFO [testTopic] Bound to JNDI name: topic/testTopic
12:40:36,872 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
12:40:36,872 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
12:40:36,872 INFO [testQueue] Bound to JNDI name: queue/testQueue
12:40:37,044 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
12:40:37,200 INFO [DLQ] Bound to JNDI name: queue/DLQ
12:40:37,903 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
12:40:38,262 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'
12:40:38,512 INFO [TomcatDeployer] deploy, ctxPath=/EIISWEB, warUrl=.../deploy/EIISWEB.war/
12:40:39,622 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
12:40:39,637 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
12:40:40,731 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
12:40:40,747 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
12:40:40,856 INFO [PropertyMessageResources] Initializing, config='com.lsil.struts.ApplicationResources', returnNull=true
12:40:41,106 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
12:40:41,700 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
12:40:42,216 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:40:42,356 INFO [JkMain] Jk running ID=0 time=0/234 config=null
12:40:42,372 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)] Started in 3m:27s:391ms
12:41:21,684 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:21,700 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
12:41:21,731 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:21,809 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:21,825 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
12:41:21,919 INFO [PropertyMessageResources] Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
12:41:31,262 INFO [STDOUT] In ServiceLocator: creating datasource
12:41:31,262 INFO [STDOUT] Referencejava:MySqlDS
12:41:31,262 INFO [STDOUT] [email protected]9
12:41:31,419 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:164)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:410)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:342)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:462)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
at com.lsil.eiis.validator.main.common.QueryManager.getInfo(QueryManager.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.lsil.eiis.utility.XMLDTHttpServlet.getInfo(XMLDTHttpServlet.java:186)
at com.lsil.eiis.utility.XMLDTHttpServlet.doGet(XMLDTHttpServlet.java:44)
at com.lsil.eiis.utility.XMLDTHttpServlet.doPost(XMLDTHttpServlet.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:153)
... 37 more
12:41:32,403 INFO [STDOUT] Help XML:<Data><Record><RESULT>Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: jdbc:mysql://localhost:3306/eis))</RESULT></Record></Data>Hi Abhshek,
Please go through the link:Error in Seeburger SFTP : Cannot create pending keystore PENDING/SSH_hosts
Also check certificate expiry date. Take help of basis team so that they could be able to assist you regarding this.
Regards,
Naveen -
Sequential Instantiation of BPEL instances for a BPEL process
Hi,
We are using Oracle SOA 10.1.3.4 & AIA2.5. We have a situation where the instances of a particular bpel process have to be executed in sequence. Also, the new instance should NOT be instantiated unless the previous instance is completed.
For example.. Lets say a SyncBPELReqABCS is invoking SyncBPELProvABCS via ESB. SyncBPELReqABCS is looping and spawning multiple instances of SyncBPELProvABCS in a certain sequential order in Asynchronous Fire-and-Forget model. Lets say bpel-instance#1, bpel-instance#2 and bpel-instance#3 are instances of SyncBPELProvABCS process. Even though SyncBPELReqABCS invokes (spawns) SyncBPELProvABCS in a fire and forget model, the bpel-instance#2 should not begin unless bpel-instance#1 is completed and bpel-instance#3 shuld not begin unless bpel-instance#2 is completed. This is because there is a dependancy between instacnes of SyncBPELProvABCS process.
Can this be achieved in Oracle SOA?? Can we restrict the instacnes of SyncBPELProvABCS to be created in this manner?
This is similar to "incompatability" of concurrent programs in ORACLE EBusiness Suite where one concurrent program waits till another concurrent program completes.
Please let me know if I am not clear. Appreciate an immediate help!
Thanks,Hello,
Now that I look back at this tread, I can see that the questions I was asking and those of the original poster were somewhat different.
But they both fall under the heading of "Sequential Instantiation of BPEL instances for a BPEL process", and so I thought I would post some findings we've come across regarding that topic here.
There were a couple steps that helped us achieve the behavior we were looking for, and the were...
1) Change the BPEL oneWayDeliveryPolicy from "async.persist" to "sync"
This can be done in a couple locations. The first is within the EM application that comes bundled with SOA 11g, and the place to go is:EM > [farm name] > SOA > soa-infra (right click) > SOA Administration > BPEL Properties > More BPEL Configuration Properties > OneWayDeliveryPolicyOnce that value has been changed to "sync" (without the quotes), you'll need to stop and start the managed servers that run your SOA instance(s).
As you might expect, making a change at the "server level" like this impacts the default behavior of all composites deployed within your SOA instance. The second place to make this change - within the deployment descriptors for your BPEL process - impacts only the BPEL process that is being modified. To make the change at this level, you would edit your project's composite.xml file and, for each BPEL component, specify: <component name="BPELProcess1" version="2.0">
<implementation.bpel src="BPELProcess1.bpel"/>
<property name="bpel.config.oneWayDeliveryPolicy">sync</property>
<property name="bpel.config.transaction">required</property>
</component>What does this change do? Well, I don't claim to have a complete understanding, but in theory it prevents a thread handoff from taking place between the service that is initiates your BPEL process (like a receive) and the actual BPEL engine thread that processes the request.
In our case, where calls between (and within) composites were all of the synchronous "fire and forget" variety, this change also caused the entire processing of a message (across three different composites) to happen in a single thread (each message handoff was one-way, and with the oneWayDeliveryPolicy set to "sync", each was handled in a synchronous manner).
This also seemed to have the effect of serializing our message processing. For example, in a test case where a BPEL process reads from a JMS queue and 250 messages are enqueued, with the oneWayDeliveryPolicy set to "async.persist", I'd typically go in to EM and, on each refresh, find 5-8 instances of the composite that processes those messages to be in a "Running" state. Once the change to "sync" was made, I'd only see at most only 2 (where one had actually already finished; the audit system just hadn't yet caught up to that fact yet).
This also means that, with a "sync" delivery policy, messages (at least in our environment) are processed more slowly, but that was ok with us as we were more concerned with the behavior than the speed.
For details on this and other BPEL deployment descriptor properties, see:
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/bp_app_deploydesc.htm
Also, it's important to note that making the above change will alter the boundaries of your transactions as well as how faults are propagated. For more details, see:
http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10224/soa_transactions.htm
2) Front BPEL process with a Mediator object and enable message resequencing
While we're using the above change as a standard practice in our environment, this second change has only been nominally tested - but it could be of interest and so I'll mention it here.
Once you've updated your composite to include a mediator object in front of your BPEL process (if there isn't one there already), edit the .mplan for your mediator and change the "Resequence Level" from the default value of "operations" to "component". Then change the "Resequence Mode" from "off" to "FIFO" and specify an X-Path expression by which the mediator will be able to group your messages. This will help ensure that the messages are being processed in the order you expect.
More information about resequencing within the mediator component can be found:
http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/med_resequencer.htm
Hopefully the above information is useful - if not for the original poster, then for someone who comes along later with similar questions.
- Nathan -
Could not create mountpoint for SC error in during import configuration
Hi,
I have succesfully created a tack in NW7 and during the import of the configuration in developer studio I get the following error on the last step of import
com.sap.tc.devconf.SyncException: Could not create mountpoint for SC in compartment example.org_APPLICATION_1: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
at com.sap.tc.devconf.impl.DTRClientErrorMapper.toSyncException(DTRClientErrorMapper.java:65)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2758)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.createMountPointsForSCs(DevelopmentConfiguration.java:3046)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.goOnline(DevelopmentConfiguration.java:5207)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:773)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:698)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:669)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:505)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Caused by: com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
... 47 more
Caused by: com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:233)
at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:79)
at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:216)
... 48 more
Caused by:
[VFS version: 7.00 645_VAL_REL 0010 (2006-08-26 16:27:43 CEST)] com.tssap.dtr.client.lib.vfs.config.ConfigurationException: Could not create remote path /dtr/ws/APPL/example.org_APPLICATION/dev/inactive/SCs/example.org/APPLICATION/_comp/TopLevelDCs/ (Internal Server Error [(pre||post)-condition failed: Internal Server Error]).
at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:230)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.createMountPointsForSCs(DevelopmentConfiguration.java:3046)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.goOnline(DevelopmentConfiguration.java:5207)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:773)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:698)
at com.sap.tc.devconf.DevelopmentConfigurationFactory.addConfiguration(DevelopmentConfigurationFactory.java:669)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:505)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
+++ Nested exception part 1/1
com.tssap.dtr.client.lib.deltavlib.DeltavException: Internal Server Error [(pre||post)-condition failed: Internal Server Error]
at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:233)
at com.tssap.dtr.client.lib.deltavlib.impl.PersistentResourceFactoryImpl.createCollection(PersistentResourceFactoryImpl.java:79)
at com.tssap.dtr.client.lib.vfs.config.impl.RepositoryServer.assureRemotePathExists(RepositoryServer.java:216)
at com.sap.tc.devconf.impl.DevelopmentConfiguration.findOrCreateMountPointForSC(DevelopmentConfiguration.java:2748)
... 47 moreHi There !
Run SDM RemoteGui.
Log in.
Go to deployment tab.
Find sap.comtcdtr~dbschema.sda in root directory under SDM.
Adjust deployment configuration to Update deployed SDAs/SCAs that have any version.
Complete the wizard.
this works !
rajendra -
How to return and display an image created by a Struts 2 action object?
Hi all, I'm Andrea and this is my first post on SDN.
I'm developing a web based application using Struts 2 and I've got a problem with images management. It follows a brief description:
Using a form in a jsp page it is possible to make a call to the execute() method implemented in a class, extending ActionSupport.
At the end of the method there's the following instruction:
BufferedImage image = generateChart();
My problem is that I need to return this image to the client, so that his browser could display it.
Unfortunately I don't know exactly how to proceed.
I've seen it's possible to define result type for Struts 2 actions through xml config file, but I don't what I need to write into che action class.
Could you help me with this topic?Ok I found the answer to your problem. If you download the tutorial they have the code there it's in one folder. I hope this helps.
http://java.sun.com/docs/books/tutorial/ -
Unable to instantive live instance for panelBinding; using placeholder inst
I have an ADF panel with an edit form on it.
If I start JDev, it shows the following message in a "UI" log window:
"Unable to instantive live instance for panelBinding; using placeholder instead."
and there is no UI control displayed on the panel.
However a run panel action fixes the problem.
It is not a major issue.hi
I also (sometimes) get the "Unable to instantiate live instance for panelBinding; using placeholder object instead." message in the UI Log panel.
Is there documentation about this message, when I occurs? (I haven't been able to consistently reproduce this.)
If I run JDeveloper (10.1.3.1.0.3984) using "jdev.exe" I don't see related messages on the console.
We also have an issue with component bindings getting created in a new SomePanelPageDef.xml file while one existed and we end up with both SomePanelUIModel and SomePanelPageDef as pageDefinitionUsages in DataBindings.cpx and of course the panel doesn't work. I think these issues could be related.
Any suggestions or documentation? (And yes "the compiled class is present in the classpath".)
many thanks
Jan Vervecken -
Urgent: unable to call a plsql stored procedure with a struts data action
Hello ALL,
I'm trying to call a plsql stored procedure within a struts DataAction,
The scenario is:
When a user a click on a button, then it should call a specific stored procedure,,
I create struts data action a class to handle the event which is to call the procedure
Here is my code:
public class RequestAction extends DataForwardAction
public void onCall(DataActionContext ctx)
String amDef = "model.AppModule";
String config = "AppModuleLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
try{
AppModuleImpl myAm = (AppModuleImpl)am;
DBTransaction tr = (DBTransaction) myAm.getTransaction();
CallableStatement stmt = tr.createCallableStatement
("begin pkg_test.test; end;", DBTransaction.DEFAULT);
stmt.execute();
stmt.close();
tr.commit();
catch(Exception e){System.out.println(e.getMessage());}
Configuration.releaseRootApplicationModule(am,true);
but when I ran the application and click on the button, I got the following Exception:
04/07/08 00:45:50 ORA-06550: line 1, column 7:
PLS-00201: identifier 'PKG_TEST.TEST' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
It seems that the DBTransaction object unable to see the stored procedure,
Am I do something wrong or miss something???
I've checked the examples on the OTN HOW TO, and searched in the JDeveloper Forum but unable to find an answer,
Please anyone can help???
Thanks a lot
With Regards,
HayatHere's an example application that illustrates how to do this. I haven't had a chance to writeup a little paper to go with it yet, but will as soon as I have a chance.
http://otn.oracle.com/products/jdev/tips/muench/storedproc/CallStoredProc.zip
See the "callStoredProcedure" method in the application module in the Model project.
See the "callStoredProcedure" method binding in the binding container of the "CallStoredProcedure" data page.
Notice the name "event_callStoredProcedure" of the (Call Stored Procedure) button on the CallStoredProcedure.jsp page which triggers the declaratively invocation of the method.
You could also call the method from code in a custom data action.
The code example illustrates how to create your own JDBC prepared statement for invoking the stored procedure, and doing it in a way that is efficient by keeping the prepared statement around across invocations.
Maybe you are looking for
-
Bootcamp bluetooth mice not working in windows 7 pro
I have an early 2008 MBP and just installed Windows 7. I cannot, for the life of me, get either of my bluetooth mice to connect in Windows 7. Both worked in XP and both work in Mac OS. The install is a clean one, not an upgrade. The mice are an older
-
Confirmation creation error in web portal using BRF
Hi SRM Gurus, We are new to SRM 7.0. Currently we are trying to create a confirmation step through BRF to get approval for confirmation of goods received. We are using a copy of the FM: /SAPSRM/WF_BRF_0EXP000 with the following parameters: 0C_C1
-
How can I know if a used mobile phone is stolen?
Hello everybody! I am about to buy a used Nokia cell phone. The problem is that I want to be sure that the original owner of the phone hasn't stole that product. Simply because I don't want to buy a stolen phone. So, my question is; is there any data
-
I've encountered a rather annoying problem with drag and drop. Firefox will always accept a drop of a custom component! For example run and drag and drop in firefox: http://java.sun.com/docs/books/tutorialJWS/uiswing/dnd/ex6/DragPictureDemo.jnlp Do y
-
Error in Transporting Transfer rule/structure to Q for generic DS
Hi, We're in NW2004s. we're getting error when we transport Transfer Rules and Structure of generic data sources to Q. In R3 Q the DS is active and it pulls data in RSA3 and it is replicated and all the fields are available in BW side as well, but wh