Error creating an Appliction using JDeveloper
Hello,
I'm trying to create a new application on JDeveloper 11.1.2.3.0 (running on Windows 7) but it's not working. After I click on Finish, the configuration bar shows and then the following error message is thrown "An error occurred while trying to create the Fusion Web Application (ADF)". If I try to do anything on the IDE it doesn't work. Taking a look at the messages pane, I see the following:
Mar 27, 2013 12:42:43 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Mar 27, 2013 12:42:46 PM oracle.jdeveloper.rescat2.model.registry.RescatContextRegistry getWorkspaceContext()
SEVERE: oracle.adf.rc.exception.MissingParameterException
oracle.adf.rc.exception.MissingParameterException: required parameter [sessionProvider] is missing or null
at oracle.adf.rc.util.CatalogUtils.checkNotNull(CatalogUtils.java:503)
at oracle.adf.rc.config.BasicCatalogConfig.setMDSSessionProvider(BasicCatalogConfig.java:237)
at oracle.adf.rc.config.BasicCatalogConfig.initialize(BasicCatalogConfig.java:86)
at oracle.jdeveloper.rescat2.model.registry.RescatContext.initFromContextProvider(RescatContext.java:309)
at oracle.jdeveloper.rescat2.model.registry.RescatContext.<init>(RescatContext.java:162)
at oracle.jdeveloper.rescat2.model.registry.RescatContextRegistry.getWorkspaceContext(RescatContextRegistry.java:382)
at oracle.adf.share.dt.AppConnContext.getRescatContext(AppConnContext.java:266)
at oracle.adf.share.dt.ADFConnectionAddin$1.applicationChanged(ADFConnectionAddin.java:95)
at oracle.ide.navigator.ApplicationNavigatorWindow.fireApplicationChangeEventImpl(ApplicationNavigatorWindow.java:1125)
at oracle.ide.navigator.ApplicationNavigatorWindow.fireApplicationChangeEvent(ApplicationNavigatorWindow.java:1110)
at oracle.ide.navigator.ApplicationNavigatorWindow.access$200(ApplicationNavigatorWindow.java:104)
at oracle.ide.navigator.ApplicationNavigatorWindow$1L.itemStateChanged(ApplicationNavigatorWindow.java:269)
at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1205)
at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1262)
at javax.swing.JComboBox.contentsChanged(JComboBox.java:1309)
at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:557)
at oracle.ide.navigator.ApplicationNavigatorWindow$8.update(ApplicationNavigatorWindow.java:749)
at oracle.ide.model.IdeSubject.notifyObservers(IdeSubject.java:98)
at oracle.ide.model.ObservableFolder.notifyObservers(ObservableFolder.java:86)
at oracle.ide.model.UpdateMessage.fireChildAdded(UpdateMessage.java:460)
at oracle.ide.cmd.NewWorkspaceCommand.createEmptyWorkspace(NewWorkspaceCommand.java:191)
at oracle.ide.cmd.NewWorkspaceCommand.createEmptyWorkspace(NewWorkspaceCommand.java:138)
at oracle.jdeveloper.template.wizard.NewApplicationFromTemplateWizard.getOrCreateWorkspace(NewApplicationFromTemplateWizard.java:160)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$CreateObjectFromTemplateWorker.doInBackground(NewObjectFromTemplateWizard.java:717)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$CreateObjectFromTemplateWorker.doInBackground(NewObjectFromTemplateWizard.java:699)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Mar 27, 2013 12:42:46 PM oracle.adf.share.common.rc.util.LibraryUtils filterNonADFItems
INFO: [jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adftransactionsdt.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.view_11.1.1/adf-dt-at-rt.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adfdt_common.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/adflibrary.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.adf.model_11.1.1/bc4j-mbeans.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/jlib/commons-cli-1.0.jar!/, jar:file:/D:/Oracle/Middleware/oracle_common/modules/oracle.javacache_11.1.1/cache.jar!/]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at oracle.adf.share.common.rc.util.impl.LoaderUtilImpl.newJRLClassLoader(LoaderUtilImpl.java:37)
at oracle.adf.share.common.rc.util.LoaderUtil.newJRLClassLoader(LoaderUtil.java:200)
at oracle.adf.share.common.rc.util.LoaderUtil.justGetLoader(LoaderUtil.java:82)
at oracle.adf.share.common.rc.util.LoaderUtil.getLoader(LoaderUtil.java:54)
at oracle.adf.share.common.rc.util.LibraryUtils.filterNonADFItems(LibraryUtils.java:146)
at oracle.adfdtinternal.library.util.ResourceLibraryListener.projectClasspathChanged(ResourceLibraryListener.java:80)
at oracle.adfdt.library.event.LibraryListener$1.projectClasspathChanged(LibraryListener.java:22)
at oracle.jdevimpl.library.LibraryChangeListenerHandler.fireLibraryChangeEvent(LibraryChangeListenerHandler.java:43)
at oracle.jdevimpl.library.ProjectChangeSink.projectPropertiesChanged(ProjectChangeSink.java:191)
at oracle.ide.model.Project$StorageListener.structureValuesChanged(Project.java:1134)
at oracle.javatools.data.Structure.fireStructureChangeEvent(Structure.java:533)
at oracle.javatools.data.Structure.fireBatchEvent(Structure.java:504)
at oracle.javatools.data.Structure.applyBatchChanges(Structure.java:257)
at oracle.ide.model.HashStructureNode$1.run(HashStructureNode.java:327)
at oracle.javatools.data.Structure.applyBatchChanges(Structure.java:231)
at oracle.ide.model.HashStructureNode.applyBatchChanges(HashStructureNode.java:323)
at oracle.jdeveloper.model.JProjectUtil._updateLibraries(JProjectUtil.java:131)
at oracle.jdeveloper.model.JProjectUtil.addLibraries(JProjectUtil.java:61)
at oracle.jbo.dt.jdevx.util.TechScopeUtil.addLibraries(TechScopeUtil.java:46)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin$1.technologyAdded(JdxJboAddin.java:308)
at oracle.jdeveloper.model.JProjectTechnologyNotifier.fireTechnologyAdded(JProjectTechnologyNotifier.java:132)
at oracle.jdeveloper.model.JProjectTechnologyNotifier.access$100(JProjectTechnologyNotifier.java:30)
at oracle.jdeveloper.model.JProjectTechnologyNotifier$1.projectPropertiesChanged(JProjectTechnologyNotifier.java:58)
at oracle.ide.model.Project$StorageListener.structureValuesChanged(Project.java:1134)
at oracle.javatools.data.Structure.fireStructureChangeEvent(Structure.java:533)
at oracle.javatools.data.Structure.fireBatchEvent(Structure.java:504)
at oracle.javatools.data.Structure.fireBatchEvent(Structure.java:510)
at oracle.javatools.data.Structure.applyBatchChanges(Structure.java:257)
at oracle.ide.model.TechnologyScopeConfiguration.setTechnologyScope(TechnologyScopeConfiguration.java:221)
at oracle.jdeveloper.template.wizard.NewProjectFromTemplatePanel.commitWizardChanges(NewProjectFromTemplatePanel.java:256)
at oracle.jdeveloper.template.wizard.TemplateWizardPage.wizardFinished(TemplateWizardPage.java:96)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard.commitProjectChanges(NewObjectFromTemplateWizard.java:325)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$CreateObjectFromTemplateWorker.doInBackground(NewObjectFromTemplateWizard.java:727)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$CreateObjectFromTemplateWorker.doInBackground(NewObjectFromTemplateWizard.java:699)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.common.rc.util.impl.LoaderUtilImpl.newJRLClassLoader(LoaderUtilImpl.java:28)
... 40 more
Caused by: java.lang.NoClassDefFoundError: oracle/ide/net/JarIndex$19
at oracle.ide.net.JarIndex.getManifestMainAttribute(JarIndex.java:953)
at oracle.ide.net.JarUtil.getManifestMainAttribute(JarUtil.java:412)
at oracle.ide.net.JarUtil.getClassPathImpl(JarUtil.java:382)
at oracle.ide.net.JarUtil.getClassPath(JarUtil.java:182)
at oracle.ide.net.URLPath.expandToIncludeManifestClassPathImpl(URLPath.java:401)
at oracle.ide.net.URLPath.expandToIncludeManifestClassPaths(URLPath.java:349)
at oracle.jdeveloper.java.locator.ClassLocatorFactory.getClassLocator(ClassLocatorFactory.java:262)
... 45 more
Caused by: java.lang.ClassNotFoundException: oracle.ide.net.JarIndex$19
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 52 more
I read some posts about similar errors that suggested to manually set the "JDEV_USER_DIR" variable. I tried this but then JDeveloper doesn't even start (freezes at start screen).
Thanks in advance.
Looks like your installation is corrupted. Try removing (uninstall) jdev and install it again. Make sure that the folder you choose is empty befoer installing again.
Timo
Similar Messages
-
ERROR: Running OA page using Jdeveloper.
Hi,
We have extened one ABCVO.xml object related one page. Now i want to run the page from jdeveloper i am getting an error saying XXABCVO.xml of type defination is not found .
Is there any extra setup i have to do reflect the extended changes to be apper in the page when i am running page using Jdeveloper. Please help me.
Thanks
sreenu.Hi sreenu,
Whenever you are extending a seeded VO, you need to create the substitution for the old VO by clicking on the .jpx file.
Then import the jpx file using the jpximport command from command prompt.
To run the page which contains the customizations, you need to add -Djbo=ProjectName in the runner option of your project settings. Then you will be able to run the page from your local Jdeveloper.
Anoop -
Error : Creating PO's using BAPI_PO_CREATE1
Hi Friends ,
I have created a program to create PO's using a load program . This program is set up to have POs created for each Company Code Vendor, Purchase Org, Plant, Buyer combination. The input fields for the load program are:
LIFNR Vendor Number
EKORG Purchasing Organization
EKGRP Purchasing Group
BUKRS Company Code
WERKS Plant
EMATN Material Number
MENGE PO Quantity
The input file i have has 3 material nos. 2material nos belong to the same vendor and create 1 PO . The third material no belongs to different vendor and creates a 2nd PO .
The problem i have is that when i run the progam it creates 2 PO's . The PO which contains 2 material Nos gives me the 2nd line with quantity 1000 instead of 1 .
The first line and the second line in the PO should have the quantity 1 .
The first line correctly shows the Po quantity 1 EA.
The second one shows the PO quantity 1000 LB .
The error in the return BAPI t_return is :
"Order quantity violates rounding rules (See long text)"
Please advise .
Thank youHi Prabhu ,
The rounding value for one of the material is 1000.000 and the unit is LB in /NMM03 .
When i try to upload this material with order quantity 1 . It creates a PO with order quantity 1000.000 and order unit LB . It gives me a warning when creating the PO that
"Order quantity violates rounding rules (See long text)"
Please advise . -
Creating Asynchronous webservice using Jdeveloper
Guys,
I want to expose a java class as a Asynchronous web service. The issue is i cannot make it asynchronous. When i deploy it, there is no callback port.
Have anybody used Jdeveloper to generate Asynchronous web service from java class?
Below is my code....
import javax.jws.WebService;
import oracle.webservices.annotations.async.AsyncWebService;
@WebService(serviceName = "MyTestAsyncService")
@AsyncWebService
public class MyTestAsyncService
public String sayHello()
return "Hello World";Hello,
I think, it should be work. I just tested using JDeveloper 11.1.2.3.0.
This is web service:
package webservice;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService(serviceName = "MyTestAsyncService")
public class MyTestAsyncService {
@WebMethod
public String sayHello() {
return "Hello World";
I have generated using New->Web Service Client and Proxy and give WSDL URL.
It will generate web service client with asynchrone.
package ws.client;
// This source file is generated by Oracle tools.
// Contents may be subject to change.
// For reporting problems, use the following:
// Generated by Oracle JDeveloper 11g Release 2 11.1.2.3.0.6276
public class MyTestAsyncServicePortClient {
public static void main(String[] args) {
MyTestAsyncService_Service myTestAsyncService_Service = new MyTestAsyncService_Service();
MyTestAsyncService myTestAsyncService = myTestAsyncService_Service.getMyTestAsyncServicePort();
System.out.println(myTestAsyncService.sayHello());
// Add your code to call the desired methods.
Also that one is port class, which is generated from wizard.
package ws.client;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
* This class was generated by the JAX-WS RI.
* Oracle JAX-WS 2.1.5
* Generated source version: 2.1
@WebServiceClient(name = "MyTestAsyncService", targetNamespace = "http://webservice/", wsdlLocation = "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService")
public class MyTestAsyncService_Service
extends Service
private final static URL MYTESTASYNCSERVICE_WSDL_LOCATION;
private final static Logger logger = Logger.getLogger(ws.client.MyTestAsyncService_Service.class.getName());
static {
URL url = null;
try {
URL baseUrl;
baseUrl = ws.client.MyTestAsyncService_Service.class.getResource(".");
url = new URL(baseUrl, "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService");
} catch (MalformedURLException e) {
logger.warning("Failed to create URL for the wsdl Location: 'http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService', retrying as a local file");
logger.warning(e.getMessage());
MYTESTASYNCSERVICE_WSDL_LOCATION = url;
public MyTestAsyncService_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
public MyTestAsyncService_Service() {
super(MYTESTASYNCSERVICE_WSDL_LOCATION, new QName("http://webservice/", "MyTestAsyncService"));
* @return
* returns MyTestAsyncService
@WebEndpoint(name = "MyTestAsyncServicePort")
public MyTestAsyncService getMyTestAsyncServicePort() {
return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class);
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns MyTestAsyncService
@WebEndpoint(name = "MyTestAsyncServicePort")
public MyTestAsyncService getMyTestAsyncServicePort(WebServiceFeature... features) {
return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class, features);
I hope, it will work
Regards,
Eba -
How to create a "pjc" using jdeveloper 10g
Hi guys
I am trying to make my first pjc (pluggable java component) using jdeveloper (default installation with Oracle developer 10g). I was following the [Jdeveloper 9 documentation||http://www.oracle.com/technetwork/developer-tools/forms/index-087743.html] from OTN and got stuck once after creating the PJC1.java
According to the documentation, the property inspector should allow me to change various properties for the newly created .java file and let me add new events with the events tab. In my case, once after I select the java item from UI, the property inspector doesn't show anything. No tabs for properties or events :O
If somebody could point me towards Oracle documentation for Jdeveloper 10g, it would grateful.
regards,
raj
Edited by: rthampi on Apr 27, 2013 8:50 PMCraigB wrote:
Oracle jDeveloper 10.1.2.1.0 was the last version the inclued the Forms PJC Wizards. All versions after this didn't include them. You can actually develop a PJC using any IDE, but I have found using the PJC Wizard to be extreamly helpful. Java is not my strongest skill and I don't do a lot of Java PJC development so I keep this version installed for when I need to work on PJCs.
Craig...Thank you Craig. We are with Oracle ERP R12 from 2009 June and almost all our legacy applications were either made a part of the ERP suite, or hosted with Weblogic server 10.3.6. As leading the development team, my biggest challenge is making the custom applications migrated to 11g forms/Reports "behave" exactly like the ERP suite.
We wanted to design a parameter screen for the reports, almost like with ERP Suite, where the parameter columns are dynamically created during runtime and the biggest challenge was to limit the MAXIMUM LENGTH for those columns, thus started our venture to find an appropriate solution. After spending almost 20 years in the field of software development, I just didn't want to copy a jar file from the web and get over with it. Instead I wanted to understand what the codes do.
Anyway, Francois was kind enough to provide the .java with his pjc blog and I created a new pjc based on this .java code :) and my objective was satisfied. If Oracle really wants to "kill" the forms/reports, I think they just should do that, instead of removing few highly sought components with so called "Newer versions"
Ridiculously the documentation library for JDeveloper 10.1.0 is empty, even though it is listed with Oracle documentation library.
Cheers guys
raj -
Error creating request when using CUP in GRC 5.3
Hello guru's
when user is trying to create request in CUP , he is facing an error message at top indicating Error Creating Request ,
The error message is " * Exception in getting the results from the web service : Service call exception; nested exception is: java.lang.Exception: Incorrect content-type found 'text/html' * "
can anyone help me how to trace the problem.
thanks and regards,
keerthiHI all
I am also gettting same error like this..We created CUP Requests one hour before ..But we are not able to create CUP Requests now.. I got below error message in system log.
Risk analysis failed: Exception in getting the results from the web service : Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
2012-03-08 13:05:25,558 [SAPEngine_Application_Threadimpl:3]_23 ERROR com.virsa.ae.core.BOException: Exception in getting the results from the web service : Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
com.virsa.ae.core.BOException: Exception in getting the results from the web service : Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://c700u121.com:50000/SAPGRC_CCRiskAnalysis_V01/Config1?wsdl&style=document"
at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:199)
at com.virsa.ae.accessrequests.bo.RiskAnalysisBO.findViolations(RiskAnalysisBO.java:80)
at com.virsa.ae.accessrequests.bo.RequestBO.saveRiskAnalysis(RequestBO.java:4087)
at com.virsa.ae.accessrequests.bo.RequestBO.saveNewRequest(RequestBO.java:408)
at com.virsa.ae.accessrequests.actions.CreateRequestAction.createRequest(CreateRequestAction.java:381) -
Error in creating database diagram using JDeveloper
Today I came across this weird error. I made an Identity column of type LONG and I had to create another column in same table with same data type i.e. LONG. I was surprised to see that JDeveloper did not let me create another column with type LONG. Error message was "*Invalid column Course_Parent_Id, the table already contains column Course_Id of type LONG*". Can someone guide me why this error occured and how to cater it.
Help is appreciated in advanceIsn't it a strange restriction?? If I need huge range for integral values in my database, it must have provision to do so. Anyways thanks for the reply. I have used NUMBER instead of LONG
-
Creating Web services using JDeveloper for Pl/SQL package having ref cursor
Hi,
I am trying to create web services for PL/SQL package in JDeveloper. When I am trying to create this web service, the functions in the package which is returning referential cursor or record cursor are not visible. When I highlight the function and click "Why Not?", it displays the message "The following types used by the program unit do not have an XML schema mapping and/or serializer Specified: REF CURSOR". Could you please let me know, how I can create this web service?
I am getting similar error when I am trying to create web service for a package with overloaded functions also.
Thanks,Ok so I played around with this some more. I created the same process in bpel using oracle bpel designer and here are the results.
1. Against 10g database running a synch process data is retutned without error.
2. Against 9i database running an asynch process data is retutned without error.
3. Against 9i database running a synch process data is retutned with error.
I'm definilty missing something. -
Error Creating Work Area in JDeveloper for SCM
In the Repository Object Navigator for 9i SCM, my userID has been granted the the following permissions to a shared work area called pdshare by the owner/build manager:
Select
Administrate
Insert
Update
Delete
Version
Compile
Update Spec.
However, in JDeveloper 9.0.3.1 When I create a work area from this shared work area I keep getting this error:
"BHART has insufficient privledges to Manage WorkArea".
Does anyone have suggestions for how to resolve this so that I can access the shared work area?
Thanks,
-BrianIt's actually simple if yyou use dynamic tables and field symbols.
In the program that calls methods / attributes in the class
define some field symbols
for example
FIELD-SYMBOLS :
<fs1> TYPE ANY,
<fs2> TYPE STANDARD TABLE,
<field_catalog> TYPE STANDARD TABLE,
<dyn_table> TYPE STANDARD TABLE,
<orig_table> TYPE STANDARD TABLE,
<dyn_field>,
<dyn_wa>.
in the class define data
DATA:
dy_table TYPE REF TO data,
dy_line TYPE REF TO data,
etc.
field symbols work both INSIDE and OUTSIDE classes and are extremely useful for passing / receiving data. You have to define the field symbols in your main program however.
METHOD create_dynamic_table.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = it_fldcat
IMPORTING
ep_table = dy_table.
ENDMETHOD.
CALL METHOD me->create_dynamic_table
EXPORTING
it_fldcat = it_fldcat
IMPORTING
dy_table = dy_table.
ASSIGN dy_table->* TO <dyn_table>.
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
ENDMETHOD.
Then in your program (or class) your data is in <dyn_table>.
Use dynamic tables and dynamic field cats as these give HUGE flexibility and you can re-use code over and over again for different structures.
The new RTTI gives you any table structure whatsoever so you can make the whole thing completely general.
That's one of the advantages of Classes and OO as opposed to older FMODS.
Cheers
jimbo -
Error creating document from using list using Document Template
Hi All,
I am trying to create a document from sharepoint list and upload it to a document library using item added and item updated event receiver methods. I can create metadata from list update in document library but unable to open the document. The error message
I get is "we're sorry. we can't open "Filename" because we found a problem with its contents. no error detail available". Please see the below code.
SPSecurity.RunWithElevatedPrivileges(delegate()
try
string TemplateUrl = string.Empty;
SPWeb web = properties.OpenWeb();
web.AllowUnsafeUpdates = true;
SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
String url = olist.RootFolder.ServerRelativeUrl.ToString();
SPFile file = null;
file = web.GetFile(olist.DocumentTemplateUrl);
if (file != null)
SPListItem oItems = properties.ListItem;
web.AllowUnsafeUpdates = true;
byte[] readStream = file.OpenBinary();
SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream,
true);
SPListItem listitem = uploadedFile.Item;
listitem["Firstname"] = oItems["Firstname"];
listitem["Lastname"] = oItems["Lastname"];
if (uploadedFile.CheckOutType != SPFile.SPCheckOutType.None)
uploadedFile.CheckIn(string.Empty);
listitem.Update();
uploadedFile.Update();
web.AllowUnsafeUpdates = false;
catch (Exception ex)
EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);Hi,
Please try to use the code below:
SPSecurity.RunWithElevatedPrivileges(delegate()
try
string TemplateUrl = string.Empty;
SPWeb web = properties.OpenWeb();
web.AllowUnsafeUpdates = true;
SPDocumentLibrary olist = web.Lists["NewLibList"] as SPDocumentLibrary;
String url = olist.RootFolder.ServerRelativeUrl.ToString();
SPFile file = null;
file = web.GetFile(olist.DocumentTemplateUrl);
if (file != null)
SPListItem oItems = properties.ListItem;
web.AllowUnsafeUpdates = true;
Stream readStream = file.OpenBinaryStream(); //file is SPFile type
SPFile uploadedFile = olist.RootFolder.Files.Add("http://site/subsite/Libraryname/" + properties.ListItemId.ToString() + ".docx", readStream, true);
uploadedFile.CheckOut();
SPListItem listitem = uploadedFile.Item;
listitem["Firstname"] = oItems["Firstname"];
listitem["Lastname"] = oItems["Lastname"];
listitem.Update();
uploadedFile.Update();
uploadedFile.CheckIn(string.Empty);
web.AllowUnsafeUpdates = false;
catch (Exception ex)
EventLog.WriteEntry(EventLogName, ex.Message, EventLogEntryType.Error);
If the issue still exists, I suggest you dubug your code and check whether line of code error.
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
Error creating Crystal Report using Stored Proc Universe
Hi,
I have created a stored procedure Universe, using the new feature available in XI R3.
This connects to an Oracle database, executing a PL/SQL procedure returning ref cursor.
I have created a WebI report using this Universe, which works fine and functions as expected.
So there are no problems with either my Oracle stored proc or the Universe.
However, I would like to create a Crystal report (2008) using the same Universe.
I can create the report ok - using the SP Universe.
When I attempt to refresh the data I get an error:
Failed to retrieve data from the database.
Details: ORA-06550: line 1, column 7:
PLS-00103: Encountered the symbol "." when expecting one of the following:
begin case declare etc etc
.................................My Procedure ...................
CREATE OR REPLACE PROCEDURE BIADM.Bo_Test_Report_R
(Deposit_Cursor IN OUT SYS_REFCURSOR)
IS
BEGIN
OPEN Deposit_Cursor FOR
SELECT DISTINCT foracid "A/C"
, acct_name "A/C Name", acct_opn_date "OP/Date", schm_code "SchmCode"
FROM gam@finrpt
WHERE acct_cls_flg ='N'
AND foracid ='2252020145001';
--AND cust_id ='CB2020145'
END Bo_Test_Report_R;
Please Give me solution as early as possible.
Masud IqubalMoved to Universe Design forum.
-
ORA-29855 - Error creating Spatial Index using a Stored Procedure
Hi
I am using Oracle 10gR2 database and I have written a stored procedure to create spatial index. But when i execute this function i get the following error message.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13249: Error in R-tree: [mdrcrtscrt]
ORA-13231: failed to create index table [MDRT_217C1$] during R-tree creation
ORA-13249: Stmt-Execute Failure: CREATE TABLE FGDABZ40.MDRT_217C1$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
ORA-29400: data cartridge error
ORA-01031: insufficient privileges
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
ORA-06512: at line 1
ORA-06512: at "FGDABZ40.PKG_PSSDBE_APPLICATION", line 298
ORA-06512: at line 17
The tables that i am passing are registered in metadata and I am able to create indexes directly in sql plus. But when i try to create using this stored procedure, it fails.
it should be possible to create indexes using a generic function. Has any faced a similar problem?
regards
samHi,
I am having a same error on Oracle 10gR2 database. When I execute the same statement in sqlplus, it works. But it gives this error when I call the procedure which has this create spatial index statement.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13249: Error in R-tree: [mdrcrtscrt]
ORA-13231: failed to create index table [MDRT_20CDA$] during R-tree creation
ORA-13249: Stmt-Execute Failure: CREATE TABLE "SDOMGR".MDRT_20CDA$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
ORA-29400: data cartridge error
ORA-01031: i
Any help will be appreciated.
Thanks,
Sri -
Error creating a function using the O2A Cartridges
Hi, I am using the O2A Cartridges and I have created a new function in the next cartridge OracleComms_OSM_O2A_COM_Billing. Then I have included the function as a order component in the BaseProductSpec.
At this point when I build all the workspace the next problem is generated:
Order Model Error - The node /ControlData/Functions [COM_SalesOrderFulfillment] has multiple contributors with different significance set. Please see the log for further details COM_SalesOrderFulfillment.order /OracleComms_OSM_O2A_COM_Base/model/ORDER Unknown Problem
The function created has the same significance as the other functions like SyncCustomerFunction.
I don't know how to solve this problem. Tell me, if you need more information about it.
Thanks,
Juanin the TOP Include the statement
FUNCTION-POOL (<b>Name of function Group</b>).
is missing.
to Reach to th eexact point.
to to attibutes tab of your FM
double click on Program Name.
double click on include ending with TOP.
Declare the statement in the TOP include.
amandeep. -
Error while Deploying composite using Jdeveloper
Hi ,
I made app server connection and tested the configuration.
All the tests ran succesfully. However when I try to deploy my SOA project on server , I am not able to look up soa server .
Server is on different machine and connected using wifi-router.
I get following error code :
java.lang.RuntimeException: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:89)
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.<init>(WeblogicSOAServer.java:68)
at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listWeblogicSOAServers(ASBrowserHelper.java:275)
at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper.listSOAServers(ASBrowserHelper.java:201)
at oracle.tip.tools.ide.fabric.asbrowser.ASBrowserHelper$RunnableListSOAServers.run(ASBrowserHelper.java:333)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.soa.management.internal.facade.ServerManagerImpl.<init>(ServerManagerImpl.java:76)
at oracle.soa.management.internal.facade.ServerManagerFactoryImpl.createServerManager(ServerManagerFactoryImpl.java:28)
at oracle.tip.tools.ide.fabric.asbrowser.WeblogicSOAServer.initPartitions(WeblogicSOAServer.java:85)
... 6 more
Caused by: java.net.ConnectException: t3://[2001:0:4137:9e76:10f6:922:c56d:8255]:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
... 16 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection timed out: connect; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
... 19 more
Thanks and Regards,
Sasmit
Edited by: Sasmit on 9 Mar, 2012 2:44 AM
Edited by: Sasmit on 9 Mar, 2012 2:44 AMHope this helps.
SOA Deployment fails with "connect; No available router to destination"
Thanks,
Vijay -
Error while registering ESB using Jdeveloper , SOA SUITE,XE on XP
I get the following error while registering the ESB.
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-05-08T15:48:18.940-05:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>usolpathak</HOST_ID>
<HOST_NWADDR>10.100.3.47</HOST_NWADDR>
<MODULE_ID>esb.server.bootstrap</MODULE_ID>
<THREAD_ID>15</THREAD_ID>
<USER_ID>apathak</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.100.3.47:97616:1210277752560:1348</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>ESB bootstrap: Pinging URL "http://null:null/esb/ESBConsoleMain.html" to test completion of application server startup</MSG_TEXT>
</PAYLOAD>
</MESSAGE>Hi,
The ESB server tests its connection to the ESB console at startup. If you look at the MSG_TEXT, you will see the hostname and port of the URL the ESB server is using are both set to null. I haven't seen this before, but it looks like your installation isn't quite right.
Does the BPEL server work or the Application Server console ?
Regards,
Ben
Maybe you are looking for
-
My music library dont refresh 5800
ok when i was looking in my file manger i found some song in attachment folder i moved them to digital sounds and tryed to play those song i didnt work then a took all songs were in digital sounds folder and put the back to attachment folder i tried
-
Cvd ammount not capturing properly
hello anyone can please tell the possible reasons.i am receiving a imported material but when we do miro for custom duty then CVD amount got posted to CESS on CVD account rather than cvd account . please help regards vijay
-
Help!
-
Hi, I am a little puzzled with Expose. I have used it now for a while to show my desktop behind multiple widows and a colleague of mine who just started using a mac and brought me an issue that I have never seen before. When he engages expose, it wip
-
I have Point, how can I get the component of this Point?
Hi, everybody! Can U help me! I have 10 block in 1 applet. After 1 even, I kept the Point of the block, just made even. I want remove the block, which have the point. Then I use method getComponentAt() but I can't. Anyone tell me the way to process.