Suffering an complie error when trying to compile java class in EBS11i
Hi,
When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
package javax.servlet does not exist
cannot resolve symbol
symbol : class HttpServletResponse
It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
echo $CLASSPATH
/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
Does anyone know the reason?
environment: ebs 11i
Thanks&Regards,
Xiaofeng
resolved this issue.
1. Edit $APPL_TOP/admin/adovars.env file -
Add the following jar files to the AF_CLASSPATH line -
Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
2. Bounce the concurrent manager in order to have the changes take effect.
Similar Messages
-
BAD CLASS FILE ERROR WHEN TRYING TO CALL JAVA CLASS IN WEB-INF DIRECTORY
I AM NEW TO THIS FORUM. PLEASE HELP ME IDENTIFY/RESOLVE THIS ERROR - bad class file: /java/tomcat/webapps/ChoiceTel/WEB-INF/classes/XYZ/SMUA.class. OTHER JSP SCRIPTS THAT CALL JAVA CLASSES DO WORK WELL.
THE FUNNY THING ABOUT COMPILIING THIS JAVA CLASS WAS - I HAD TO A jar xvf OF activation.jar and mail.jar IN THE XYZ DIRECTORY BEFORE SUCCESSFULLY COMPILING SMUA.
THE CALL BEING MADE FROM THE JSP SCRIPT IS AS FOLLOWS:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<BODY>
<%@ page import="XYZ.*" %>
<%!
%>
<%
SMUA sndmail = new SMUA();
sndmail.postMail ("[email protected]","Test Subject","What Message","[email protected]");
%>
</BODY>
</HTML>Dude. Please don't shout. If your keyboard is like mine, it can produce both upper and lower case letters. Please use them appropriately.
Do you have the activation.jar/mail.jar available in the WEB-INF/lib directory for this application? -
Error when trying to compile HTML help
I'm using RoboHelp 7.0 on Windows XP. All of the sudden, last
week, I start getting the following error when I try to compile
"Fatal Error: Unexpected error from Microsoft HTML compiler." I've
read the other posts regarding this error and deleted the .CPD file
multiple times and tried to compile again still with no success.
I've uninstalled and reinstalled multiple times and not had any
better results. The other author in my office can check the project
out of RoboSource and compile it fine. I have it on my local drive
when trying to compile.
I'd appreciate any ideas. It doesn't make sense that is
something in the project since my other author can compile it fine.
Thanks,
NitaHi, Nita,
Do you have any other RoboHelp projects that you can try
compiling? This may help to determine whether there's something
slightly askew about this particular project — sounds
unlikely if your colleague can compile without error — or
whether the problem lies in your RoboHelp installation.
I'd also recommend that you run MJ's Help Diagnostics,
available from the address below. This will verify that all the
HTML Help viewer and compiler components are properly installed and
registered on your machine.
http://helpware.net/downloads/index.htm#MJs
Pete -
I keep getting an error when trying to install Java for OS X 2014-001
I was trying to download this because I was getting errors when trying open some applications saying you need Java 6 and it directed me to the download link for this but it always gets and error when installing.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Select
/var/log ▹ install.log
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen. The contents of the log will appear on the right. Each log message begins with a timestamp. Select the messages from the time of the last installation or update attempt. If you're not sure when that was, click the Clear Display button in the toolbar of the Console window and then try the installation again. Select the new messages that appear. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
☞ If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
☞ When posting a log extract, be selective. Don't post more than is requested.
☞ Please don't indiscriminately dump thousands of lines from the log into this discussion.
☞ Please don't post screenshots of log messages—post the text.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting. You may need to use a text editor with search and replace, such as TextEdit. -
Got error when trying to generate Java proxy jar file for webservice
Hi,
I am having a warning message when trying to generate java proxy jar file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United Airlines
got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
Thanks!!!
Naichen
[ModifyPNRWSContract.wsdl]Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen -
Getting error message Cannot Resolve Symbol when trying to compile a class
Hello All -
I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
the following error message:
D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
ConnectionPool.java
ConnectionPool.java:158: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
private void addConnection(PooledConnection value) {
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
The code is listed as follows for PooledConnection.java (it compiles fine)
package cal;
import java.sql.*;
public class PooledConnection {
// Real JDBC Connection
private Connection connection = null;
// boolean flag used to determine if connection is in use
private boolean inuse = false;
// Constructor that takes the passed in JDBC Connection
// and stores it in the connection attribute.
public PooledConnection(Connection value) {
if ( value != null ) {
connection = value;
// Returns a reference to the JDBC Connection
public Connection getConnection() {
// get the JDBC Connection
return connection;
// Set the status of the PooledConnection.
public void setInUse(boolean value) {
inuse = value;
// Returns the current status of the PooledConnection.
public boolean inUse() {
return inuse;
// Close the real JDBC Connection
public void close() {
try {
connection.close();
catch (SQLException sqle) {
System.err.println(sqle.getMessage());
Now the code for ConnectionPool.java class that gives the cannot
resolve symbol error
package cal;
import java.sql.*;
import java.util.*;
public class ConnectionPool {
// JDBC Driver Name
private String driver = null;
// URL of database
private String url = null;
// Initial number of connections.
private int size = 0;
// Username
private String username = new String("");
// Password
private String password = new String("");
// Vector of JDBC Connections
private Vector pool = null;
public ConnectionPool() {
// Set the value of the JDBC Driver
public void setDriver(String value) {
if ( value != null ) {
driver = value;
// Get the value of the JDBC Driver
public String getDriver() {
return driver;
// Set the URL Pointing to the Datasource
public void setURL(String value ) {
if ( value != null ) {
url = value;
// Get the URL Pointing to the Datasource
public String getURL() {
return url;
// Set the initial number of connections
public void setSize(int value) {
if ( value > 1 ) {
size = value;
// Get the initial number of connections
public int getSize() {
return size;
// Set the username
public void setUsername(String value) {
if ( value != null ) {
username = value;
// Get the username
public String getUserName() {
return username;
// Set the password
public void setPassword(String value) {
if ( value != null ) {
password = value;
// Get the password
public String getPassword() {
return password;
// Creates and returns a connection
private Connection createConnection() throws Exception {
Connection con = null;
// Create a Connection
con = DriverManager.getConnection(url,
username, password);
return con;
// Initialize the pool
public synchronized void initializePool() throws Exception {
// Check our initial values
if ( driver == null ) {
throw new Exception("No Driver Name Specified!");
if ( url == null ) {
throw new Exception("No URL Specified!");
if ( size < 1 ) {
throw new Exception("Pool size is less than 1!");
// Create the Connections
try {
// Load the Driver class file
Class.forName(driver);
// Create Connections based on the size member
for ( int x = 0; x < size; x++ ) {
Connection con = createConnection();
if ( con != null ) {
// Create a PooledConnection to encapsulate the
// real JDBC Connection
PooledConnection pcon = new PooledConnection(con);
// Add the Connection to the pool.
addConnection(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// Adds the PooledConnection to the pool
private void addConnection(PooledConnection value) {
// If the pool is null, create a new vector
// with the initial size of "size"
if ( pool == null ) {
pool = new Vector(size);
// Add the PooledConnection Object to the vector
pool.addElement(value);
public synchronized void releaseConnection(Connection con) {
// find the PooledConnection Object
for ( int x = 0; x < pool.size(); x++ ) {
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// Check for correct Connection
if ( pcon.getConnection() == con ) {
System.err.println("Releasing Connection " + x);
// Set its inuse attribute to false, which
// releases it for use
pcon.setInUse(false);
break;
// Find an available connection
public synchronized Connection getConnection()
throws Exception {
PooledConnection pcon = null;
// find a connection not in use
for ( int x = 0; x < pool.size(); x++ ) {
pcon = (PooledConnection)pool.elementAt(x);
// Check to see if the Connection is in use
if ( pcon.inUse() == false ) {
// Mark it as in use
pcon.setInUse(true);
// return the JDBC Connection stored in the
// PooledConnection object
return pcon.getConnection();
// Could not find a free connection,
// create and add a new one
try {
// Create a new JDBC Connection
Connection con = createConnection();
// Create a new PooledConnection, passing it the JDBC
// Connection
pcon = new PooledConnection(con);
// Mark the connection as in use
pcon.setInUse(true);
// Add the new PooledConnection object to the pool
pool.addElement(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// return the new Connection
return pcon.getConnection();
// When shutting down the pool, you need to first empty it.
public synchronized void emptyPool() {
// Iterate over the entire pool closing the
// JDBC Connections.
for ( int x = 0; x < pool.size(); x++ ) {
System.err.println("Closing JDBC Connection " + x);
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// If the PooledConnection is not in use, close it
if ( pcon.inUse() == false ) {
pcon.close();
else {
// If it is still in use, sleep for 30 seconds and
// force close.
try {
java.lang.Thread.sleep(30000);
pcon.close();
catch (InterruptedException ie) {
System.err.println(ie.getMessage());
I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
Any help would be greatly appreciated.
tnx..
addiIs ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
javac cal/ConnectionPool. -
Getting error when trying to compile a servlet
hai every one ,
when i placed my servlet in the classes directory of the tomcat server and trying to compile it i am getting the following error
javac :invalid flag:C:Program
usage:javac <options><source files>
where possible options include
-g Generate all debugging info
-g:none Generate no debugging info
-g:(lines, vars ,source) Generate only some debugging info
-nowarn Generate no warnigs
etc
i have specified the classpath of the application in the environment variables" Hi friend,
Wat you can do is ???
you gonna change your classpath to %tomcathome%=C: or D: or etc/Programfiles/Apache Tomcat 4.0/lib/etc/servlet.jar.
or else try locating servlet.jar file in the tomcat folder and place that in
C:\j2sdk1.4.0_01\lib folder and try compiling your code.
I guess it will work.
Regards,
RAHUL"
NO, if that was the problem it would have said
package javax.servlet dosen't exist -
I get this error when trying to compile a plain C++ project
Tool:0: Couldn't run '/usr/bin/gcc-3.3' because it does not refer to an accessible executable.
I get this error when I try to compile/build a normal C++ project.
I make a new project. C++ tool. Call it "test"
It automatically makes a main.cpp file which should output "hello world" but instead I get that error above. Not sure what is going on.I'm not sure where the "verbose" icon is, but I did get this, if it helps
Native Build of Target "Test" using Build Style "Development"
CompileC build/Test.build/Test.build/Objects-normal/ppc/main.o main.cpp normal ppc c++ com.apple.compilers.gcc.3_3
cd /Users/Eric/Documents/Test
/usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -ffix-and-continue -mtune=G5 -Wp,-header-mapfile,/Users/Eric/Documents/Test/build/Test.build/Test.build/Test .hmap -F/Users/Eric/Documents/Test/build -I/Users/Eric/Documents/Test/build/include -I/Users/Eric/Documents/Test/build/Test.build/Test.build/DerivedSources -c /Users/Eric/Documents/Test/main.cpp -o /Users/Eric/Documents/Test/build/Test.build/Test.build/Objects-normal/ppc/main. o
And my version of Xcode and such is..
Xcode 2.0
Xcode IDE 514.0
Xcode Core 515.0
ToolSupport 514.0
Not sure about the SDK.
iBook G4 and iPod Mini Mac OS X (10.4.5) -
[SOLVED] crt1.o error when trying to compile
Hi everybody,
I'm trying to compile a simple rtnetlink example written in c using gcc [ver 4.7.2] but I get this error :
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
and here is the include parts of example :
#include <sys/socket.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
#include <arpa/inet.h>
#include <unistd.h>
Should I add a specific library or something ?! (I tried netlink and pthreads libraries and it didn't work)
thanks in advance
Last edited by bahramwhh (2012-10-09 09:34:56)@lunar oh, I'm sorry, my problem solved. my file didn't have the main function !
Last edited by bahramwhh (2012-10-09 09:35:29) -
"Symbol Undefined" error when trying to compile GPIB examples
I'm trying to compile the examples written in C that are given in the folder \VXIPNP\WinNT\NIvisa\Examples\C\Gpib. Using a standard ANSI C compiler, I get the following error messages:
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viClose@4
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viTerminate@12
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viReadAsync@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viWrite@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viEnableEvent@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viInstallHandler@16
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viOpen@20
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viOpenDefaultRM@
4
AsyncIO.obj(AsyncIO)
Error 42: Symbol Undefined _viGetAttribute@12
--- errorlevel 9
Any help is appreciated.Hi esi_stents,
The compiler is complaining here because it can't find the correct library file to link to. Therefore, each of the above errors are function calls that the compiler does not have a prototype for.
The library file you want to make sure to link to is visa32.lib. The path for this library file differs slightly based on what compiler you are using:
Borland: C:\VXIPNP\WinNT\lib\bc
Microsoft: C:\VXIPNP\WinNT\lib\msc
Then follow the instructions for your compiler on how to set up links to a library.
Now the compiler should stop complaining at you and you're good to go! Have fun!
Kileen Cheng
Applications Engineer
National Instruments -
Forms Error when trying to compile a 6i Form in 9i
I have a form which is created in forms 6.
Im trying to compile that form in 9 but it gives me a warning like below
FRM-30457 Warning:Maximum length ignored for character datatype subordinate mirror item :ctl.descr
What should i do to correct this?Check all the properties of :ctl.descr item. It should be varchar2.
-
I am trying to get Java updated and running on my computer...I am Running Windows 98 2nd edition ( ya I know ;o) ) .
I get this error message :
The system cannot find the registry key specified.
HKEY_LOCAL_MACHINE\JavaSoft\Java Runtime Enviroment\1.5.0_03
I am new to this so please bare with with..I hope I did not post in the wrong forum...if so I am sorry...but any help would be greatly appreciated...I'm stuck :o) if anyone could even point me in the right direction I would be very greatful...Thanks in Advance
Angel80Thank you all for your time and your help...everything is working great now :o)
Hope you all have a great day. -
Error while trying to call Java Class from Peoplecode
Gurus,
I am trying to read a property file from peoplecode using standard java classes. However, I am getting this error more than one overload matches
Below are 2 ways in which I tried doing this and both ended up in the same error
Code 1>_
Local JavaObject &file = CreateJavaObject("java.io.File", "D:\\psft.properties");
Local JavaObject &properties = CreateJavaObject("java.util.Properties");
Local JavaObject &reader = CreateJavaObject("java.io.FileReader", &file);
&properties.load(); Error thrown : "Calling Java java.io.FileReader.<init>: more than one overload matches"
Code 2>_
Local JavaObject &file = CreateJavaObject("java.io.File", "D:\\psft.properties");
Local JavaObject &properties = CreateJavaObject("java.util.Properties");
Local JavaObject &properyFile = CreateJavaObject("java.io.FileInputStream", &file);
&properties.load();
Error thrown : "Calling Java java.io.FileInputStream.<init>: more than one overload matches."
The above error is thrown on the 3rd line when I try to invoke the FileInputStream or FileReader class/constructor.
In fact both the above code pieces work absolutely fine when I write them into a java class and run them on a java runtime. Any inputs would be of great help !! Alternatively, I will have to use peoplecode file.readline(), etc to read the property file. Since java has this smarter way to reading a property file, I thought of giving it a try ..
-SudriptaI tested this on one of my windows servers using PT 8.50:
Local JavaObject &joCurrFile = CreateJavaObject("java.io.File", "c:/temp/test-date.txt");
Local JavaObject &jlongtime = CreateJavaObject("java.util.Date");
Local number &modifytime = &jlongtime.getTime();
MessageBox(0, "", 0, 0, "original time: " | &joCurrFile.lastModified());
Local boolean &filemodified = &joCurrFile.setLastModified(&modifytime);
MessageBox(0, "", 0, 0, "&modifytime: " | &modifytime, "");
MessageBox(0, "", 0, 0, "&filemodified: " | &filemodified, "");
MessageBox(0, "", 0, 0, "new time: " | &joCurrFile.lastModified());Here are the results:
PeopleTools 8.50.05 - Application Engine
Copyright (c) 1988-2010 PeopleSoft, Inc.
All Rights Reserved
original time: 1287677026144 (0,0)
Message Set Number: 0
Message Number: 0
Message Reason: original time: 1287677026144 (0,0) (0,0)
&modifytime: 1287677277845 (0,0)
Message Set Number: 0
Message Number: 0
Message Reason: &modifytime: 1287677277845 (0,0) (0,0)
&filemodified: True (0,0)
Message Set Number: 0
Message Number: 0
Message Reason: &filemodified: True (0,0) (0,0)
new time: 1287677277845 (0,0)
Message Set Number: 0
Message Number: 0
Message Reason: new time: 1287677277845 (0,0) (0,0)
Application Engine program DSS_TEST_IO ended normallyDoes your app server have permissions to modify the files you are trying to modify? Also, how did you verify the date/time of the files? Were you using Windows Explorer? Did you refresh the view first? Or did you use the console dir/ls? I seriously doubt there is a security manager in place that would restrict what you can do with Java. Security managers are common in applets/browser context, but not in apps. -
Java.sql.sqlexception ora24344 error while trying to load Java class
Hi Guys,
I am getting "java.sql.sqlexception ora24344 error" while trying to load a java class using sql developer. Due to sensitivity of the code I am unable to post the code here but has anyone experienced a similar error before?
ThanksHi,
ora-24344 is known. It means it compiled but there are errors. Because you are not telling which version of Oracle you use, it is hard. Also you couldn't provide code will not make it easy. A common error is not having the right right on packages of SYS, such as UTL_* or DBMS_SYS_SQL. Can you maybe give the line of your code which produces the error?
Herald ten Dam
http://htendam.wordpress.com -
According to WLI docs, the Java Class Business Operations doesn't need to be Serializeable.
But somehow everytime I try to invoke the Busines Operations in studio, It always
throws me exception : java.io.NotSerializableException. Is it something wrong
with my Java Class ? The operation seems to be executed successfully but after
that It looks like WLI is trying to serialize the object into database which can
not be done because the Java Class is not serializeable. Changing the Java Class
to serializeable is not an option since I don't have any control on this class.
Please advise...
regards,
MartinAccording to WLI docs, the Java Class Business Operations doesn't need to be Serializeable.
But somehow everytime I try to invoke the Busines Operations in studio, It always
throws me exception : java.io.NotSerializableException. Is it something wrong
with my Java Class ? The operation seems to be executed successfully but after
that It looks like WLI is trying to serialize the object into database which can
not be done because the Java Class is not serializeable. Changing the Java Class
to serializeable is not an option since I don't have any control on this class.
Please advise...
regards,
Martin
Maybe you are looking for
-
Currently, opening a new tab goes to a blank search page with an annoying advertisement, and I want it to open a new tab in google.com. I've tried for over 2 hrs to fix this, following instructions I found. Nothing has worked. I downloaded an add-on,
-
Adobe illustrator cs6 has stopped working
adobe illustrator cs6 has stopped working please give me solution for this error
-
Can you re-factor an Aperture library to have smaller directories?
Is there a way to re-factor an Aperture library bundle so none of its internal directories have more than 32000 entries? (I'm asking because my Aperture library weighs in at 44GB+ (and that's using referenced images) and so I want to move it to my RA
-
I have this query: select state_name,sum(cnt_active) TotalActiveVouchers, sum(sum_active) TotalActiveValue, sum(cnt_inactive) TotalOtherVouchers, sum(sum_inactive) TotalOtherValue, sum(cnt_expired) TotalRedeemedVouchers, sum(sum_expired) TotalRedeeme
-
How to configure Cisco Airespace in Cisco Secure ACS v5.3
Need some help regarding Cisco Airespace configuration in Cisco Secure ACS v5.3. We're migrating to ACS v5.3 but we're encountering an issue with Cisco Airespace. It is only working on ACS4.1 but when we tried to move it to Cisco Secure ACS v5.3, it