jdeveloper

Java.lang.OutOfMemory Java Heap Space JDeveloper

北慕城南 提交于 2019-12-21 09:14:53
问题 I am writing an application on Java and it is throwing this error Java.lang.OutOfMemory Java Heap Space JDeveloper . I know that I can add java -Xmx512m to the command line to solve the problem. However, I need to run this application on JDeveloper. So, my Question is: How to increase the size of the Heap on JDveloper? Thank you, Sami 回答1: Overview The reasons JDeveloper can run out of memory include heap limits and large files. Heap Limits Files that control the amount of memory afforded to

How to use HashMap as a parameter in Web service

我的梦境 提交于 2019-12-20 05:39:49
问题 I am trying to make a dynamic Web Service in which i will be expecting a Java hash map or an Array list for the argument. I am using the following code in Class Code: package demo; import java.util.ArrayList; import javax.jws.WebService; @WebService public class HashMapTest { public HashMapTest() { super(); } public int getResponse(ArrayList<String> hm) { return hm.size(); } } I am using an IDE: Oracle Jdeveloper 11g. when i use the Wizard in the same, the output WSDL is as given below: <?xml

How to solve JDK issue unexpected at this time

帅比萌擦擦* 提交于 2019-12-19 10:15:23
问题 I need your assistant in configuring the Jdeveloper 11.1.3 in my machine. I installed it and I installed the JDK. When I tried to ran a sample jsf file " Right Click-> Run", it generates the error: \Java\jdk1.6.0_45 was unexpected at this time. Process Exit I initiated the environment variables as below: Variable Name JAVA_HOME Variable Value "C:\Program Files (x86)\Java\jdk1.6.0_45" So can you please assist in solving the issue. 回答1: Here are some ways to find the short name of a directory.

Build Java entire project jar using JDeveloper

我只是一个虾纸丫 提交于 2019-12-17 21:20:14
问题 I am using JDeveloper 11g to develop a desktop application. I want to make entire project jar which is run-able in java environment.. if I use only standard Java library jar works fine but my project contains external library like JfreeChart, Comm, Hibernate3 etc etc... when I try to make jar Its shows errors how can I make entire jar of my projects along with external library's. thank you 回答1: Please follow the below instructions.. Right-click project and select properties. Click on

Change text field data color (Foreground color) based on condition in JasperReports

你说的曾经没有我的故事 提交于 2019-12-17 02:49:24
问题 I'm new to JasperReports. I'm designing a report using iReport. I have three values x,y,z. If z < y then the data color for z should be changed to 'black' & if z > x then data color of z should be changed to 'red'. Please tell me how to do it. I am using JDeveloper to develop desktop app. and iReport to design JasperReport. 回答1: You can use Conditional styles for solving this issue. The sample: <style name="ZFieldStyle"> <conditionalStyle> <conditionExpression><![CDATA[$F{Z} < $F{Y}]]><

Unable to run OAF page in JDeveloper in Oracle EBS R12

不打扰是莪最后的温柔 提交于 2019-12-13 19:45:21
问题 I've been following this Video tutorial: https://www.youtube.com/watch?v=_xTfRIRPsNU to run a OAF page in JDeveloper in Oracle E-Business Suite R12 As shown in the video I made a successful database connection from JDeveloper to Oracle EBS through the correct DBC file, I opened the sample projects I got with JDeveloper and set all necessary Runtime Connection information. After rebuilding the included 'tutorial' project, I reached the final step, ie, running 'HomePG.xml', but I'm unable to

loader constraint violation: when resolving interface method “javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V”

人盡茶涼 提交于 2019-12-13 03:52:56
问题 I got this error while deploying the WAR in Tomcat 7. I have carried out the development using JDeveloper 11. "java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.addELResolver(Ljavax/el/ELResolver;)V" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader)

Faces in ADF can't get the request parameters

寵の児 提交于 2019-12-13 03:34:29
问题 I have an ADF web application with Faces 1.2 In my managed bean I am trying to access the parameters of the post request, but always getting null. This is my post form that I am posting to the Faces: <form name="input" action="http://127.0.01:7072/myapplication/faces/login.jspx" method="post"> <input type="hidden" name="user" id="user" value="myUserName"/> <input type="submit" value="Submit"/> </form> FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("user");

Starting weblogic server instance in jDeveloper

我的梦境 提交于 2019-12-13 02:12:32
问题 I am having an issue starting a weblogic server instance in jdeveloper 11.1.1.6 The startWebLogic script starts, but then I receive the following error: Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized option: -jrockit I tried some of the other solutions that people have posted for this error, but have had no success. Some of the other suggestions involved JAVA_VM and the MEM_ARGS variables, but it didn't work for me. I

Using pure TNSNAMES rather than host-based database connections in Oracle JDeveloper

半城伤御伤魂 提交于 2019-12-12 18:12:39
问题 I'm using Oracle JDeveloper 11.1.1.4.0, and I can create database connections (with a type of Oracle (JDBC) ) using the thin driver without any problems as long as I'm specifying a host. For instance, I can connect to a locally-running Oracle XE database by specifying: Driver: thin Host Name: localhost JDBC Port: 1521 Service Name: XE For connecting to remote databases, I use TNS, and my tnsnames.ora file is set up as below, where MYDATABASE.EXAMPLE.COM is the Oracle Service Identifier I want