Demo Application bugs
I was looking at using some snippets from the Java demo apps,
and found a couple of problems.
#1 -- The app must be used from a base directory. If you are
in a higher director it will throw errors because "this.destFile"
isn't used except when defined; instead, it is continually and
improperly rebuilt from "sourceFile.getName()".
*The old and my corrected "completeFile()" functions are
pasted below.
#2-- using "append" does not seem to work. It seems the
backbone is not updated although it looks like everything else
might be in place for it to work. I haven't yet debugged this.
Thanks for the find.
This is demo code that was written by an intern over the
summer to highlight how Mars can be manipulated and generated using
simple XML tools.
I'll roll in your changes and the next time we release the
demos this should be fixed.
Similar Messages
-
Charts in Apex 3.2 demo application do not display in Firefox browser
Hi,
just installed Apex 3.2 and launched the demo application using Firefox 3.5.7
The charts are not displayed. Switching to MS Internet Explorer everything works fine.
Is Firefox not supported or any idea what's missing to display the charts ? Adobe flashplayer 10 plugin and Adobe SVG 3.0 are installed on
my WIN XP client.
Regards, WernerIt kept bugging me .. so I worked on it a bit.
The charts actually show, then get hidden by the noplugin funciton.
The problem is in Firefox ( the (ns || mo || !win) branch) the plugin check does not work.
When I use either this, the check for SVG feature:
function supportsSvg() {
return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape", "1.0")
and
hasSVGSupport = supportsSvg();
or a check by mime types , like this:
var hasSVGSupport = false;
if (navigator.mimeTypes != null && navigator.mimeTypes.length > 0) {
if (navigator.mimeTypes["image/svg-xml"] != null)
hasSVGSupport = true;
I get the correct result and the charts display (remain displayed).
I simply modified plugins.js and use my modified version instead.
if (ns || mo || !win) {
if (hasSVGSupport) {
null;
} else {
noPlugin('svgRegion');
Hope this helps,
K -
Sample source code for demo application
Can you please kindly provide me source code of the demo application, i need both oracle form which is converted in to adf and also converted adf code it using Forms2adf, it will be a great help to making a decison for oracle form migration
Thank youHi,
I think this thread accurately lists the available options for evaluation of the forms 2 adf migration.
How can i test forms2adf generator?
Regards,
Ruud -
Oracle Fusion Order Demo Application
Hi,
I downloaded this DEMO :
Oracle Fusion Order Demo Application
http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
And when in step
9.In the application navigator, under the Resources node, Right click build.xml and choose Run Ant Target > buildAll
I receive this error :
Buildfile: E:\Jdev_sources\Infrastructure\Ant\build.xml
init:
[mkdir] Created dir: E:\Jdev_sources\Infrastructure\Ant\classes
[javac] Compiling 1 source file to E:\Jdev_sources\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
E:\Jdev_sources\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
E:\Jdev_sources\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
E:\Jdev_sources\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
E:\Jdev_sources\Infrastructure\DBSchema\build.xml:28: E:\Jdev_sources\Infrastructure\Ant\wlserver_10.3\server\lib not found.
Total time: 14 secondsEffectiveley E:\Jdev_sources\Infrastructure\Ant\wlserver_10.3\server\lib does not existe but it should be (seems to me) a part of whet was downloaded.
Thank for help.Hi again, and thanks to all.
I reinstalled all and Now I have the followings that seems to be a connectivity problem :
First the parameteres in build.properties :
jdeveloper.home=E:/Oracle/Middleware/jdeveloper
src.home=..//..
# JDBC info used to create Schema
jdbc.driver=oracle.jdbc.OracleDriver
jdbc.urlBase=jdbc:orcl:thin:@localhost
jdbc.port=1521
jdbc.sid=ORCL
Buildfile: E:\Jdev_source\Infrastructure\Ant\build.xml
init:
[mkdir] Created dir: E:\Jdev_source\Infrastructure\Ant\classes
[javac] Compiling 1 source file to E:\Jdev_source\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
E:\Jdev_source\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
E:\Jdev_source\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
E:\Jdev_source\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
E:\Jdev_source\Infrastructure\DBSchema\build.xml:28: java.sql.SQLException: No suitable Driver for jdbc:orcl:thin:@localhost:1521:ORCL
Total time: 32 secondsOracle is installed on the same server and DB is on the same server.
E:\Jdev_source>cd E:\oracle\product\10.2.0\db_1\jdbc\lib
E:\oracle\product\10.2.0\db_1\jdbc\lib>dir
Volume in drive E is Data
Volume Serial Number is E856-5E27
Directory of E:\oracle\product\10.2.0\db_1\jdbc\lib
13/11/2009 14:21 <DIR> .
13/11/2009 14:21 <DIR> ..
02/02/2008 14:49 1 609 607 classes12.jar
02/02/2008 14:49 1 622 075 classes12.zip
02/02/2008 14:49 1 617 382 classes12dms.jar
11/02/2008 19:52 1 646 217 nls_charset12.jar
02/02/2008 14:49 1 555 682 ojdbc14.jar
02/02/2008 14:49 1 563 375 ojdbc14dms.jar
02/02/2008 14:49 1 958 237 ojdbc14dms_g.jar
02/02/2008 14:49 1 950 033 ojdbc14_g.jar
8 File(s) 13 522 608 bytes
2 Dir(s) 7 992 795 136 bytes free
Regards.
Ok finaly it was this :
jdbc.urlBase=jdbc:oracle:thin:@localhost
If you look above , before, I had :
jdbc.urlBase=jdbc:orcle:thin:@localhost
:=(((
Now :
BUILD SUCCESSFUL
Total time: 35 seconds
Thanks again. -
Oracle Fusion Order Demo Application For JDeveloper error
HI,
i try to run the (Oracle Fusion Order Demo Application For JDeveloper) Fusion Order Demo (FOD) is an end-to-end application sample :
when i try to : Right click build.xml and choose Run Ant Target > buildAll . error coming
Buildfile: C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml
init:
[javac] Compiling 1 source file to C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
C:\JDeveloper\FusionOrderDemo_R2_1_revised\Infrastructure\DBSchema\build.xml:28: C:\Oracle\Middleware\jdeveloper\wlserver_10.3\server\lib not found.
Total time: 6 seconds
how i can run the build.xmlHi,
not quite sure the question is clear. The add cart command is a link defined in the JSPX file
<af:commandLink partialSubmit="true"
actionListener="#{shoppingCartBean.addItemToCart}"
id="cl3">
that points to
public void addItemToCart(ActionEvent evt) {
Map attributes = evt.getComponent().getAttributes();
invokeUpdateOp(new Integer(attributes.get( PRODUCT_ID_COL )+ ""));
in StoreFrontModule\StorefrontUI\src\oracle\fodemo\storefront\cart\view\managed\ShoppingCartBean.java . This is where you follow up then.
+"how i can make Repetition for the items in home.jspx"+
I can only assume you mean how to create the catalog items. Here I suggest you look at the demo source as this is what the demo is for. If you are new to ADF, I recommend that you first run a tutorial from here
If you are on 11g R1: http://www.oracle.com/technetwork/developer-tools/jdev/overview/index-100269.html
If you are on 11g R2: http://docs.oracle.com/cd/E18941_01/tutorials/toc.htm
No demo can replace proper learning, to be honest
Frank -
Error in loading demo application
Hi ,
I tried in loading the issuer tracker demo application as per directions in the read me file.
When I tried to import the sql through application express instant , I am getting the error as shown below.
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-20001: The procedure remove_flow was called without a value for p_id -- a application ID must be provided. <pre>begin -- Remove Application wwv_flow_api.remove_flow(); end; </pre>
Any one has idea's.
Thanks
MA.I'll take a guess here.
I'm thinking your phrase "import the sql through application express instant" means that you're taking the SQL script and attempting to execute it in SQL Script or SQL Commands in the SQL Workshop.
If that is the case, then that's your error. You simply want to import this as an Application in Application Builder.
Joel -
Error while executing the DEMO application of ADS
Hi,
I have installed a sneak preview version of Java stack 7.0. With that I have downloaded the latest credentials for Adobe Document Service from the SDN and followed these steps to configure it.
Copied the .pfx file to <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials.
Logged into visual admin .
On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration
On the Runtime tab, select Credentials
Choose Browse to search for the name of the credential and then Select
In the Alias field, enter the alias of the credential you installed, for example ReaderRights. (Entries for the name of the credential are case-sensitive)
In Password field, enter the password you received together with the credential you installed (filename.txt in the archive). Confirm the password again and then click Add
Restart the following services for the changes to take effect: PDF Manipulation Module, Document Services Trust Manager. To perform this, right-click on the repective service choose Stop and after the service has stopped, Start it again
Restart also the application com.adobe/AdobeDocumentServices located at Server 0 -> Services -> Deploy (radio button Application)
I can execute the web service of ADS sucessfully using the URL: http://localhost:50100/AdobeDocumentServices/Config. I am getting response with version number.
After doing so I tried executing the DEMO Application from the link :
http://localhost:50100/webdynpro/dispatcher/local/TutWD_OnlineInteractiveForm/OnlineInteractiveFormApp
But the applicaiton was not getting executed.
I got the following error.
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
... 47 more
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:396)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
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)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:121)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:341)
... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:382)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3710)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:139)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:89)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:359)
... 35 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:548)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1425)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
... 37 more
Does it mean that my ADS is not configured properly? Did I missed any step.
Kindly guide me on the same.
Thanks in advance.
Regards,
Nirmal GHi Nirmal,
Refer to this https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06717aea-0c01-0010-b28f-e6494458788f guide to see if you have done all the settings.
Regards,
Arafat -
File upload demo application in 2.0
Hi!
I implemented the file upload application from the demo applications with the standard table HTMLDB_APPLICATION_FILES. It works very fine. Thanks for sharing this code.
BUT I was unable to implement a custom table, because I could not locate the insert-function (as described in the tutorial). It is no known process on any of my pages.
Could you help me finding it?
(And is a file always stored as blob, or could it be a clob as well?)
My main motive for this question is to gain inside knowledge in building some crude filerepository. We receive plain-ascii-data files via ftp and I have to import their data into a table.
I do not want to go through all this 'reading OS-directory with java, opening files as external tables, moving them with utl_file', if I simply could
a) receive the file directly as a clob in my table
b) get the necessary data with sql
c) handle all archiving, file renaming directly by updating a table
Beside application express's file upload (speaking only http), the is a XML repository which 'speaks' ftp and http.
Does someone have experience with uploading non-xml files and storing them as clobs?
Thanks,
MichaelHello Michael,
I believe the reference in the demo tutorial is to Insert process (not function). This is probably the process defined on page 8-6, step 4a of the "Create a process to insert information" section.
Basically you can upload and store files in CLOB. For my self, I only did it with XML files, but I don't see any reason not to do it with other types of files.
I think that in order to work with non-structured files (like ASCII) you should learn more about Oracle Text. Apex is also using this product. Search this forum for "oracle text" and continue from there.
Hope this helps,
Arie. -
Javax.xml.soap.SOAPException in Fusion Order Demo Application
Hi,
I setup the Oracle Fusion Middleware. I also deployed the Oracle Fusion Order Demo Application in the soa_server. I placed the order in the store front web for the price of 3000. The Store font Service initiates the call to webservice (OrderBookingService) and aproved the order using BAM worklist application and then I found the below error in the soa_server_diagnostic log file.
=====================================================================================================================================
2011-01-14T11:17:27.525+08:00] [soa_server1] [WARNING] [] [oracle.bam.adapter.adc.soap.DOOperationsDispatch] [tid: BatchProcessorThread(0)] [userId: <anonymous>] [ecid: 0000Iq2VyNWDCgWFLzuHOA1DBcDA000CjD,1:30958] [dcid: b6be438a400b4064:-27d42103:12d7db2014a:-7ffc-0000000000001b7c] Error in batch webservice[[
javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:784)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105)
at oracle.bam.adapter.adc.soap.DOOperationsDispatch.batch(DOOperationsDispatch.java:103)
at oracle.bam.adapter.adc.soap.SOAPBatch.flush(SOAPBatch.java:107)
at oracle.bam.common.batching.BatchProcessor.run(BatchProcessor.java:1149)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:227)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:741)
... 10 more
Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:516)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:1232)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:225)
... 17 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at java.net.Socket.connect(Socket.java:475)
at java.net.Socket.<init>(Socket.java:372)
at java.net.Socket.<init>(Socket.java:215)
at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:212)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3606)
at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4364)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3358)
at HTTPClient.HttpOutputStream.closeImpl(HttpOutputStream.java:461)
at HTTPClient.HttpOutputStream.access$000(HttpOutputStream.java:99)
at HTTPClient.HttpOutputStream$1.run(HttpOutputStream.java:417)
at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:666)
at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:415)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:1045)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:491)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:1232)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:225)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:94)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:741)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105)
at oracle.bam.adapter.adc.soap.DOOperationsDispatch.batch(DOOperationsDispatch.java:103)
at oracle.bam.adapter.adc.soap.SOAPBatch.flush(SOAPBatch.java:106)
at oracle.bam.common.batching.BatchProcessor.run(BatchProcessor.java:1149)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
=====================================================================================================================================
Edited by: Raju Ilayaraja on Jan 17, 2011 12:18 AMHi,
BookingOrderProcess is working correctly. I am getting the below error periodically.It looks like some batch process is throwing the communication error.
[2011-01-17T19:16:26.231+08:00] [soa_server1] [WARNING] [] [oracle.bam.adapter.adc.soap.DOOperationsDispatch] [tid: BatchProcessorThread(0)] [userId: <anonymous>] [ecid: 0000Iq2VyNWDCgWFLzuHOA1DBcDA000CjD,1:30958] [dcid: b6be438a400b4064:-27d42103:12d7db2014a:-7ffc-0000000000001b7c] Error in batch webservice[[
javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:784)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:234)
at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:105)
at oracle.bam.adapter.adc.soap.DOOperationsDispatch.batch(DOOperationsDispatch.java:103)
at oracle.bam.adapter.adc.soap.SOAPBatch.flush(SOAPBatch.java:107)
at oracle.bam.common.batching.BatchProcessor.run(BatchProcessor.java:1149)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:227)
at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75)
at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64)
at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134)
at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90)
at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:275)
at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:95)
at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:741)
... 10 more
Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:516)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:1232)
at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:225)
... 17 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
Regards,
Ilaya -
Oracle Fusion Store Front Demo Application - Schema Creation Failed
I have downloaded the Fusion Store Front Demo Application "FusionOrderDemo_R1PS2.zip" from http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html .
Followed the instructions on the same page. But Schema creation is failing.
I am not sure why it is not picking the whole path till JDeveloper i.e. looking for wlserver_10.3\server]\lib in I:\Oracle\FusionMiddleware\wlserver_10.3\server\lib ( JDeveloper not getting added to path.)
Build.Properties file content :
jdeveloper.home=I:/Oracle/FusionMiddleware/JDeveloper
src.home=..//..
# JDBC info used to create Schema
jdbc.driver=oracle.jdbc.OracleDriver
jdbc.urlBase=jdbc:oracle:thin:@localhost
jdbc.port=1521
jdbc.sid=XE
# Information about the default setup for the demo user.
db.adminUser=system
db.demoUser=FOD
db.demoUser.password=fusion
db.demoUser.tablespace=USERS
db.demoUser.tempTablespace=TEMP
Error :
BUILD FAILED
F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\DBSchema\build.xml:28: I:\Oracle\FusionMiddleware\wlserver_10.3\server\lib not found.
Total time: 2 seconds
Thanks,
RajdeepThanks John.
So jdeveloper.home is not the JDeveloper installation directory. Actually jdeveloper.home value should include jdeveloper folder along with JDeveloper Installation directory.
Can you please look whether this run is successful. It seems like some issues with populate images or should i open a separate post for this.
Buildfile: F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\Ant\build.xml
populateImages:
[java] Jan 13, 2011 12:21:21 AM oracle.as.jmx.framework.LoggerHelper log
[java] SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1895)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1851)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1831)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:207)
[java] at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:215)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[java] at java.lang.Class.newInstance0(Class.java:355)
[java] at java.lang.Class.newInstance(Class.java:308)
[java] at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:2061)
[java] at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:950)
[java] at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1692)
[java] at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1666)
[java] at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1962)
[java] at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:507)
[java] at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:470)
[java] at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:436)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
[java] at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:50)
[java] at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
[java] at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
[java] at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
[java] at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
[java] at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
[java] at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
[java] at oracle.jbo.server.SessionImpl.init(SessionImpl.java:160)
[java] at oracle.jbo.server.ApplicationModuleHomeImpl.createSession(ApplicationModuleHomeImpl.java:106)
[java] at oracle.jbo.server.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:43)
[java] at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:52)
[java] at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:73)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
[java] at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)
[java] at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2767)
[java] at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:589)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2327)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
[java] at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
[java] at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
[java] at oracle.fodemo.share.imageloader.LoadImages.main(LoadImages.java:23)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[java] at org.apache.tools.ant.Main.start(Main.java:179)
[java] at org.apache.tools.ant.Main.main(Main.java:268)
[java] Caused by: java.lang.IllegalStateException: access denied (javax.management.MBeanTrustPermission register)
[java] at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:268)
[java] at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:137)
[java] at oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl.init(JMXFrameworkProviderImpl.java:77)
[java] ... 93 more
[java] Caused by: java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
[java] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
[java] at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
[java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824)
[java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310)
[java] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
[java] at oracle.as.jmx.framework.config.session.ReadOnlyConfigurationMBeanServer.registerMBean(ReadOnlyConfigurationMBeanServer.java:80)
[java] at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.registerSessionManagerMBean(ConfigurationSessionManager.java:135)
[java] at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.<init>(ConfigurationSessionManager.java:127)
[java] at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.initConfigSessionInfrastructure(CoreJMXFrameworkProviderImpl.java:307)
[java] at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:260)
[java] ... 95 more
[java] Jan 13, 2011 12:21:23 AM oracle.jdbc.driver.OracleDriver registerMBeans
[java] SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
[java] java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
[java] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
[java] at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
[java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1824)
[java] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:310)
[java] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
[java] at oracle.as.jmx.framework.config.session.RuntimeConfigurationMBeanServer.registerMBean(RuntimeConfigurationMBeanServer.java:64)
[java] at oracle.jdbc.driver.OracleDriver.registerMBeans(OracleDriver.java:345)
[java] at oracle.jdbc.driver.OracleDriver$1.run(OracleDriver.java:197)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at oracle.jdbc.driver.OracleDriver.<clinit>(OracleDriver.java:193)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:247)
[java] at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:34)
[java] at oracle.jbo.common.JBOClass.forName(JBOClass.java:162)
[java] at oracle.jbo.server.BaseSQLBuilderImpl.doRegisterDefaultDriver(BaseSQLBuilderImpl.java:200)
[java] at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:903)
[java] at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1112)
[java] at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6372)
[java] at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:130)
[java] at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:213)
[java] at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
[java] at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
[java] at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
[java] at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
[java] at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
[java] at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
[java] at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
[java] at oracle.fodemo.share.imageloader.LoadImages.main(LoadImages.java:23)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[java] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[java] at org.apache.tools.ant.Main.start(Main.java:179)
[java] at org.apache.tools.ant.Main.main(Main.java:268)
revokePrivs:
[sql] Executing resource: F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\DBSchema\Scripts\SQLRunner1276056861.sql
[sql] 6 of 6 SQL statements executed successfully
[delete] Deleting: F:\mywork\FUSIONORDERDEMO\FusionOrderDemo_R1PS2\Infrastructure\DBSchema\Scripts\SQLRunner1276056861.sql
[echo] Cleaning up database user privileges.
createDatabase:
[echo] Database (Re)Creation Complete
buildAll:
BUILD SUCCESSFUL
Total time: 51 seconds -
JCA Binding Component connection issue in the Oracle Order Demo Application
Hi,
I setup the Oracle Fusion Middleware. I also deployed the Oracle Fusion Order Demo Application in the soa_server. I placed the order in the store front web.I initiated the webservice (OrderBookingService) and found the below error in the soa_server_diagnostic log file.
=====================================================================================================================================
Caused by: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: JCA Binding Component connection issue.
JCA Binding Component is unable to create an outbound JCA (CCI) connection.
OrderBookingComposite:USPSShipment [ Write_ptt::Write(body) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510
JCA Resource Adapter location error.
Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/>
The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/file/FODFileAdapter'.
The reason for this is most likely that either
1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or
2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/file/FODFileAdapter. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR).
Please correct this and then restart the Application Server
The invoked JCA adapter raised a resource exception.
=====================================================================================================================================Thanks Guys.
I resolved the issue.
The issue is that FileAdapter for FulFillment mediator is missing.
Solution 1:
File adapter connection factory needs to be created via the weblogic console
The details below:
JNDI Name: eis/file/FODFileAdapter
controlDir java.lang.String /tmp/control
inboundDataSource java.lang.String jdbc/SOADataSource
outboundDataSource java.lang.String jdbc/SOADataSource
outboundDataSourceLocal java.lang.String jdbc/SOALocalTxDataSource
outboundLockTypeForWritejava.lang.String oracle
Solution 2:
seedFodFileAdapterResources target in $FOD_HOME/bin/common-sca-tools.xml needs to be executed to create the file adaptor.
Thanks.
Ilayaraja -
Setting Up the Fusion Order Demo Application, error in import Fod schema
Hello,
using Jdev11R1 ,Setting Up the Fusion Order Demo Application, and modify the properties in build.properties for my environment , but i don't undersatnd what is (src.home=..//..)
i followed the instraction to get demo FOD schema , right-click build.xml and
choose Run Ant Target > buildAll.
i got this
Buildfile: C:\FOD_11\Infrastructure\Ant\build.xml
init:
[javac] Compiling 1 source file to C:\FOD_11\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
C:\FOD_11\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
C:\FOD_11\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
C:\FOD_11\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
C:\FOD_11\Infrastructure\DBSchema\build.xml:28: C:\FOD_11\Infrastructure\Ant\wlserver_10.3\server\lib not found.
Total time: 6 seconds
thanks
greenAppleI ran into the same problem. If the jdeveloper.home was set like below:
jdeveloper.home=C:\oracle\Middleware\jdeveloper
A Run Ant Target buildAll would produce the following:
Buildfile: E:\source\java\FOD_11\Infrastructure\Ant\build.xml
init:
[javac] Compiling 1 source file to E:\source\java\FOD_11\Infrastructure\Ant\classes
setProperties:
createDatabase:
refreshSchema:
BUILD FAILED
E:\source\java\FOD_11\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
E:\source\java\FOD_11\Infrastructure\DBSchema\build.xml:91: The following error occurred while executing this line:
E:\source\java\FOD_11\Infrastructure\DBSchema\build.xml:56: The following error occurred while executing this line:
E:\source\java\FOD_11\Infrastructure\DBSchema\build.xml:28: C:\oracle\Middleware\utils\quickstart\wlserver_10.3\server\lib not found.
No where could I find the path C:\oracle\Middleware\utils\quickstart set in any of the scripts. If I hard coded the path in the fileset below
<path id="oracle.jdbc.path">
<fileset dir="${jdeveloper.home}/../wlserver_10.3/server/lib">
<include name="ojdbc6.jar"/>
</fileset>
</path>
I would just get another error further in the process when the jdeveloper.home was expanded again.
When I change the "\" to "/" in the jdeveloper.home (<fileset dir="${jdeveloper.home}/../wlserver_10.3/server/lib">) the build completed successfully. -
Problem in build Oracle Fusion Store Front Demo Application
I downloaded the "Oracle Fusion Store Front Demo Application" from http://www.oracle.com/technology/products/jdev/samples/fod/index.html,
and tryed to build it after fininshing editing the "build.properties" in JDeveloper 11g, but four errors appeared ,the message in the log window is:
D:\jdeveloper11\workspace\fod\Infrastructure\Ant>
D:\jdeveloper11\jdk\bin\javaw.exe -classpath D:\jdeveloper11\jdev\lib\ojc.jar;D:\jdeveloper11\ant\lib\ant-oracle.jar;D:\jdeveloper11\jdev\lib\jdev.jar;D:\jdeveloper11\ant\lib\ant-apache-regexp.jar;D:\jdeveloper11\ant\lib\ant-jdepend.jar;D:\jdeveloper11\ant\lib\ant-icontract.jar;D:\jdeveloper11\ant\lib\ant-vaj.jar;D:\jdeveloper11\ant\lib\ant-apache-oro.jar;D:\jdeveloper11\ant\lib\ant-junit.jar;D:\jdeveloper11\ant\lib\ant-swing.jar;D:\jdeveloper11\ant\lib\xercesImpl.jar;D:\jdeveloper11\ant\lib\xml-apis.jar;D:\jdeveloper11\ant\lib\ant-apache-log4j.jar;D:\jdeveloper11\ant\lib\ant-trax.jar;D:\jdeveloper11\ant\lib\ant-apache-bcel.jar;D:\jdeveloper11\ant\lib\ant-stylebook.jar;D:\jdeveloper11\ant\lib\ant-xslp.jar;D:\jdeveloper11\ant\lib\ant-jai.jar;D:\jdeveloper11\ant\lib\ant-javamail.jar;D:\jdeveloper11\ant\lib\commons-net-1.3.0.jar;D:\jdeveloper11\ant\lib\ant-apache-resolver.jar;D:\jdeveloper11\ant\lib\ant-xalan1.jar;D:\jdeveloper11\ant\lib\ant-weblogic.jar;D:\jdeveloper11\ant\lib\ant-commons-net.jar;D:\jdeveloper11\ant\lib\ant-jmf.jar;D:\jdeveloper11\ant\lib\ant-launcher.jar;D:\jdeveloper11\ant\lib\ant-apache-bsf.jar;D:\jdeveloper11\ant\lib\jakarta-oro-2.0.8.jar;D:\jdeveloper11\ant\lib\ant-starteam.jar;D:\jdeveloper11\ant\lib\ant-netrexx.jar;D:\jdeveloper11\ant\lib\ant-jsch.jar;D:\jdeveloper11\ant\lib\ant.jar;D:\jdeveloper11\ant\lib\ant-commons-logging.jar;D:\jdeveloper11\ant\lib\ant-nodeps.jar;D:\jdeveloper11\ant\lib\ant-antlr.jar;D:\jdeveloper11\jdk\lib\tools.jar -Djdev.ant.port=1825 -Dant.home=D:\jdeveloper11\ant -Djdev.ant.debug.port=1826 org.apache.tools.ant.Main -logger oracle.jdevimpl.ant.runner.OutOfProcessAntLogger -inputhandler oracle.jdevimpl.ant.runner.OutOfProcessInputHandler -f D:\jdeveloper11\workspace\fod\Infrastructure\Ant\build.xml -Doracle.home=D:\jdeveloper11\ -listener oracle.jdevimpl.debugger.ant.DebugBuildListener buildAll
Buildfile: D:\jdeveloper11\workspace\fod\Infrastructure\Ant\build.xml
Debugger connected to local process.
createDatabase:
refreshSchema:
BUILD FAILED
D:\jdeveloper11\workspace\fod\Infrastructure\Ant\build.xml:16: The following error occurred while executing this line:
D:\jdeveloper11\workspace\fod\Infrastructure\DBSchema\build.xml:89: The following error occurred while executing this line:
D:\jdeveloper11\workspace\fod\Infrastructure\DBSchema\build.xml:54: The following error occurred while executing this line:
D:\jdeveloper11\workspace\fod\Infrastructure\DBSchema\build.xml:26: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
Total time: 4 seconds
Process exited.
Debugger disconnected from local process.
note:
I have followed the "readme.html" in the "fod.zip" file exactly,
also there is no problem with my network adapter ,I can connect to the Internet without any problem;
Can someone give me the answer?I also have this problem. When I build the build.xml file, errors happen:
Buildfile: D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\Ant\build.xml
createDatabase:
refreshSchema:
BUILD FAILED
D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\Ant\build.xml:20: The following error occurred while executing this line:
D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:89: The following error occurred while executing this line:
D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:54: The following error occurred while executing this line:
D:\soft\jdevstudio1111TP2\mywork\storefront_techpreview2\Infrastructure\DBSchema\build.xml:26: D:\softjdevstudio1111TP2\jdbc\lib not found.
Total time: 0 seconds
My build.properties is set as following (meanwhile, I can connect database 10gR2):
# Master Ant properties file for Fusion Order Demo
# All build files refer to this master list of properties
# $Id: build.properties 812 2007-02-20 07:14:33Z lmunsing $
# Base Directory for library lookup
jdeveloper.home=D:\soft\jdevstudio1111TP2
src.home=..//..
# JDBC info used to create Schema
jdbc.driver=oracle.jdbc.OracleDriver
jdbc.urlBase=jdbc:oracle:thin:@localhost
jdbc.port=1521
jdbc.sid=orcl
# Information about the default setup for the demo user
db.adminUser=system
db.adminUser.password=welcome1
db.demoUser=FOD
db.demoUser.password=welcome1
db.demoUser.tablespace=USERS
db.demoUser.tempTablespace=TEMP
-------------------------------------------------------------------------------------- -
I tried the following demo application.
http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-scheduler-jms/doc/readme.html
I got the message "OC4JScheduler: DEMO COMPLETE" on the webpage. However, There is following error message in the log file. Any idea?
Error adding scheduler job
oracle.ias.scheduler.core.jobstore.JobStoreProviderException: initialization
failed
Awaiting receipt of job's messages....
oracle.ias.scheduler.core.jobstore.JobStoreProviderException: initialization
failed
Caused by: javax.jms.JMSException:
send(QueueSender[Oc4jJMS.Producer.aries.caprion.com.11543db5:10b805d03ef:-8000
.157,Queue[jms/SCHEDULER_DEMO_jobstore]],Queue[jms/SCHEDULER_DEMO_jobstore],Obje
ctMessage[ID:Oc4jJMS.Message.aries.caprion.com.11543db5
:10b805d03ef:-8000.158])
at
com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1114)
at
com.evermind.server.jms.EvermindSession.send(EvermindSession.java:1067)
at
com.evermind.server.jms.EvermindMessageProducer.send(EvermindMessageProducer.jav
a:373)
at
com.evermind.server.jms.EvermindMessageProducer.send(EvermindMessageProducer.jav
a:204)
at
oracle.j2ee.ra.jms.generic.CommonProducerWrapper.send(CommonProducerWrapper.javaI am having the same problem however I am not using IIS. I am using tomcat. This problem is only happening at one of our customer sites and is fine everywhere else.
I'm wondering where this requestor is coming from and if it may have to do with proxies or something else.
Is anyone else seeing this problem and have any ideas on this?
My requester is
User Authentication:
Server is requesting authentication for
Username:
Password:
It almost looks like the Server is requesting authentication for is missing a servername.
Christy -
Libqtawt.so problem in runing demo application of Personal Profile
Hi,
I have installed j2me pp1.1 on Redhat Linux. When I try to run the demo application,
$./bin/cvm -cp democlasses.jar personal.DemoFrame
it shows error
java.lang.UnsatisfiedLinkError: /home/linux-x86-suse/lib/libqtawt.so
Anyone got a solution?
I tried running nscd, but that didn't workout. What could be the issue.. Pls help..
regards,
AnandI have found the reason of this error,that beacause I didn't set QT path
you must do follow of setting
export QTDIR=%QtInstallDir
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
Maybe you are looking for
-
Background Processing? how schedule job for "System Error" Message .
Hello everyone, in sap help i have read. http://help.sap.com/saphelp_nw04/helpdata/en/5a/f72040599a8f5ce10000000a155106/frameset.htm PCK> Monitoring>Message Monitoring-->Background Processing you can schedule jobs for various background processing: ●
-
Finder List View: Maintain Column Width
OSX 10.7.3 - I prefer to use the "list view" option in Finder. With that said, I find it maddening that when I re-open Finder following a session where I had resized the column widths, I have to once again resize column width in order to see the full
-
8800 GTS do not support 8x and 16x antialiasing?
Hello When I change my antialiasing settings in Doom 3 to 8x or 16x and then restart the app it keeps reseting to 4x. Also, in the config-file it only seems to recognize 256 MB VRAM, 8800 GTS has 512. Is this a bug in the Doom 3 app or is it the 8800
-
Spry validation inside CFDIV - possible?
I have a CFDIV bound to a grid via navigate(). CFDIV contains an HTML form (I need multipart/form-data to upload images and cfform inside cfdiv seems to only submit async). I tried to use spry validation on the form but It does not seem to fire at al
-
How to Re-Sign a PKCS7 ?
Hello I want to re-sign a pkcs7 I tryed to merge 2 PKCS7 with each signature how can I do the job ? *1/read the info in the PKCS7 allready signed (its a detached signature)* signedData = new CMSSignedData( new CMSProcessableFile(file), new BufferedIn