Error whit simple position application
Hi,
i'm tring to make a siple location based app.
If in the code i insert this:
providerState = provider.getState();
the app don't start on my phone(wave s8500). It say: "java format file not valid". In the emulator the app works.
Why??
Edited by: 862423 on 30-mag-2011 8.43
Edited by: 862423 on 30-mag-2011 8.54
Search for deploying midlets on Samsung's phones. It's a hard task and here might be the problem. Try also another device of different producer to verify if it works correctly.
Similar Messages
-
Error in simple struts application
Hi friends,
Happy to meet again. Please help me out from this situation which kills me for the past 1 week. While i try to deploy my first struts application through eclipse 3.2 with jdk1.5 and tomcat 5.5.25 and struts 2.0.9 i'm getting this error. what is this regarding.
FYI
I'm just using two text boxes and trying to get those in next page....
The error goes like this
exception
org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.html.MessagesTei
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:281)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:423)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:249)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
org.apache.jasper.compiler.Parser.parse(Parser.java:127)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:249)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
org.apache.jasper.compiler.Parser.parse(Parser.java:127)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)See http://forum.java.sun.com/thread.jspa?messageID=3866745&tstart=0
-
BPM Simple Sample Application Error!!!
hi,
i have some problems with the bpm simple sample applications on our local sap nw ce system (7.1 ehp1 sp0)?
on the esworkplace i have download the *.sca file and have import this file into my nwds.
i following the simple sample documentation an define and configure the ERP and ERP_META Destinations on the nwds and our local sap nw ce system.
also i do the future steps which was described (service registry, proxy settings, ...).
on page 16 of the simple sample documetation is defined which Sofware Component has dependencies to other SC´s.
the SC "BPEM_BUILDT" depends on the SC "ESMP_BUILDT" and "COMP_BUILDT", the SC "COMP_BUILT" doesnt exist on my nwds (7.1 ehp1 sp0).
has everybody any idea why the SC "COMP_BUILT" not exist on my nwds???
still this absent SC i can deploy the bpm simple sample successful to our sap nw ce system.
now i do the post deployment steps for the bpm samples.
after this i call the simple sample application on my sap nw ce portal and can execute the "Initiate Equipment Phase In Process".
now i can see a new entry on my uwl, i open the uwl task.
at step 1, 2, 3 i change no data an click next, after step 3 (create equipment) i get the following error:
com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface <br>
IndividualMaterialERPCreateRequestConfirmation_In_V1 <br>
<br>
detailed error message: <br>
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata <br>
destination 'ERP_META' and WS interface 'IndividualMaterialERPCreateRequestConfirmation_In_V1'. One possible reason is that
Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: no endpoints found for interface
IndividualMaterialERPCreateRequestConfirmation_In_V1
at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getEndpointConfigurations(DestinationsHelperImplSoa.java:1184)
at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImplSoa.getWSDLUrl(DestinationsHelperImplSoa.java:847)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:547)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:377)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:230)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:195)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:529)
... 82 more
after this error i test the endpoint manually. i call the service registry (sr.esworkplace.sap.com) an search the service:
IndividualMaterialERPCreateRequestConfirmation_In_V1
now i test the endpoint with the following data:
MaintenancePlanningPlantID: 0001
WorkCentreID: TECH.SER
CategoryCode: M
the return is the following:
TypeID:005(PLM_SE_EAM_SC)
SeverityCode:1
Note:Individual Material 000000000010006703 is created
i think the return from the service was successful.
i hope somebody can help me!!!
thanks,
FabianHi Arafat,
the destinations for the services are already configured::
at destination template management > destination templates the following is defined:
- Tab: General
Destination Name: ERP
Destination Type: Service Registry
System: ABAP
System Name: HU2
Hostname: iwdf2379
Installation Nr.: 0120003411
Client: 800
- Tab: Security
Authentication: HTTP Authentication, User ID/Password (Basic)
User ID: <es workplace user (suser)>
pw: ******
and
- Tab: General
Destination Name: ERP_META
Destination Type: Service Registry
System: ABAP
System Name: HU2
Hostname: iwdf2379
Installation Nr.: 0120003411
Client: 800
- Tab: Security
Authentication: HTTP Authentication, User ID/Password (Basic)
User ID: <es workplace user (suser)>
pw: ******
also i have configured the same destination on my nwds.
i think this is correct?
futher ideas, why this doesnt work?
thanks,
fabian -
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 -
Error when running wda application
Could anyone help with this error which is occuring when i test my webdynpro abap application.
The following error text was processed in the system ERD : is not a valid attribute type. «abtbdyP
The error occurred on the application server pioerp01_ERD_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: INIT_ATTRIBUTES of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: CREATE_FROM_STRUCT of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: IFWDR_RG_CTRL_HANDLE~INIT_CONTEXT of program SAPLWDR_RG_GENERATED_SRC_API
Method: IFWDR_INTERNAL_API~INIT_CONTEXT of program SAPLWDR_RG_PROXY_FACTORY
Method: CONSTRUCTOR of program /1BCWDY/1YL2FTBMEIJ9VMUTZDX3==CP
Method: IF_WDR_CLASSLOADER~GET_COMPONENT_CONTROLLER of program /1BCWDY/1YL2FTBMEIJ9VMUTZDX3==CP
Method: CONSTRUCTOR of program CL_WDR_DELEGATING_COMPONENT===CP
Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
Method: CREATE_APPLICATION of program CL_WDR_CLIENT_APPLICATION=====CP
Where exactly this error could be occuring???
regards,
PriyankHI Abhimanyu,
Thanks for the reply. I have a simple view with just one textview field and two buttons. I have commented all code in the doinit method and mapped the context nodes again after deleting the previous ones.
still the error persists.
I have run this previously....just wondering what might have gone wrong now...
any pointers????
regards,
Priyank -
Error in compiling Flex application: 64K byte limit
Hi experts ,
While deploying the VC model , i m getting this error :
Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
(/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
Failed to compile AAD15VY.mxml
Could any one help me out in solving this issue ..its urgent ...
Your suggestions will be rewarded.
Thanks,
PratimaYou have to remove few components from your model to decrease the compiler generated LOC.
Check the following link for detailed solution:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
Taken from SAP Notes:
<i>Solution
Doing the following may help:
1.Divide problematic iViews into a number of nested iViews.
2.Optimize each model to reduce the number of elements that it
contains:
a.Reduce the number of signals by merging signals of the same name.
b.When your application updates forms with read-only fields, use
expression boxes and a data store instead of signals.
c.Minimize the use of animations in your models, including form
sliding and chart animation effects
d.Use a data store to store variables, instead of invisible forms.
To display messages, use a simple text rather than a static dynamic
expression.
3.For on-the-spot, temporary workarounds, you can try dragging an empty
layer onto the Design board. This sometimes solves the problem ad
hoc, but is not recommended as a best practice.
</i> -
Error while deploying adf application on oracle cloud service
hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
Warnings in whitelist log:
2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
2013-04-14 06:57:11 CDT: API Whitelist started
2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
javaee:web-app.
If you want to make your application public, you can have empty
<login-config/> in your web.xml. If you need authentication then you must
have <login-config> and its child <auth-method> element in web.xml.
Without this element(<login-config>), users may be challenged by SSO, but
the application code will be executed as anonymous user only. Line No:4.
2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
If you have a JSP file that is not pre-compiled, The compilation errors
could be shown on the browser. It is recommended to include
<jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
orcl-weblogic:weblogic-web-app.
You will be required to have distinct cookie-path, if multiple
applications are accessed with in the same SSO session or if you have
multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
in the same service instance.
Line No:2.
2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
2013-04-14 06:57:12 CDT: Whitelist validation passed.
2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
and Error in deploy log:
2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
2013-04-14 06:57:12 CDT: Deploy Application started
2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
2013-04-14 06:57:15 CDT: WL action state: failed
2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
2013-04-14 06:57:16 CDT: Application deployment failed.
2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
So,
I m not getting what is the problem and what will be solution for this?
What should i do?
What changes should required?
pls, help me to get out from this problem !!!!!Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
>
Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
ADF Desktop Integration
ADF mBean
ADF MDS (Seeded customizations or cross-session personalization)
ADF Mobile
ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
ADF Business Components services interfaces (web services) or events
ADF Data Controls for BI, Essbase, BAM, and JMX
Further there are some restrictions which are good to know I think
No Java Mail API (=>Sending Mails is prohibited)
No File system access by deployed applications (=>Writing files is prohibited)
No Direct use of Oracle JDBC Driver APIs
No Java Message Service (JMS)
Max Size for deployment archive 95MB
>
I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
Timo -
Error while running adf application(wrong post)
Hi
while running a simple adf application on jdev11g i am getting following error:
ServerInstance1 startup time: 25355 ms.
ServerInstance1 started.[Running application HRSystem on Server Instance ServerInstance1...]
[12:52:51 AM] ---- Deployment started. ----
[12:52:51 AM] Target platform is (Weblogic 10.3).
[12:52:52 AM] Retrieving existing application information
[12:52:53 AM] Running dependency analysis...
[12:52:53 AM] Deploying 2 profiles...
[12:52:55 AM] Wrote Web Application Module to C:\Users\Ami\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem\ViewControllerWebApp.war
[12:52:55 AM] Wrote Enterprise Application Module to C:\Users\Ami\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem
[12:52:55 AM] Deploying Application...
<Feb 10, 2011 12:52:55 AM IST> <Error> <Deployer> <BEA-149132> <Split-dir application HRSystem can only be deployed to the Admin Server>
<Feb 10, 2011 12:52:55 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'HRSystem'. Error is: '[Deployer:149132] Split-dir application HRSystem can only be deployed to the Admin Server' >
[12:52:55 AM] #### Deployment incomplete. ####
[12:52:55 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application HRSystem due to error deploying to ServerInstance1.
Serverinstance1 is the Admin server application server name.HRSystem is the name of application.Please advice.
ThanksIt looks like some jasper library missing.
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
Please make sure you have all dependent jasper libraries imported in your project.
Thanks,
Nantha -
Error while running adf application
Hi
while running a simple adf application on jdev11g i am getting following error:
ServerInstance1 startup time: 25355 ms.
ServerInstance1 started.[Running application HRSystem on Server Instance ServerInstance1...]
[12:52:51 AM] ---- Deployment started. ----
[12:52:51 AM] Target platform is (Weblogic 10.3).
[12:52:52 AM] Retrieving existing application information
[12:52:53 AM] Running dependency analysis...
[12:52:53 AM] Deploying 2 profiles...
[12:52:55 AM] Wrote Web Application Module to C:\Users\Ami\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem\ViewControllerWebApp.war
[12:52:55 AM] Wrote Enterprise Application Module to C:\Users\Ami\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\HRSystem
[12:52:55 AM] Deploying Application...
<Feb 10, 2011 12:52:55 AM IST> <Error> <Deployer> <BEA-149132> <Split-dir application HRSystem can only be deployed to the Admin Server>
<Feb 10, 2011 12:52:55 AM IST> <Warning> <Deployer> <BEA-149124> <Failures were detected while initiating deploy task for application 'HRSystem'. Error is: '[Deployer:149132] Split-dir application HRSystem can only be deployed to the Admin Server' >
[12:52:55 AM] #### Deployment incomplete. ####
[12:52:55 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
#### Cannot run application HRSystem due to error deploying to ServerInstance1.
Serverinstance1 is the Admin server application server name.HRSystem is the name of application.Please advice.
ThanksIt looks like some jasper library missing.
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext
Please make sure you have all dependent jasper libraries imported in your project.
Thanks,
Nantha -
Help needed in creating a simple paint application
I want to create a simple paint application using swings in java, i am able to draw different shapes using mouse but the problem is when i select some other shape it simply replaces the already drawn object with the new one but i want the already drawn object also, like appending, what should be done for this, any logic missing here or i should use some other approach?
Please help me
package test;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class bmp extends JFrame implements MouseListener, MouseMotionListener,
ActionListener {
int w, h;
int xstart, ystart, xend, yend;
JButton elipse = new JButton("--Elipse--");
JButton rect = new JButton ("Rectangle");
JPanel mainframe = new JPanel();
JPanel buttons = new JPanel();
String selected="no";
public void init() {
//super("Bitmap Functions");
// display.setLayout(new FlowLayout());
buttons.setLayout(new BoxLayout(buttons,BoxLayout.Y_AXIS));
buttons.add(Box.createRigidArea(new Dimension(15,15)));
buttons.add(elipse);
buttons.add(Box.createRigidArea(new Dimension(0,15)));
buttons.add(rect);
Container contentpane = getContentPane();
contentpane.add(buttons, BorderLayout.WEST);
//getContentPane().add(display, BorderLayout.WEST);
addMouseListener(this); // listens for own mouse and
addMouseMotionListener(this); // mouse-motion events
setSize(1152, 834);
elipse.addActionListener(this);
rect.addActionListener(this);
setVisible(true);
public void mousePressed(MouseEvent event) {
xstart = event.getX();
ystart = event.getY();
public void mouseReleased(MouseEvent event) {
xend = event.getX();
yend = event.getY();
repaint();
public void mouseEntered(MouseEvent event) {
//repaint();
public void mouseExited(MouseEvent event) {
//repaint();
public void mouseDragged(MouseEvent event) {
xend = event.getX();
yend = event.getY();
repaint();
public void mouseMoved(MouseEvent event) {
//repaint();
public static void main(String args[]) {
bmp application = new bmp();
application.init();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
public void mouseClicked(MouseEvent arg0) {
public void actionPerformed(ActionEvent event) {
if (event.getSource() == elipse) {
selected = "elipse";
repaint();
else if(event.getSource() == rect)
selected = "rectangle";
repaint();
public void paint(Graphics g) {
System.out.println(selected);
super.paint(g); // clear the frame surface
bmp b=new bmp();
if (selected.equals("elipse"))
w = xend - xstart;
h = yend - ystart;
if (w < 0)
w = w * -1;
if (h < 0)
h = h * -1;
g.drawOval(xstart, ystart, w, h);
if (selected.equals("rectangle"))
w = xend - xstart;
h = yend - ystart;
if (w < 0)
w = w * -1;
if (h < 0)
h = h * -1;
g.drawRect(xstart, ystart, w, h);
}bvivek wrote:
..With this code, when i draw an elipse or line the image doesnt start from the point where i click the mouse. It added the MouseListener to the wrong thing.
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import javax.swing.*;
public class test_bmp extends JPanel implements MouseListener,MouseMotionListener,ActionListener
static BufferedImage image;
Color color;
Point start=new Point();
Point end =new Point();
JButton elipse=new JButton("Elipse");
JButton rectangle=new JButton("Rectangle");
JButton line=new JButton("Line");
String selected;
public test_bmp()
color = Color.black;
setBorder(BorderFactory.createLineBorder(Color.black));
public void paintComponent(Graphics g)
//super.paintComponent(g);
g.drawImage(image, 0, 0, this);
Graphics2D g2 = (Graphics2D)g;
g2.setPaint(Color.black);
if(selected=="elipse")
g2.drawOval(start.x, start.y, (end.x-start.x),(end.y-start.y));
System.out.println("paintComponent() "+start.getX()+","+start.getY()+","+(end.getX()-start.getX())+","+(end.getY()-start.getY()));
System.out.println("Start : "+start.x+","+start.y);
System.out.println("End : "+end.x+","+end.y);
if(selected=="line")
g2.drawLine(start.x,start.y,end.x,end.y);
//Draw on Buffered image
public void draw()
Graphics2D g2 = image.createGraphics();
g2.setPaint(color);
System.out.println("draw");
if(selected=="line")
g2.drawLine(start.x, start.y, end.x, end.y);
if(selected=="elipse")
g2.drawOval(start.x, start.y, (end.x-start.x),(end.y-start.y));
System.out.println("draw() "+start.getX()+","+start.getY()+","+(end.getX()-start.getX())+","+(end.getY()-start.getY()));
System.out.println("Start : "+start.x+","+start.y);
System.out.println("End : "+end.x+","+end.y);
repaint();
g2.dispose();
public JPanel addButtons()
JPanel buttonpanel=new JPanel();
buttonpanel.setBackground(color.lightGray);
buttonpanel.setLayout(new BoxLayout(buttonpanel,BoxLayout.Y_AXIS));
elipse.addActionListener(this);
rectangle.addActionListener(this);
line.addActionListener(this);
buttonpanel.add(elipse);
buttonpanel.add(Box.createRigidArea(new Dimension(15,15)));
buttonpanel.add(rectangle);
buttonpanel.add(Box.createRigidArea(new Dimension(15,15)));
buttonpanel.add(line);
return buttonpanel;
public static void main(String args[])
test_bmp application=new test_bmp();
//Main window
JFrame frame=new JFrame("Whiteboard");
frame.setLayout(new BorderLayout());
frame.add(application.addButtons(),BorderLayout.WEST);
frame.add(application);
application.addMouseListener(application);
application.addMouseMotionListener(application);
//size of the window
frame.setSize(600,400);
frame.setLocation(0,0);
frame.setVisible(true);
int w = frame.getWidth();
int h = frame.getHeight();
image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
Graphics2D g2 = image.createGraphics();
g2.setPaint(Color.white);
g2.fillRect(0,0,w,h);
g2.dispose();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
@Override
public void mouseClicked(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseEntered(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mouseExited(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void mousePressed(MouseEvent event)
start = event.getPoint();
@Override
public void mouseReleased(MouseEvent event)
end = event.getPoint();
draw();
@Override
public void mouseDragged(MouseEvent e)
end=e.getPoint();
repaint();
@Override
public void mouseMoved(MouseEvent arg0) {
// TODO Auto-generated method stub
@Override
public void actionPerformed(ActionEvent e)
if(e.getSource()==elipse)
selected="elipse";
if(e.getSource()==line)
selected="line";
draw();
} -
Simple J2EE application fails under activation
Hi,
I have a simple J2EE application which contains one Servlet.
I have two DCs: SSORedirector (Enterprise application project) and SSORedirectWebModuleWebModule (Web Module)
(there is a third DC which is a child DC to SSORedirector, but I don't think it causes any problems)
The web module has by default public part called war (an I haven't touched this).
The Enterprise application project I have addeed the required references to the web module in the application.xml(this automatically set a Used DC reference).
When right-clicking the enterprise application and selecting build, it builds a correct ear file, and if I deploy it to my local workplace installation, the J2EE application works as expected.
However, when I try to check in and activate the activity the SDM deployment fails with the message: Info:java.lang.RuntimeException: Incorrect EAR file. EAR /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda does not contain entry META-INF/application.xml as required by the J2EE specification.
I've retrieved the .sda file on the file system (shouldn't it be an .ear file) and it contains the application.xml under the folder meta-inf. The complete contents of the sda file is
./d1c66970ddbec7e6ffcc4d01c4705600.HASH
./META-INF/application-j2ee-engine.xml
./META-INF/application.xml
./META-INF/MANIFEST.MF
./META-INF/SAP_MANIFEST.MF
./META-INF/sda-dd.xml
./src/java/src.zip
./bouvet.com~SSORedirectorServlets.war
What could possibly be wrong?
Below are some logs.
<b>Deployment log</b>
SAP Change Management Service
System sapJDI.st.bouvet.no
Build space JDI_ZEPSSO_D
Request 8554
Step Deployment
Log /sapmnt/JDI/global/TCS/LOG/JDI_ZEPSSO_D2006021618420025.log
Info:deploy every archive associated to the buildspace: JDI_ZEPSSO_D
Info:getting DC SSORedirector from CBS for buildspace: JDI_ZEPSSO_D
Info:archive /sapmnt/JDI/global/TCS/DEPLOYARCHIVES/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda for DC SSORedirector was transfered
Info:Start deployment:
Info:The following archives will be deployed (on http://sapED2.st.bouvet.no:50018)
Info:/sapmnt/JDI/global/TCS/DEPLOYARCHIVES/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda
Info:SDM log:
Info:
Info:
Info:
Info:
Info:
Info:
Info:
Info:
Info:Feb 16, 2006 7:39:58 PM Info: -
Starting deployment -
Info:Feb 16, 2006 7:40:01 PM Info: Loading selected archives...
Info:Feb 16, 2006 7:40:01 PM Info: Loading archive '/usr/sap/ED2/JC00/SDM/program/temp/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda'
Info:Feb 16, 2006 7:40:11 PM Info: Selected archives successfully loaded.
Info:Feb 16, 2006 7:40:11 PM Info: Actions per selected component:
Info:Feb 16, 2006 7:40:11 PM Info: Update: Selected development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596' updates currently deployed development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8590'.
Info:Feb 16, 2006 7:40:14 PM Info: The deployment prerequisites finished withtout any errors.
Info:Feb 16, 2006 7:40:14 PM Info: Saved current Engine state.
Info:Feb 16, 2006 7:40:15 PM Info: Error handling strategy: OnErrorSkipDepending
Info:Feb 16, 2006 7:40:15 PM Info: Update strategy: UpdateAllVersions
Info:Feb 16, 2006 7:40:15 PM Info: Starting: Update: Selected development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596' updates currently deployed development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8590'.
Info:Feb 16, 2006 7:40:15 PM Info: SDA to be deployed: /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda
Info:Feb 16, 2006 7:40:15 PM Info: Software type of SDA: J2EE
Info:Feb 16, 2006 7:40:15 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Info:Feb 16, 2006 7:40:15 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Info:Feb 16, 2006 7:40:15 PM Error: Aborted: development component 'SSORedirector'/'bouvet.com'/'JDI_ZEPSSO_D'/'8596':
Info:Caught exception during access of archive "/usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda":
Info:java.lang.RuntimeException: Incorrect EAR file. EAR /usr/sap/ED2/JC00/SDM/root/origin/bouvet.com/SSORedirector/JDI_ZEPSSO_D/8596/bouvet.com_PASSTHROUGH_SSO_1_default_bouvet.com_SSORedirector_200602161842250637.sda does not contain entry META-INF/application.xml as required by the J2EE specification.
Info: (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).null)
Info:Feb 16, 2006 7:40:26 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Info:Feb 16, 2006 7:40:27 PM Error: -
At least one of the Deployments failed -
Info:end of log received from SDM
Info:End deployment:
Info:deploy finished for SSORedirector (8554) with rc=12
Info:deployment finished for buildspace: JDI_ZEPSSO_D
<b>CBS log</b>
CBS Request Log - [ 8554/JDI_ZEPSSO_D ]
sapjdi.st.bouvet.no SAP Component Build Server
Build number assigned: 8596
Change request state from QUEUED to PROCESSING
ACTIVATION request in Build Space "JDI_ZEPSSO_D" at Node ID: 37,956,050
[id: 8,554; parentID: 0; type: 4]
[options: NO OPTIONS]
REQUEST PROCESSING started at 2006-02-16 18:41:35.949 GMT
===== Pre-Processing =====
List of activities to be activated:
1 activity in compartment "bouvet.com_PASSTHROUGH_SSO_1"
C049689.6 - Passthrough SSO
[seq. no 17][created by 433937 at 2006-02-16 19:41:49.0][ID 44ed44bc9f1911daae5b0012799e50b6]
Analyse activities... started at 2006-02-16 18:41:35.967 GMT
Synchronizing component "bouvet.com/SSORedirector" from repository... finished at 2006-02-16 18:41:37.129 GMT and took 1 s 10 ms
Component "bouvet.com/SSORedirector" is to be CHANGED by this activation.
Synchronizing component "bouvet.com/SSORedirectWebModule" from repository... finished at 2006-02-16 18:41:37.933 GMT and took 802 ms
Component "bouvet.com/SSORedirectWebModule" is to be CHANGED by this activation.
Synchronizing component "bouvet.com/SSORedirectorServlets" from repository... finished at 2006-02-16 18:41:39.144 GMT and took 1 s 211 ms
3 components to be build in compartment "bouvet.com_PASSTHROUGH_SSO_1"
Analyse activities... finished at 2006-02-16 18:41:39.202 GMT and took 3 s 235 ms
Calculate all combinations of components and variants to be built...
"bouvet.com/SSORedirector" variant "default"
"bouvet.com/SSORedirectorServlets" variant "default"
"bouvet.com/SSORedirectWebModule" variant "default"
Prepare build environment in the file system... started at 2006-02-16 18:41:39.410 GMT
Synchronize development configuration... finished at 2006-02-16 18:41:39.430 GMT and took 20 ms
Synchronize component definitions... finished at 2006-02-16 18:41:39.469 GMT and took 38 ms
Synchronize sources...
Synchronize sources... finished at 2006-02-16 18:41:40.891 GMT and took 1 s 422 ms
Synchronize used libraries...
public part "war" of component "bouvet.com/SSORedirectWebModule" ... OK
[PP "war" of DC 381 variant "default"][SC 142][last successfull build: 0]
public part "default" of component "sap.com/ejb20" ... OK
[PP "default" of DC 128 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/jdbc20" ... OK
[PP "default" of DC 145 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/jms" ... OK
[PP "default" of DC 147 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/servlet" ... OK
[PP "default" of DC 166 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/ejb20" ... OK
[PP "default" of DC 128 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/jdbc20" ... OK
[PP "default" of DC 145 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/jms" ... OK
[PP "default" of DC 147 variant "default"][SC 139][last successfull build: 8020]
public part "default" of component "sap.com/servlet" ... OK
[PP "default" of DC 166 variant "default"][SC 139][last successfull build: 8020]
Synchronize used libraries... finished at 2006-02-16 18:41:43.712 GMT and took 2 s 820 ms
Prepare build environment in the file system... finished at 2006-02-16 18:41:43.712 GMT and took 4 s 302 ms
===== Pre-Processing ===== finished at 2006-02-16 18:41:43.713 GMT and took 7 s 755 ms
===== Processing =====
BUILD DCs
"bouvet.com/SSORedirectorServlets" in variant "default"
Public Part "war" has been changed. Dependent components will be marked as DIRTY and re-built later.
The build was SUCCESSFUL. Archives have been created.
"bouvet.com/SSORedirectWebModule" in variant "default"
Public Part "war" has been changed. Dependent components will be marked as DIRTY and re-built later.
The build was SUCCESSFUL. Archives have been created.
"bouvet.com/SSORedirector" in variant "default"
The build was SUCCESSFUL. Archives have been created.
===== Processing ===== finished at 2006-02-16 18:41:56.154 GMT and took 12 s 436 ms
===== Post-Processing =====
Check whether build was successful for all required variants...
"bouvet.com/SSORedirectorServlets" in variant "default" OK
"bouvet.com/SSORedirectWebModule" in variant "default" OK
"bouvet.com/SSORedirector" in variant "default" OK
Update component metadata...
"bouvet.com/SSORedirector" has been CHANGED
"bouvet.com/SSORedirectWebModule" has been ACTIVATED
STORE build results...
"bouvet.com/SSORedirectorServlets": store meta-data
"bouvet.com/SSORedirectorServlets" in "default" variant is PROCESSED
"bouvet.com/SSORedirectWebModule": store meta-data
"bouvet.com/SSORedirectWebModule" in "default" variant is PROCESSED
"bouvet.com/SSORedirector": store meta-data
"bouvet.com/SSORedirector" in "default" variant is PROCESSED
Change request state from PROCESSING to SUCCEEDED
Analyse effect of applied changes to buildspace state... started at 2006-02-16 18:41:56.364 GMT
Handle Cycles...
No cycles detected.
Determine components that have become DIRTY due to the results of this request...
No such components have been found.
Integrate activities into active workspace(s)...
Integration of activities in compartment "bouvet.com_PASSTHROUGH_SSO_1" started at 2006-02-16 18:41:56.785 GMT
"C049689.6 - Passthrough SSO" OK
Integration of 1 activities in compartment "bouvet.com_PASSTHROUGH_SSO_1" finished at 2006-02-16 18:42:16.614 GMT and took 19 s 829 ms
Analyse effect of applied changes to buildspace state... finished at 2006-02-16 18:42:16.615 GMT and took 20 s 251 ms
Request SUCCEEDED
===== Post-Processing ===== finished at 2006-02-16 18:42:16.617 GMT and took 20 s 451 ms
REQUEST PROCESSING finished at 2006-02-16 18:42:16.618 GMT and took 40 s 669 msManaged to solve it in a obscure way.
I had earlier deployed the .ear file directly from NWDS to our dev system (hadn't installed dev workplace then). By removing the application from the deploy service in visual admin, the import suddenly worked.
Dagfinn -
Error when deploying BPM application: The specified process was not found
Hi,
I was trying to deploy a simple BPM application to a SOA Server, when I got the following error:
[04:55:19 PM] Error deploying archive sca_PRUEBABPM_rev1.0.jar to partition "default" on server WLS_SOA2 [http://myserver:8001]
[04:55:19 PM] HTTP error code returned [500]
[04:55:19 PM] Error message from server:
There was an error deploying the composite on WLS_SOA2: Operation failed - Member(Id=1, Timestamp=2013-07-15 19:30:56.492, Address=myadress:8088, MachineId=15229, Location=site:,machine:soadev1vhn1,process:29545, Role=WeblogicServer):Error occurred during deployment of component: PruebaManual to service engine: implementation.bpmn, for composite: PRUEBABPM: java.lang.RuntimeException: oracle.bpm.metadata.exception.MetadataException: BPM-70812: Process 'PruebaManual' not found. Cause: The specified process was not found. Action: Check that the name of the process is correct: oracle.bpm.metadata.exception.MetadataException: BPM-70812: Process 'PruebaManual' not found. Cause: The specified process was not found. Action: Check that the name of the process is correct; . Please see the server diagnostic logs on WLS_SOA2 for details.
[04:55:19 PM] Check server log for more details.
[04:55:19 PM] Error deploying archive sca_PRUEBABPM_rev1.0.jar to partition "default" on server WLS_SOA2 [http://myserver:8001]
The log file in the server console shows this:
Error during deployment oracle.fabric.common.FabricException: Operation failed - Member(Id=1, Timestamp=2013-07-15 19:30:56.492, Address=192.168.168.231:8088, MachineId=15229, Location=site:,machine:soadev1vhn1,process:29545, Role=WeblogicServer):Error occurred during deployment of component: PruebaManual to service engine: implementation.bpmn, for composite: PRUEBABPM: java.lang.RuntimeException: oracle.bpm.metadata.exception.MetadataException: BPM-70812: Process 'PruebaManual' not found. Cause: The specified process was not found. Action: Check that the name of the process is correct: oracle.bpm.metadata.exception.MetadataException: BPM-70812: Process 'PruebaManual' not found. Cause: The specified process was not found. Action: Check that the name of the process is correct; . Please see the server diagnostic logs on WLS_SOA2 for details at oracle.integration.platform.blocks.deploy.CompositeDeploymentCoordinatorMessages.throwOperationFailedOnNode(CompositeDeploymentCoordinatorMessages.java:132) at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.submitRequestAndWaitForCompletion(CoherenceCompositeDeploymentCoordinatorImpl.java:351) at oracle.integration.platform.blocks.deploy.CoherenceCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(CoherenceCompositeDeploymentCoordinatorImpl.java:214) at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:467) at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:268) at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:203) at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:147) at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:134) at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:100) at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221) at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:252) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Restart the server as I found in some pages and even a thread here (https://forums.oracle.com/thread/1557156) is not the better solution, the real issue still unknown. I need to find a solution without restarting the server machine.
Thanks,
AAPDLThat error means you don't have rights to the Mailbox your trying to access. In Exchange by default the only user that has access to mailbox is the owner of the Mailbox, Exchange Administration rights does not grant you access to another users mailbox. You
need to either specifically grant rights to each mailbox using Add-MailboxPermissions or use EWS impersonation where you can impersonate the owner of the Mailbox see
http://msdn.microsoft.com/en-us/library/bb204095(EXCHG.140).aspx and
http://msdn.microsoft.com/en-us/library/office/dd633680(v=exchg.80).aspx
Cheers
Glen -
When Creating Customer I get this ERROR "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively."
I tried troubleshooting when I saw the another post and created with a new customer profile class, but still getting an error, though I created another profile like below and attached this to another existing customer it worked, but when I tried creating a new customer it is still giving me the error. I am Using Oracle Applications R12.1.1
Steps I followed in Creating a New customer Profile
==== Make sure the new Customer Profile class which you will create is in active state. Cross check below steps while defining a customer Profile class.. e.g. Name : DEFAULT (and it's active)
*1) Profile Class Tab :*
a) Balance FWD Billing : Not enabled
b) Invoicing --> Tax Printing ( Summarize By Tax Name), Grouping Rule (DEFAULT)
c) Set Terms as per ur requirement , do allow discount & Override terms
d) Set Dunning as per your requirement,
e) Filled in Collectors info as per your requirement with Credit Check enabled...
f) Receipt --> Auto cash Rule set as 'Standard'..
*2) Late Charge Profile* Set it as per requirement
*3) Profile Class Amounts* e.g Say Currency set as "USD"
a) Credit Limit : 100000
b) Order Credit Limit : 100000
c) Minimum Receipt Amount : 1.00
d) Min statement amount : 1.00
e) don't put any value in Exchange Rate type (e.g, monthly, Plan etc..)
f) Minimum Customer Balance : Amount ------> Value: 5.00
g) Minimum Invoice Balance : Amount ------> Value: 5.00
h) Minimum Charge per invoice : 1, Maximum Charge per Invoice : 100 Under Interest Charge
i) mention Type as Fixed Rate, Value : 10
j) You can avoid setting the Penalty Charge for the time being..
Step-2_ a) Open a customer ..*go to Bill to site details* --> Click on Profile Tab --> Under Profile Class field please include new profile class which is created by you (e.g DEFAULT) . b) Go to Profile Amounts Tab --> Click(Show) on Currency USD --> Verify the set up here as well I could see this.
When I tried creating an new Customer using the new profile, it's repeating the same error. Please help.Hi
You get this error when profile class amounts are not set for all the currency. Go back to your profile and ensure that the profile amounts are set for all the currencies found, whether you are using it or not.
Regards -
Testing simple JMS application
I have written a very simple JMS application.
I am trying to get it to run with the SUN App Server 8. I accepted the default values when installing the server. I have the app server up and running. The following code is suppose to create the Session:
Context context = new InitialContext();
ConnectionFactory connectionFactory =
(ConnectionFactory)context.lookup("ConnectionFactory");
Connection connection = connectionFactory.createConnection();
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
I ave tried to run this from both the command line and from JBuilder. I have include the J2EE.jar in the classpath. I get the following error.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
I know that I can set properties for the InitialContext constructor, but is this required? If so, what would the properties be for the default server?Looks like you're missing the initial context factory class which is:
java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
But I believe Sun recommends not settting it directly. You should include appserv-rt.jar in your classpath. That jar file has a file called jndi.properties which specifies the above property I just mentioned. Open it up and take a look for yourself. -
Creating a simple image application in Apex
select
"IMAGE_ID",
<img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/> thumbnail,
"FILENAME" from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) >
Its is showing an error
showing only the coding part when i run the application instead of showing image....
can you please help me rectify the error
Edited by: 880021 on 17-Aug-2011 20:58Creating a simple image application in Apex
Create a new application from scratch. Name it ORDImages_images.
Add a Report and Form Page based on your ORDImage_images table. Ensure that you select a Classic Report (i.e. not Interactive, which is the default). As expected, two pages are created.
Continue to create the application and then run it.
After the login page, there will be spurious entries for image and thumbnail.
This is expected because of the ORDImage columns in the images table.
Edit Page 1 and open the Images Region
The Source entry is
select
"IMAGE_ID",
"IMAGE",
"THUMBNAIL",
"FILENAME"
from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
In SQL Developer, create the deliver_images_thumb procedure
CREATE OR REPLACE PROCEDURE deliver_thumbnail(p_image_id IN NUMBER) IS
l_thumbnail ORDSYS.ORDImage;
BEGIN
-- Fetch the thumbnail from the database
SELECT thumbnail
INTO l_thumbnail
FROM ORDImage_images
WHERE image_id = p_image_id;
-- Check update time if browser sent If-Modified-Since header
IF ordplsgwyutil.cache_is_valid( l_thumbnail.getUpdateTime() )THEN
owa_util.status_line( ordplsgwyutil.http_status_not_modified );
RETURN;
END IF;
-- Set the MIME type and deliver the image to the browser.
owa_util.mime_header( l_thumbnail.mimeType, FALSE );
ordplsgwyutil.set_last_modified( l_thumbnail.getUpdateTime() );
owa_util.http_header_close();
IF owa_util.get_cgi_env( 'REQUEST_METHOD' ) <> 'HEAD' THEN
wpg_docload.download_file( l_thumbnail.source.localData );
END IF;
END;
Then
GRANT EXECUTE ON deliver_thumbnail TO PUBLIC;
Return to Apex and change the Source entry to
select
"IMAGE_ID",
'<img src="#OWNER#.deliver_thumbnail?p_image_id='||IMAGE_ID||'"/>' thumbnail,
"FILENAME" from "ORDIMAGE_IMAGES"
where
instr(upper("FILENAME"),upper(nvl(:P1_REPORT_SEARCH,"FILENAME"))) > 0
Apply changes and run the application
You can now search on substrings of filenames. Note that the image_ID is not shown. To rectify this, Edit Page 1 and open Report in Regions.
Edit the image_id and under Column Link, change the Link Text to #IMAGE_ID#. Also change the Heading in the Column Attributes to Image ID.
Apply the changes and re-run.
Clicking on the image_id link takes you to Page 2 – the form for that image.
Page 2 is sparse so reveal the image_id by Editing Page 2 and opening the P2_IMAGE_ID Page Item. Change Display as Hidden to Text Field. Apply changes and re-run.
In Page Items, open and delete the P2_THUMBNAIL item.
Open the P2_IMAGE item.
Under Name, change the Display As entry to Display Image (from the select list).
Under Settings, change the Based On entry to BLOB Column returned by SQL Statement
Enter
SELECT i.image.source.localdata
FROM ORDimage_images i
WHERE image_id = :P2_IMAGE_ID
as the SQL Statement
Apply changes and re-run the application
Making an image clickable
Edit Page 1 and open Report in Regions. Edit THUMBNAIL and under Column Link, insert
<img src="#OWNER#.deliver_thumbnail?p_image_id=#IMAGE_ID#"/>
as Link Text.
Select Page 2 as the Target Page in this Application.
Finally, set Item 1's name to P2_IMAGE_ID and its Value to #IMAGE_ID#
Removing the Spreadsheet link
Under Report Attributes, set Enable CSV Output to No
Maybe you are looking for
-
Query help: Return mult. matching rows only, single table...
I've done some searching - but no luck - I have a question that should be easy for an expert: I want to select only rows that have multiple occurences of matching fields - and I don't know (or really care) what their values are. Example table has 5 f
-
Turning iMac DV 400 (G3 slot loader) on via the Apple Pro keyboard?
I was looking at my iMac's Lowendmac profile (located here: http://lowendmac.com/imacs/400.shtml) when I noticed right at the bottom of the page under "Cautions" it mentions: "You must have the keyboard plugged directly into an iMac USB port to boot
-
Would apple tv be good for viewing sports?
I like watching things on espn, are networks like this available like on traditional cable service?
-
If it helps I have the new 2.9 ghz Imac with Nvidia.
-
Update - can i get rid of it?
Is there any way to uninstall this latest update? it's awful....I made the mistake of installing and regret it. too many problems to list...