Getting classpath error while building DC of webdynpro project
Hi Experts,
I have created Development Component Project in NWDS, created componet for the webdynapro type project, for the implementation i took IAspectRow , while buiding the project getting error like.
The project was not built since its classpath is incomplete.
Cannot find the class file for com.sap.tc.col.client.generic.api.IAspectRow.
Fix the classpath then try rebuilding this project.
from where can i get this jar file to fix same in classpath.
Any one helpout me?
Regards
Srikanth
Hi,
Add two library references as below in the WDP Project properties -> Web Dynpro Reference -> Library Reference :
sap.com/tccolapi
sap.com/cafruntimeuicouplingapilib
Thanks,
Dipankar
Similar Messages
-
Classpath error while building the web dynpro project
Hi
I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
1) The project was not built due to classpath errors (incomplete or involved in cycle).
2) Missing required source folder 'BPOutageTable/BPOT'
BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.
This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
Can anybody please help in this?
Thanks & regards,
AnupreetHi,
You have give your classpath in your "lib" folder of the Dynpro application.
check your lib folder shows exact class path or not.
if you wish to add any jar files import it to your lib folder so you will not have compilation problem.
Hope it helps.If it is then close this thread.
Regards,
Guru -
Classpath error while building the project.
Hi
I have created an application in which on clicking the button on one view , next view opens and data is displayed in the tables. This data i am giving as static, and for that i have created a java file. this java file is located in the subfolder i have created in the package path i have given. While building the application, i get these two errors :
1) The project was not built due to classpath errors (incomplete or involved in cycle).
2) Missing required source folder 'BPOutageTable/BPOT'
BPOutageTable is the application name, and BPOT is the subfolder in which java file is present.
This application is similar to "The Master/Detail Viewer Application" example in the tutorials.
Can anybody please help in this?
Thanks & regards,
AnupreetHi anupreet,
it error at buildtime means your code is not able to locate the folder and the java class.
if you switch to navigator menu and create java class in src/package node (in any package). You can get the class within the dynpro component / view.
Again try this, create a class say HelloClass in src/package node in some package. go to webdynpro view and try to access this class in dynpro code.
Rgds,
Vilish -
Getting import errors while building the Dc for entity services
Hi all,
I am trying to create entity services in CAS and following the following help document from help.
http://help.sap.com/saphelp_nw04s/helpdata/en/05/3a0741b5b7ee6fe10000000a1550b0/frameset.htm
But While building I am getting following imports errors:
Error:
com.sap.caf.rt.bol.IPersistentBusinessObject cannot be resolved or is not a valid superinterface
com.sap.caf.rt.services.eventing cannot be resolved (or is not a valid type) for the field CarJDO
com.sap.caf.rt.bol.da.jdo.JDODADataAccessService cannot be resolved or is not a type
changedData cannot be resolved ,CarJDO.java
com.sap.caf.rt.bol.da.DataAccessFactory.DATASOURCE_LOCAL_DA cannot be resolved CarJDO.java
The method removeACL(String, String) is undefined for the type CAFPermission CarServiceBean.java
loadByCustomKeys(Car) is undefined for the type IDataAccessService CarServiceBean.java
Can anyone help.Hi Ritu,
The problem is due to the version of NWDS you are working on. If its an older version like 7.0.0 please try to upgrade it to 7.0.9. With this the problem would be solved.
You can try by deleting only the .metadata folder in the following path
D:\Documents and Settings\user\Documents\SAP\workspace
If still the problem exists the only thing you can do is reinstalling the IDE. before reinstalling it be sure that you completely delete all the workspace, .dtr and .dtc folders.
All the best...award if useful -
Getting an error while building a sample web service
Hi,
I am beginner in web services and started working on a sample application in a web service tutorial.
Build is failing in build.xml file while building sample web service using ant tool.
antBuildfile: build.xml
clean:
setup:
[mkdir] Created dir: /tmp/output/WEB-INF/classes
[mkdir] Created dir: /tmp/client_classes
compile.server:
[javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
webservice.build:
webss.build:
BUILD FAILED
Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Can anyone look into this and let me know if you have any idea on this?
Thanks,
SRoop.
Edited by: SRoop on Jun 20, 2008 9:11 AM
Edited by: SRoop on Jun 20, 2008 9:14 AM
Edited by: SRoop on Jun 21, 2008 5:51 AMHi,
I am beginner in web services and started working on a sample application in a web service tutorial.
Build is failing in build.xml file while building sample web service using ant tool.
antBuildfile: build.xml
clean:
setup:
[mkdir] Created dir: /tmp/output/WEB-INF/classes
[mkdir] Created dir: /tmp/client_classes
compile.server:
[javac] Compiling 1 source file to /tmp/output/WEB-INF/classes
webservice.build:
webss.build:
BUILD FAILED
Z:/JAVA-COBOL/sample1/tutorial/sample1/build.xml:43: The following error occurred while executing this line:
Z:/JAVA-COBOL/sample1/tutorial/sample1/build-webss.xml:10: Problem: failed to create task or type source2wsdd*_
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
Can anyone look into this and let me know if you have any idea on this?
Thanks,
SRoop.
Edited by: SRoop on Jun 20, 2008 9:11 AM
Edited by: SRoop on Jun 20, 2008 9:14 AM
Edited by: SRoop on Jun 21, 2008 5:51 AM -
Error while building execution plan
Hi, I'm trying to create an execution plan with container EBS 11.5.10 and subject area Project Analytics.
I get this error while building:
PA-EBS11510
MESSAGE:::group TASK_GROUP_Load_PositionHierarchy for SIL_PositionDimensionHierarchy_PostChangeTmp is not found!!!
EXCEPTION CLASS::: java.lang.NullPointerException
com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesigner.java:818)
com.siebel.analytics.etl.execution.ExecutionPlanDesigner.design(ExecutionPlanDesigner.java:1267)
com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:169)
com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:119)
com.siebel.analytics.etl.client.view.table.EtlDefnTable.doOperation(EtlDefnTable.java:169)
com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53)
com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85)
Sorry for my english, I'm french.
Thank you for helping meHi,
Find the what are all the subjectarea's in execution plan having the task 'SIL_PositionDimensionHierarchy_PostChangeTmp ', add the 'TASK_GROUP_Load_PositionHierarchy ' task group to those those subjectares.
Assemble your subject area's and build the execution plan again.
Thanks -
Error while building sample application "Developing an Order Application"
hi ,
I tried to create a simple Mobile application using the instructions for "Tutorial: Developing an Order Application for Handhelds" given at :-
http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/7294498d870ad3e10000000a11466f/frameset.htm
For the same , by using TCdoe SDOE_WB i created a new SWCV named ORDER_TAKER,
with a Data Object - > ORDER
added Data Object header node -> ORDERHEADER
The ORDERHEADER contains the following fields:
ORDERID CHAR8
CUSTID CHAR4
LONGTEXT CHAR32
SERVICEUNIT CHAR32
CREATED_ON DATS
CREATED_AT TIMS
As per the tutorial I created Mobile Service Component as "order_sv". under which created Data Objects , and a service name orderService . Now when I copied the code of Defining the Custom Methods , I am getting following error while building the MSC........
Line: -----
* [javac] Compiling 8 source files to C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\classes
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class OrderOrderheader
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:49: cannot find symbol
[javac] ERROR: symbol : method valueOf(java.lang.String)
[javac] ERROR: location: class java.util.Date
[javac] ERROR: order.setCreatedOn(Date.valueOf("2007-06-30"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:50: cannot find symbol
[javac] ERROR: symbol : variable Time
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order.setCreatedAt(Time.valueOf("08:45:00"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : class Order_svModel
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:77: cannot find symbol
[javac] ERROR: symbol : method valueOf(java.lang.String)
[javac] ERROR: location: class java.util.Date
[javac] ERROR: order.setCreatedOn(Date.valueOf("2007-07-05"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:78: cannot find symbol
[javac] ERROR: symbol : variable Time
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: order.setCreatedAt(Time.valueOf("10:00:00"));
[javac] ERROR: ^
[javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:80: cannot find symbol
[javac] ERROR: symbol : variable OcaRoot
[javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
[javac] ERROR: OcaRoot.getInstance().commit();
[javac] ERROR: ^
[javac] 30 errors *
Line: -----
Please help...........
Ekam
Edited by: Ekam Preet Singh on Sep 29, 2011 10:32 AMHi,
Please have a look at this thread,
Re: Error in CompatibilityMode
Regards,
Saravanan K -
hi ,
I m getting an error while building flex application
Error Description
"An internal Build Error has occured" Right click for more
information"
In my flex application there are around 5000 line of code .
i am binding 2000 Xml to the application
this much line of code causing a error
Please Help Me out
ThanXCode Snippet could be useful here in us understanding the issue.
-
Error while building webserivce(using workshop)
Hi,
I get this error while building a web service (developed using Weblogic Workshop-beta
version ) .
A database control is used to fetch data for the webservice.
The error in the Workshop IDE and the server are pasted below.
Please help.
Thanks and Regards,
SSN
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)Hello,
The released version of the Weblogic Workshop is now available (25Jun2002) with the WebLogic Platform:
http://dev2dev.bea.com/products/product.jsp?highlight=wlplatform
Thanks for trying the beta version.
Bruce
SSNarayan wrote:
Hi,
I get this error while building a web service (developed using Weblogic Workshop-beta
version ) .
A database control is used to fetch data for the webservice.
The error in the Workshop IDE and the server are pasted below.
Please help.
Thanks and Regards,
SSN
Workshop output
Charges.jws 0 An unexpected exception occurred while attempting to process the classes
and annotations for this Web Service. Error: Unknown KNEX string: description.null
Server output
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:928)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.crackClass(WsdlTypeBagImpl.java:386)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addType(WsdlTypeBagImpl.java:522)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.filter(WsdlTypeBagImpl.java:606)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.getElemRef(WsdlTypeBagImpl.java:940)
at weblogic.knex.wsdlgen.WsdlTypeBagImpl.addParamHolder(WsdlTypeBagImpl.java:121)
at weblogic.knex.wsdlgen.Schemas.addPartHolder(Schemas.java:45)
at weblogic.knex.wsdlgen.TypeXlatorImpl.createMessage(TypeXlatorImpl.java:221)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaOp(TypeXlatorImpl.java:721)
at weblogic.knex.wsdlgen.TypeXlatorImpl.fromJavaService(TypeXlatorImpl.java:831)
at weblogic.knex.dispatcher.TypeUtils.makeWsdlService(TypeUtils.java:1388)
at weblogic.knex.dispatcher.TypeUtils.makeWsdl(TypeUtils.java:1459)
at weblogic.knex.dispatcher.DispFile.makeDispClass(DispFile.java:2528)
at weblogic.knex.dispatcher.DispFile.makeDispFile(DispFile.java:611)
at weblogic.knex.dispatcher.DispUnit.makeDispUnit(DispUnit.java:50)
at weblogic.knex.dispatcher.DispCache.ensureDispUnit(DispCache.java:584)
at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5352)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:718)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3032)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) -
Error while building Webdynpro application
Hi all,
I am getting error while building web dynpro application.
Error is as :
Error Web Dynpro Generation: Metadata constraint of Component ExtraShifts is violated: ViewElementAggregation "//WebDynpro/View:dk.cph.sec.wd.extrashifts.application.ExtraShiftsView/RootUIElementContainer/Child:OuterGroup/Child:TuesdayGroup/Child:TuesdayTable/OutgoingAggregation:GroupedColumns", Role "Definition": A minimum of 1 object(s) is required ExtraShifts.wdcomponent WD_CPH_SEC_ExtraShift/src/packages/dk/cph/sec/wd/extrashifts/application
Please help me to resolve it.
Thanks,
Devender VHi,
Please have a look at this thread,
Re: Error in CompatibilityMode
Regards,
Saravanan K -
Getting following error while deploying my webservice on weblogic 10.3
hi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thankshi
I am tring to deploy a webservice (spring + cxf ) in weblogic 10.3
applicationContext.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<!-- Scan for both Jersey Rest Annotations a -->
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<context:component-scan base-package="com.persistent.rest"/>
<context:annotation-config />
<jaxws:endpoint
id="accountProcess"
implementor="com.persistent.rest.GetAccountListImpl"
address="/"
bindingUri="http://apache.org/cxf/binding/http" >
<jaxws:serviceFactory>
<bean class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>
<bean>...........</bean>
</beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>springCXFWeb</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>
org.apache.cxf.transport.servlet.CXFServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Getting following error while deploying my webservice on weblogic 10.3
<Dec 4, 2009 2:04:04 PM PST> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource http://META-INF/cxf/cxf.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
Truncated. see log file for complete stacktrace
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class http://org.apache.cxf.wsdl11.WSDLManagerImpl: Constructor threw exception; nested exception is java.lang.InternalError: erroneous handlers
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1259964185054' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
<Dec 4, 2009 2:04:04 PM PST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'springCXFApp'.>
<Dec 4, 2009 2:04:04 PM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.InternalError: erroneous handlers
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
Truncated. see log file for complete stacktrace
thanks -
Error while building javaeetutorial5
When I try to build "bookstore" from javaeetutorial5 I get this error:
Buildfile: build.xml
-pre-init:
init:
default-ear:
-pre-compile:
bpp-actual-compilation:
[echo] Compiling bookstore
[javac] Compiling 11 source files to /opt/javaeetutorial5/examples/web/bookstore/build/classes
BUILD FAILED
/opt/javaeetutorial5/examples/bp-project/command-line-ant-tasks.xml:89: /opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found.
Total time: 1 second
The solution is to edit the file /javaeetutorial5/examples/bp-project/build.properties.sample
--davidHi David,
Yes, the problem came from the ../bp-project/build.properties & ../bp-project/app-server.properties files. As indicated from your error messages "/opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found." It seems you are using AppServer on a solaris machine while those configuration files are default for window enviroment "c:/Sun/AppServer not found."
Here is what you should to do:
-Copy build.properties.sample to build.properties
-Edit the variables below for the correct path:
javaee.home=<The installation directory of your AppServer>
javaee.server.name=<machine name> (localhost)
javaee.server.port=<The port number for the server instance> (8080)
javaee.server.username=<The administrator username>
javaee.server.passwordfile=</path/to/passwordfile>
Note:
Inside passwordfile add: AS_ADMIN_PASSWORD=<The administrator password>
javaee.adminserver.port=<The port number for admin server> (4848)
-Do the same thing for app-server.properties file (optional)
You can find the information above from the link below
http://java.sun.com/javaee/5/docs/tutorial/doc/
Section: About The Examples
-davis -
Error while building SUP based iphone client application
Hi,
I am getting the following error while building the application for iphone simulator. I tried by changing search path settings and added libraries to Link binary search path.I really stuck here. Any body please help me how to solve it.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SUPMessageClient", referenced from:
objc-class-ref in SUP101AppDelegate.o
"_OBJC_CLASS_$_MBOLogger", referenced from:
objc-class-ref in SUP101AppDelegate.o
objc-class-ref in SUP101CallbackHandler.o
Thanks in advance
BalaHi Rockky/Wang
I have added the following libraries to "Link Binary with Libraries" . I am using xcode 4.0.2 , SDK 4.3 and MAC-OS 10.6 . Libraries are belongs to SUP 1.5.5. simulator-- iphonesimulator 4.3
AddressBook.framework
CoreFoundation.framework
QuartzCore.framework
Security.framework
libicucore.A.dylib
libstdc++6.dylib
libz.1.2.3.dylib
libclientrt.a
libMO.a
libSUPObj.a
After adding all these libraries automatically added path to "Link search path" as follows
$(inherited)
"$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib"
"$(SRCROOT)/../../../libs/Debug-iphonesimulator"
Header search path i have given as following
"/Users/RavuriB/includes/**"
"/Users/RavuriB/TravelRequestMAP/Generated Code/**"
Still i am getting the same error
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MBOLogger", referenced from:
objc-class-ref in SUP101CallbackHandler.o
"_OBJC_METACLASS_$_SUPDefaultCallbackHandler", referenced from:
OBJCMETACLASS_$_SUP101CallbackHandler in SUP101CallbackHandler.o
"_OBJC_CLASS_$_SUPDefaultCallbackHandler", referenced from:
OBJCCLASS_$_SUP101CallbackHandler in SUP101CallbackHandler.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
i tried by changing paths differently but no luck.
is that SUP 1.5.5 version is suitable for the xcode version and SDK?. Am I forgot to add any frameworks ? or any thing i need to change. I am really stuck at this problem . Can you Please help me to come out of this problem.
Thanks & Regards
Bala -
Getting an error while deploying the Quiz application in NWDEV
Hi,
I am getting an error while deploying the Quiz application in NWDEV.
Please check this error log.
It looks that it is not getting the Question.properties file but the file is already specified
in the desired location.
Error log:
Detailed Error Information
Detailed Exception Chain
java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Questions, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:839)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:808)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:702)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.initResourceBundle(AbstractResourceHandler.java:485)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.loadResourceBundle(AbstractResourceHandler.java:162)
at com.sap.tc.webdynpro.tutorials.quiz.QuizComp.wdDoInit(QuizComp.java:108)
at com.sap.tc.webdynpro.tutorials.quiz.wdp.InternalQuizComp.wdDoInit(InternalQuizComp.java:122)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Regards
Kaushik BanerjeeHi,
I think it is talking the default browser language as US and seraching for the properties file of that language.
I think the sol for this prob is change the
Question.properties -
>Question_en.properties
Thanks & Regards,
Lokesh -
Getting an error while exposing as grid service
hii everyone,
I need to expose kmeans algortihm as a grid service as part of my project. I attached java source code of kmeans algorithm and its wsdl file. I am getting the following error while building and deploying my Kmeansgrid project. It seems there is an error in my wsdl file. I couldnt figure it out. Please help me. Thank you.
processing WSDL in main3.wsdl
[java] ERROR: Couldn't find main3PortType porttype.
[java] [main] ERROR wsdl.WSDLPreprocessor - ERROR: Couldn't find main3PortType porttype.
[java] java.lang.Exception: PortType not found: main3PortType
[java] at org.globus.wsrf.tools.wsdl.TypesProcessor.getPortType(TypesProcessor.java:476)
[java] at org.globus.wsrf.tools.wsdl.WSDLPreprocessor.main(WSDLPreprocessor.java:192)
BUILD FAILED
C:\eclipse\workspace1\KmenasGrid\buildservice.xml:11: The following error occurred while executing this line:
C:\eclipse\GTK\etc\build.xml:228: The following error occurred while executing this line:
C:\eclipse\GTK\share\globus_wsrf_tools\build-stubs.xml:160: Java returned: 1
And My WSDL file is given below:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://cluster.algorithm.c4s.org" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://cluster.algorithm.c4s.org" xmlns:intf="http://cluster.algorithm.c4s.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://cluster.algorithm.c4s.org" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="clustering">
<complexType>
<sequence>
<element name="i" type="xsd:int"/>
<element name="j" type="xsd:int"/>
<element name="s11" type="xsd:string"/>
<element name="i1" type="xsd:int"/>
<element name="j1" type="xsd:int"/>
<element name="s12" type="xsd:string"/>
<element name="i2" type="xsd:int"/>
<element name="j2" type="xsd:int"/>
<element name="s13" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="clusteringResponse">
<complexType>
<sequence>
<element name="clusteringReturn" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="clusteringRequest">
<wsdl:part element="impl:clustering" name="parameters"/>
</wsdl:message>
<wsdl:message name="clusteringResponse">
<wsdl:part element="impl:clusteringResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="main3">
<wsdl:operation name="clustering">
<wsdl:input message="impl:clusteringRequest" name="clusteringRequest"/>
<wsdl:output message="impl:clusteringResponse" name="clusteringResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="main3SoapBinding" type="impl:main3">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="clustering">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="clusteringRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="clusteringResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="main3Service">
<wsdl:port binding="impl:main3SoapBinding" name="main3">
<wsdlsoap:address location="http://localhost:8080/kmeans/services/main3"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>I have sorted out the issue. I didnt provide the access of document service to authenticated user. For this i have changed in following way.
1. Go to group space then click on actions menu.
Manager-->All Settings-->Security-->Roles tab set up various security level to Moderator, Participants & Spaces-User i.e. authenticated user.
Regards,
SEWSupport
Maybe you are looking for
-
Service Entry sheet to give message monthly amount exceed
Hello friends, Here is the below query in service procurement. We have created a service PO with 1 year validity, in service details we have entered qty and rate for the services for a month. We get the net amount for a month. Now we need this servic
-
Problem adding classpath for managed server in 10.3
Hi All, I have a managed server that uses startup classes. According to the documentation, you have to put the absolute path to the startup classes in the server's classpath. I go to the server's configuration and the Server Startup tab to enter the
-
Apple Bluetooth keyboard unsuccessful pairing in Windows 8.1 using Bootcamp 5.1
This is in regards to a MacBook Pro "Core i7" 2.4 15" Late 2011. The keyboard is an Apple Bluetooth keyboard. When I start windows, then open bluetooth devices, then hold down the power button on the keyboard, then click the "Pair" button, suddenly i
-
Plz hlep, Misuse of ellipsis ...
Anyone can hlep...?
-
Taxes / excise pricing procedure
Hello Experts, I need a clarification on why do we need to maintain separate excise procedure in SD though we define all the necessary Tax condition types in our regular pricing procedure. I mean what does excise pricing procedure do in SD, if it is