Handler classes in the controller layer?
Hello!
I am using the mvc pattern and i just want to know if i should put the handler classes i.e. EmployeeHandler in the controller layer.
Thank you!
mattias_westerberg wrote:
I am using the mvc pattern and i just want to know if i should put the handler classes i.e. EmployeeHandler in the controller layer.It doesn't sound like it should to me, depending on what your EmployeeHandler class does. An EmployeeHandler class sounds to me like it would provide a sort of service layer for managing employee objects, in which case it should be more closely associated with the business model than, say, the traffic cop.
~
Similar Messages
-
TransactionContext not foundin class.Extending the controller
Hi All,
I am extending the LocationLovCO controller. I want to utilize the SSHRParams of LocationLovCO in my CO i.e. xxxLocationLovCO (basically to get assignment_id,effective_date, bgid).
I have imported all the packages.
When I tried to compile my Controller. it throws up the following error.
TransactionContext not foundin class oracle.apps.per.selfservice.common.SSHRParamTable in class oracle.apps.per.selfservice.common.SSHRParams in class xxx.oracle.apps.per.selfservice.deployperson.webui.xxxLocationLovCO.
Does anyone have any idea. Any help is appreciated.
Thanks
RamaTry the OA Framework forum
-
BC4JToystore - View and Controller layer problem
I am trying to create a web application based on the BC4JToystore design (MVC) where it seperates each layer into different project.
Here is the problem.
1. when i create a new Struts base JSP (JSP + Action Class) from the wizard on the controller prject/layer, JDev would automactically add the ApplicationResource.properties, define the /transaction, /navigate etc. to my struts-config.xml, add the ###_jpr_War.deploy. Of course, the Action.java + jsp files. So wat i did was, I manually remove the jsp files and add it to the view layer/project. Are there any better way of defining new struts action class/jsp. and how?
2. I understand i would need to deploy my class files to the webroot/WEB-INF. I hav studied BC4Jtoystore where the .deploy profile is defined in the Deployment project. I couldn't quite get it right. I wonder how the developers deploy files from other projects (controller) into JAR files. I notice in the project settings where it onli includes the custom lib of toystores and when u preview the .deploy, they hav got all the class files from the controller project/layer. How u guys do that?
As i couldn't get the Deploymnet project's .deploy profile work, so i define a .deploy profile in the controller layer/project itself. Here is the problem. It took me like 2 minutes to deploy just 1 file. Later i found out in the preview, it has heaps of classes in the archieve content where it includes the libraries i defined in project settings. Is is neccessary as I think these classes already exist in the library. how do i get rid of it if it is not?
Thanz
Tan StevenIt depends on where you call the method. If you call it directly from the task flow you can right click on the method, select 'edit binding' and you get a dialog where you see the method binding. In the lower part you see the input parameters for your methos. There you set the parameter to '#{securityCcontext.UserName}'.
If you call the method from inside a bean via an operation binding you use code like
OperationBinding binding = bindingContainer.getOperationBinding("doSomething");
binding.getParamsMap().put("param1", "hello");
binding.execute();Don't forget to check for errors after calling hte method.
Timo -
Best way to Unit Test Controller Layer
Hi, I was hoping to get the opinion on this matter. My group is currently discussing which method would be the best to Unit test the Controller Layer (using StrutsTestCase). Basically with StrutsTestCase, you can test your Action methods and verify that the action forwards to the correct place, or that certain errors come up. The problem is that these Action classes will make Model layer calls that affect the DB. Whats the best way to test the Action classes? Some possibilities are:
#1) Make a mock model layer that instead of hitting the DB uses a "switch" statement to return the correct value.
#2) Use a test DB to test this. The problem with this is that after running tests, you want to leave the test DB in the same state as when you started the test. This is not very easy to do if your web application only does inserts to the DB. In addition, the Model layer Unit testing will be designed such that it will insert, select, update, select, and delete (in that order), so the state of the DB will remain the same after the test is run (unless JUnit crashes halfway).
#3) Use a copy of a test DB on your local computer. This is beneficial because you can do anything to the DB, and then just delete it because a "master" copy is located elsewhere. The problem with this is, we also hoped to do performance testing of the model layer by running multiple threads of the Model layer unit tests. This won't work now because each thread would make a copy of the master DB....
Thanks for any suggestions you might have!
-LI have never unit tested just a controller. I have always done end to end testing with the systems I have worked on, so I am coming from a different viewpoint than yourself. I would tend to think that just running a full unit test all the way to your database would be the best test. You will be more likely to find the issues with your program if you are testing with an environment as similar to production as possible.
After running a test you can either purge the data you entered from your test by having sql scripts run against the db, or if this is difficult just reload the database from its original backup. You would probably be able to purge the data quicker than reloading the database from my experience, but it depends on your complexity of the sql scripts.
best of luck. -
How to submit a form in jsp from tag handler class
I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.
I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.
-
Customised Exception handling class.....
Hello Friends,
I am working on a project for which I need to create my own exception handling class.
The reason I need this class is to catch any exceptions and get a customised error message
according to each exception and then be able to display those messages on web page.
some examples of the exception I want to catch and display appropriate message are..
1. a duplicate reord in db
2. wrong data type (this will deal with ints,doubles and strings data types)
3. date type validation ( to make sure its date object instead of a string)
and there are several more messages but if can get some help or idea from any one to design a class for the above errors I might be able to manage other errors as well.
greatly appreciate any respnses.First off, you can extend Exception:
public class MyException extends Exception {
}You can put some custom messages into the class:
public class MyException extends Exception {
public static final String DUPLICATE_RECORD = "Duplicate record in db",
WRONG_DATA_TYPE = "Wrong data type",
VALIDATION_ERROR = "Invalid data type";
}Then, have your constructors, which take a String as an argument, so they can get your 'presets' or a custom message:
public class MyException extends Exception {
public static final String DUPLICATE_RECORD = "Duplicate record in db",
WRONG_DATA_TYPE = "Wrong data type",
VALIDATION_ERROR = "Invalid data type";
public MyException(String message) {
super(message);
}You could also have a series of exception classes: DuplicateRecordException, WrongDataTypeException, ValidationException, etc. Hope that helps.
m -
Missing Class error from handler class - urgent question!
Hi,
I am getting an "Missing Class" error when running a web service. The web service was generated from a Java class via the "create J2EE web service" option.
The web service has a JAX-RPC handler class added, which belongs to the same package as a logging class. The logging class is used to write to a file for debug purposes. A "missing class" error is being generated whenever I attempt to invoke the web service (via the enterprise manager test util), the error refers to the logging class which is used by the main handler class. The JAX-RPC handler works fine by itself, the error is only seen when I attempt to use the logging class.
I have re-built, re-deployed from scratch again, but still get the same error! Am I missing something simple here?
thanks for any adviceHello,
I have posted something similar, but I am not sure how to get over this issue. I am not sure if this is a code issue, I have scanned both EJB 2.0 and 2.1 specifications, but nothing caught my eye.
Here is the error I am getting starting this in JDeveloper 1013 :
Apr 11, 2006 12:17:49 AM com.evermind.server.Application setConfig
WARNING: Application: current-workspace-app is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: [current-workspace-app:CNSI-JDev-7_Exp-7_0:DbUtilWrapper] - Unable to load ejb-class com.my.common.database.ejb.DbUtilWrapperBean, see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError: java.lang.NullPointerException
Here is the ejb-jar.xml :
<session>
<description>Session Bean ( Stateless )</description>
<display-name>DbUtilWrapper</display-name>
<ejb-name>DbUtilWrapper</ejb-name>
<home>com.my.common.database.ejb.DbUtilWrapperHome</home>
<remote>com.my.common.database.ejb.DbUtilWrapper</remote>
<local-home>com.my.common.database.ejb.DbUtilWrapperLocalHome</local-home>
<local>com.my.common.database.ejb.DbUtilWrapperLocal</local>
<ejb-class>com.my.common.database.ejb.DbUtilWrapperBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
I am not sure if this should be in the assembly-descriptor, in ejb-jar.xml or orion-ejb-jar.xml :
<method-permission>
<unchecked/>
<method>
<ejb-name>DBUtilWrapper</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
Any ideas ?
Thanks -
Centralized error handling class
Hello Gurus!!!
I have developed coding for transaction fb03 in module pool program using OO concepts.
Now I want to enhance my coding using centralized error handling class.
ie. the errors are not shown immediately but a class captures those errors and then they are sent to the calling class which displays those errors).
Kindly suggest your answers.
Thanks in advance,
SachinDear Uwe,
I have implemented validation class which displays all the error messages through message class inside which I displayed error messages.
The code is as follows :-
CLASS z_validation DEFINITION.
PUBLIC SECTION.
METHODS: check_company_code,
check_docnr,
check_fiscal_year.
ENDCLASS. "Z_Validation DEFINITION
CLASS Z_Validation IMPLEMENTATION
CLASS z_validation IMPLEMENTATION.
METHOD: check_company_code.
if txt_codco = ' ' and txt_docno = ' ' and txt_fisyr = ' '.
MESSAGE i006.
endif.
IF txt_codco = ' '.
MESSAGE i002.
LEAVE TO SCREEN 0100.
ELSE.
SELECT t001~bukrs INTO CORRESPONDING FIELDS OF TABLE it_doc FROM t001
WHERE t001~bukrs = txt_codco..
IF sy-subrc NE 0.
MESSAGE i000.
LEAVE TO SCREEN 0100.
ENDIF.
ENDIF.
ENDMETHOD. "Check_Company_Code
METHOD: check_docnr.
IF txt_docno = ' '.
MESSAGE i003.
LEAVE TO SCREEN 0100.
ELSE.
SELECT belnr
INTO CORRESPONDING FIELDS OF TABLE it_doc FROM bkpf
WHERE bkpfbukrs = txt_codco AND bkpfbelnr = txt_docno.
IF sy-subrc NE 0.
MESSAGE i005.
LEAVE TO SCREEN 0100.
ENDIF.
ENDIF.
ENDMETHOD . "Check_Docnr
METHOD: check_fiscal_year.
IF txt_fisyr = ' '.
MESSAGE i004.
LEAVE TO SCREEN 0100.
ELSE.
SELECT gjahr
INTO CORRESPONDING FIELDS OF TABLE it_doc FROM bkpf
WHERE bkpfbukrs = txt_codco AND bkpfbelnr = txt_docno AND bkpf~gjahr = txt_fisyr.
IF sy-subrc NE 0.
MESSAGE i001.
LEAVE TO SCREEN 0100.
ENDIF.
ENDIF.
ENDMETHOD. "Check_Fiscal_Year
ENDCLASS. "Z_Validation IMPLEMENTATION
MODULE user_command_0100 INPUT.
DATA: obj1 TYPE REF TO z_validation,
obj2 TYPE REF TO z_data_processing,
obj3 TYPE REF TO z_screen.
CREATE OBJECT: obj1, obj2, obj3.
CASE sy-ucomm.
WHEN 'SEARCH'.
CALL METHOD: obj1->check_company_code.
CALL METHOD: obj1->check_docnr.
CALL METHOD: obj1->check_fiscal_year.
LEAVE TO SCREEN 0200.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
Please suggest your answer.
Thanks in advance,
Sachin -
Extending the Controller class OrderLinesTableRNCO
Hi,
My requirement is to enable 2 attribute columns on po lines summary table if a attribute1 on po header is Y else disable both of them.
I am writing trying to do this in the Controller class on the PO Lines summary table ( this is a advanced table). First i am just trying to get a handle on the messageinputlov column. IF this works then I will get a hangle to the po header column and will enable/disable based on its value.
My code is
package xxpb.oracle.apps.po.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;
import oracle.apps.fnd.framework.webui.beans.table.OAColumnBean;
import oracle.apps.fnd.framework.webui.beans.table.OASortableHeaderBean;
import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
import oracle.apps.po.document.order.webui.OrderLinesTableRNCO;
public class XXPBOrderLinesTableRNCO extends OrderLinesTableRNCO
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAAdvancedTableBean tableBean =
(OAAdvancedTableBean)webBean.findIndexedChildRecursive("LinesTableRN");
OAMessageLovInputBean poLineLov =
(OAMessageLovInputBean)tableBean.findIndexedChildRecursive("XXPBSecondaryUOMLOV");
poLineLov.setDisabled(false);
I have changed the control class using personalization. When i test this it gives me a null pointer exception. Can you please help and look if my code is wrong.
java.lang.NullPointerException
at xxpb.oracle.apps.po.webui.XXPBOrderLinesTableRNCO.processRequest(XXPBOrderLinesTableRNCO.java:23)Hi,
General Practice is to check for not null when you try to use the handle.
Ex:
public class XXPBOrderLinesTableRNCO extends OrderLinesTableRNCO
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAAdvancedTableBean tableBean =
(OAAdvancedTableBean)webBean.findIndexedChildRecursive("LinesTableRN");
if (tableBean != null)
OAMessageLovInputBean poLineLov =
(OAMessageLovInputBean)tableBean.findIndexedChildRecursive("XXPBSecondaryUOMLOV");
if (poLineLov != null)
poLineLov.setDisabled(false);
Regards
Sudhakar Mani
http://oraclearea51.com/sudhakarmani -
How to use application class reference in the controller methods of BSP
Hi,
I have created a bsp application and also created an application class and assigned it to the application class. In the application class, I have created attribute TEXT type string(public and instance parameter).
In the controller let's say main.do, I am trying to give a value to to the text by adding the following code.
application->text = 'test'.
I am getting syntax error saying field 'text' is unknown. It is not contained in one of the specified tables nor defined by DATA statement.
Please can someone let me know how to use the application class in the coding with an example. I couldn't find how exactly this has to be reference. Please help.
Best regards
SivaHi,
if you are having main controller and sub-controller then you may need to use below coding to use application class reference.
*Data declaration
DATA: obj_cntrl TYPE REF TO cl_bsp_controller2,
obj_sub_cntrl TYPE REF TO z_cl_sub_cntl,
application TYPE REF TO z_cl_application.
*Get the controller
CALL METHOD obj_main_cntrl->get_controller "obj_main_cntrl is the object of main controller
EXPORTING
controller_id = 'SUB' "Controller ID
RECEIVING
controller_instance = obj_cntrl .
obj_sub_cntrl ?= obj_cntrl .
application ?= obj_sub_cntrl ->application.
or simply use below code in your controller method.
application ?= me->application.
Thnaks,
Chandra -
Handling Oracle RAC Failover at the application layer
Hi All,
I am currently researching best practices for handling oracle RAC failover at the application layer since transactional statements (INSERT,UPDATE and DELETE) are not handled transparently. So I have few questions for the community:
1. In case of a node failure would I need to roll back all of transactional statements that are part of the transaction or would I have to re-execute the one that failed only?
2. Does things change with XA 2 phase commit transactions?
Any input and/or architecture suggestions would be much appreciated.
Regards,
Dmitriy FrolovHi,
the Oracle RAC stack works very vell on its own, without the need of a third party clusterware. It will be aware of failures on the nodes.
Database will be using ASM or RAW or NFS devices for Shared storage.
Oracle Clusterware can also be configured to monitor your applications and to a failover to other nodes.
However if you need a shared filesystem for your own applications, then you will have to use QFS or similar (which again than requires Sun Cluster).
See: http://www.oracle.com/technology/products/database/clusterware/index.html
Regards
Sebastian -
Handling file objects in the EJB layer
It is seen that file handling in the EJB violates the specs.
But, I have the requirement to read and parse some xpdl(xml specification) file in EJB.
The parsing function is already in the EJB layer and the filepath is obtained as input from jsp(in the request) in a servlet.
Im passing the filepath as a parameter to the bean method before parsing.
Now the requirement is to construct the File object out of xpdl file and pass it as a parameter to EJB method. How can this be achieved?Hi,
I'm not sure if this is helpful or not, but I just wanted to ask: If you know you need to parse the file on the EJB side, why not just go and do it? If you can always guarantee that files will be present in the same location that the beans are deployed to, then I don't think there is anything stopping you from reading them, if you know the full path to each file?
You wrote that the path to the file is obtained from a JSP page. If those files need to be parsed anyway, you could move the parsing code to your JSPs (servlets), and use ServletContext.getResourceAsStream to read the contents. Then you could send the contents as a parameter to your EJB call.
One last thing: if the files are large, you might want to consider using JMS and message-driven beans to do the reading/parsing job. Your MDBs could then call the EJBs, but you would have to return your results in an asynchronous manner.
Just a couple of thoughts.
Mark -
hi,
i created a tag handler source file.
the following exception is thrown as given below
C:\Tomcat 5.0\webapps\jsp-examples\WEB-INF\classes\Custom>javac ExampleTag.java
ExampleTag.java:3: package javax.servlet.jsp does not exist
import javax.servlet.jsp.*;
^
ExampleTag.java:4: package javax.servlet.jsp.tagext does not exist
import javax.servlet.jsp.tagext.*;
^
ExampleTag.java:7: cannot find symbol
symbol: class TagSupport
public class ExampleTag extends TagSupport
^
ExampleTag.java:13: cannot find symbol
symbol : class JspWriter
location: class Custom.ExampleTag
JspWriter out = pageContext.getOut();
^
ExampleTag.java:13: cannot find symbol
symbol : variable pageContext
location: class Custom.ExampleTag
JspWriter out = pageContext.getOut();
^
ExampleTag.java:20: cannot find symbol
symbol : variable SKIP_BODY
location: class Custom.ExampleTag
return(SKIP_BODY);
^
ExampleTag.java:20: illegal start of type
return(SKIP_BODY);
^
7 errors
can anyone help me with the problem????????hi
i compiled my tag handler class and stored the Source and class files in the WEB-INF\classes directory.
i created a descriptor file and saved it in WEB-INF\jsp directory.
i placed my jsp file in the jsp-examples folder.
then i started the server and executed the jsp file.
that time i was encountered with the following error.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/Custom/csajsp-taglib.tld" not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:202)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
can you help me??????????????????? -
Error in custom error handler class
Hiii...
i got some error s when i create error handler class
i use the following code for creating that class
package view.controller.fwkext;
import java.util.ArrayList;
import java.util.List;
import oracle.adf.model.binding.DCBindingContainer;
import oracle.adf.model.binding.DCErrorHandlerImpl;
import oracle.jbo.CSMessageBundle;
import oracle.jbo.DMLConstraintException;
import oracle.jbo.JboException;
public class CustomErrorHandler extends DCErrorHandlerImpl {
List<ExceptionMapper> exceptionMapperList = new
ArrayList<ExceptionMapper>();
public CustomErrorHandler() {
this(true);
public CustomErrorHandler(boolean setToThrow) {
super(setToThrow);
exceptionMapperList.add(new DisableJboExceptionCodesMapper());
public void reportException(DCBindingContainer bc, Exception ex) {
for (ExceptionMapper mapper : exceptionMapperList) {
if (mapper.canMapException(ex)) {
ex = mapper.mapException(ex);
super.reportException(bc, ex);
I got errors
DisableJboExceptionCodesMapper not fount
canMapException not fount
mapException not fountAbhilashs01,
Yes, that example from the docs appears to be missing a few things, to-wit: the ExceptionMapper class and the DisableJboExceptionCodesMapper class. Without the ExceptionMapper class, JDeveloper's import assistance is finding one in com.sun.jndi somewhere, which is obviously the wrong one. So, yes, the docs are good, but they appear to be missing some key things, making it kind of hard...
Another place to find an example error handler class is in the Fusion Order Demo: http://www.oracle.com/technology/products/jdev/samples/fod/index.html
John -
hi ,OTN
I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
>
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
help please?thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?
Maybe you are looking for
-
Photo Gallery - CS4 - Book?
I'm looking for an ActionScript 3 book that also includes a sample or tutorial on how to build a dynamic (xml) photo gallery. I've built simple xml galleries but the problem I'm having being able to page left or right when there are too many tumbnail
-
Hi my internet speed has dropped and i was hoping you guys know how to fix it im using a hh3 and have been with bt for 3-4 years and my test results Solved! Go to Solution.
-
I thought this was a pretty simple process. I heard that you can make it so that when you import photos into iPhoto it will leave the pictures and/or folders in their original file system and NOT import them into iPhoto's file system. I was really ex
-
Hello I have some question slides in my course that are not scored. After the questions have been answered or skipped and the learner clicks on the rewind button to re start the course the question slides are greyed out. How do I make the questions
-
Where do i get Ipod drivers for the 6.1.3 operating system?