Error in running encryption/decryption using DES in Websphere Dev't Client
Hello!
I have a code used to encrypt / decrypt a string (password). I have already tested it using Netbeans and it is working. But when I tried to add the java code to an existing web project using Websphere Development Client,, javax.crypto.* is not recognized. Then I imported JCE.jar.
The java code contains no errors then, but when I started to run the project, it gives an Error 500. And below is the Console's error message:
E SRVE0026E: [Servlet Error]-[javax.crypto.spec.PBEKeySpec: method <init>([C[BI)V not found]: java.lang.NoSuchMethodError: javax.crypto.spec.PBEKeySpec: method <init>([C[BI)V not found[/b]
Have I missed something to add? Or other things that I should do upon importing this jar file?
Please help.
Advance thanks for your reply.
misyel
I dont know what version of Java that my Websphere's using. But I am very sure that it is outdated. I am using Websphere 5.0. For Netbeans, it is JDK1.5.
I imported the JCE from JDK 1.5 on Websphere.
I think the code works perfectly fine. Actually it was my friend's code for encryption but they are using Eclipse for development (almost the same from Websphere but somehow different from it.)
My idea is that I cant match the versions of the jarfiles used in my project. As much as I wanted to change the imported jar files, I couldn't for when I replaced the existing jar files, more and more errors occur.
can we have any alternative ways of importing the jar files? or is there any other code that might help that will not use the JCE.jar?
I really appreciate your response. thanks
misyel
Similar Messages
-
Encrypt/decrypt using update
Hi,
can someone give me an encrypt/decrypt pair of code samples that use the cipher.update() call.
i am trying it like that but apparently it doesn't work
byte[] temp = new byte[message.length/2];
byte[] temp2 = new byte[message.length/2];
System.arraycopy(message, 0, temp, 0, temp.length);
System.arraycopy(message, temp.length, temp2, 0, temp.length);
ciphertext = new byte[message.length];
System.arraycopy(symmetricCipher.update(temp), 0, ciphertext, 0, temp.length);
System.arraycopy(symmetricCipher.doFinal(temp2), 0, ciphertext, temp.length, temp.length);ode]
>
I don't see how using the inputstream i would avoid
the memory error, when passing anything over
10,000,000. Unless you mean I split the input, and
write small chunks into disk as I encrypt them?Your basic problem is that you have the data as one large array. I don't know how and why you created this large array; I would not to create it unless there was no other way.
Since it does not make sense to create one large encrypted byte array and given that you have a byte array then you can use either
1) Create a ByteArrayInputStream and wrap it in a CipherinputStream. This would allow you to encrypt the array in a sequential manner a few KBytes at a time.
or
2) Encrypt the array a few KBytes at a time using a simple update(array, start, length) that returns the encrypted bytes.
But first, I would try to avoid creating the large 'cleartext' array. -
How to encrypt data using DES in ABAP?
Hi Experts,
I need to do encryption/decryption between ABAP and JAVA.
Is there any function in ABAP world can do the DES or any other well known symmetrical encryption?
Thank you so much!
Best Regards,
Guo Guo QingA lot of SAP installations use Gnu-PGP for encryption.
When you have installed GPG software on your server and created the appropriate keys, you create an external command in SAP via SM69 to execute the GPG encryption command.
Finally, create a function module that builds the encryption command line as appropriate, then calls the external command defined in SM69.
GPG is free software licensed under the GNU General Public License umbrella, so won't cost you anything. See URL [http://www.gnupg.org] for full information and software download.
Regards,
D. -
Error while running the rdf using concurrent program
Hi All,
I am facing the following error when i try to run the concurrent program
REP-0736: There exist uncompiled program unit(s).
REP-1247: Report contains uncompiled PL/SQL.
I am using a package in the program units. when i ues it the database its working fine. but when i use in the rdf.
it is throwing the above error.
Also the rdf is scuccessfully compiled.
Please let me know what should be done now??
Thanks
Janaclose report builder,
re-open
re-connect
open pgm unit procedure
compile each pgm unit individually
then ctrl+shift+k
ctrl+t
try now
CHK THIS LINK...may be while running, the user wont have access to the tables used in packages...
REP-1247 ERROR WHILE RUNNING REPORT
Edited by: Dora on Dec 15, 2009 10:00 AM -
Getting error while running the Interface using AGENT
Hi All,
i am not able to run the interface using Agent service which running in the another machine, while running i am getting error message like
java.lang.Exception: Error during Session launching
at com.sunopsis.dwg.dbobj.SnpSession.remoteExecute(SnpSession.java)
at com.sunopsis.graphical.l.or.e(or.java)
at com.sunopsis.graphical.r.z.actionPerformed(z.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
i ran the Agent services in Comment prompt, there i am getting the error like follows
java.lang.NullPointerException
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.h.y(h.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
here i have mentioned the steps which i followed for creating agent service.
i have two machine namely A and B both having the ODI
i am going to use the B machine as a centralized server. so i edited the odiparams.bat file in B machine in ODI locaiton and filled the repository information
from A machine i opened the Topology and created the Agent service there i mentioned the HOST name as "B" and port number 20300. and i configure the logical agent aswell
from B machine i started the Agent service like agentscheduler "-port=20300".
Agent service launched seccessfully.
From A machine i tested the Agent. that also shown the successful window message.
then i started running the interface using the agent i am getting the error which i have mention in the beginging.
Interface which i ran will do the text file to table loading, so i kept that file in particular location in B machine( i have configure this location when i created the file data store in topology in A machine).
Please help me to solve the problem...
thanks
nidhi
Edited by: knidhi on Nov 26, 2009 6:54 PMThanks For your Reply,
I ran the agent as you said. here is my observation
from the Machine B where agent is actually running, i could able to run the interface using agent service.
but from the machine A while running the interface i am getting the following error message
java.lang.Exception: Error during Session launching : Error during Session Preparation : You are trying to execute a session with an agent that is undefined in your repository. Please check the agent -NAME parameter.
at com.sunopsis.dwg.dbobj.SnpSession.remoteExecute(SnpSession.java)
at com.sunopsis.graphical.l.or.e(or.java)
at com.sunopsis.graphical.r.z.actionPerformed(z.java)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
i have created both physical and logical agent with the same name "DEMO_AGENT", and i ran the agent in the Machine B like
agentscheduler "-port=20301" "-name=DEMO_AGENT"
Please help me to solvethe issue...
Thanks
Nidhi
Edited by: knidhi on Nov 27, 2009 11:04 AM
Edited by: knidhi on Nov 27, 2009 11:04 AM
Edited by: knidhi on Nov 27, 2009 11:05 AM -
Encrypt/Decrypt using REPLACE/TRANSLATE function
Hi,
Can someone please provide me any procedure/function which encrypts/decrypts a string using REPLACE/TRANSLATE function?
Thanks
Dinakarexample with TRANSLATE:
CREATE OR REPLACE function temp_encrypt (p_value IN VARCHAR2)
RETURN VARCHAR2 IS
BEGIN
RETURN(TRANSLATE(p_value, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'BCDEFGHIJKLMNOPQRSTUVWXYZA'));
END;
CREATE OR REPLACE function temp_decrypt (p_value IN VARCHAR2)
RETURN VARCHAR2 IS
BEGIN
RETURN(TRANSLATE(p_value, 'BCDEFGHIJKLMNOPQRSTUVWXYZA', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'));
END;
SQL> SELECT temp_decrypt('MY TEST') FROM dual;
TEMP_DECRYPT('MYTEST')
LX SDRS
SQL> SELECT temp_encrypt('LX SDRS') FROM dual;
TEMP_ENCRYPT('LXSDRS')
MY TESTyou may combine this with REPLACE() ... -
Why I get an error when running a sequence using the LabVIEW operator interface ?
I have a simple TestStand sequence calling LabVIEW vis that is giving me an error when I run it with the .exe version of the LabVIEW operator interface and I set TestStand to run the vis using the 8.2.1 runtime engine instead of the development adapter. I made a change in the operator interface to open a vi programatically and get the value of a control, this vi is also used in the TestStand sequence I am trying to run. Could this be causing my problem ?
ThanksHello Verdulken,
I have a few additional questions:
Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
What is the error that you are receiving?
Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
Does the error occur on the step that calls this very same VI again later in the sequence?
Does your application function correctly if you use the development adapter for all of your calls?
Thank you in advance for this information,
Matt G.
National Instruments
Applications Engineering -
Crypt::cbc encrypt / decrypt using javax.crypto
I am having a bit of a time encrypting with crypt::cbc and decrypting with java. To get to the point, here is my code, perl first, java 2nd - I have tried to keep things very simple.
#!/usr/local/bin/perl -w
use strict;
use Crypt::CBC 2.30;
die "Need to specify a file" if(!(my $infile = shift));
my $key = q(nvA9s$233eOrlQG4);
my $iv = q(0123456701234567);
my $bufsize = 16384;
my $cipher = Crypt::CBC->new({
'key' => $key,
'iv' => $iv,
'header' => 'none',
'cipher' => 'Rijndael',
'keysize' => '16', #forced - default is 32 bytes
'padding' => 'standard', #PKCS5
'blocksize' => '16',
'literal_key' => '1', #do not MD5 hash key
open (FORIG,"$infile")|| die "can't open file: $!";
open (FCRYPT,">$infile.crypt")|| die "can't open file: $!";
$cipher->start('encrypting');
while(my $readsize = sysread(FORIG, my $buf, $bufsize)) {
print FCRYPT $cipher->crypt($buf);
print FCRYPT $cipher->finish();
close FCRYPT;
close FORIG;
now the java:
// i have elided the import stmts for brevity
public class AESEncrypter {
Cipher ecipher;
Cipher dcipher;
byte [] buf = new byte[1024];
public AESEncrypter() {
String strKey = "nvA9s$233eOrlQG4";
byte[] keyBytes = null;
try {
keyBytes = strKey.getBytes("UTF-8");
} catch(java.io.UnsupportedEncodingException ex) {
ex.printStackTrace();
byte[] iv = new byte[] { 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 };
IvParameterSpec ivSpec = new IvParameterSpec(iv);
try {
ecipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
dcipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
} catch (NoSuchAlgorithmException e) {
e.printStackTrace();
} catch (NoSuchPaddingException e) {
e.printStackTrace();
try {
SecretKeySpec key = new SecretKeySpec(keyBytes, "AES");
ecipher.init(Cipher.ENCRYPT_MODE, key, ivSpec);
dcipher.init(Cipher.DECRYPT_MODE, key, ivSpec);
} catch (InvalidKeyException e1) {
e1.printStackTrace();
} catch (InvalidAlgorithmParameterException e1) {
e1.printStackTrace();
public void encrypt(InputStream in, OutputStream out) {
try {
out = new CipherOutputStream(out, ecipher);
int numRead = 0;
while((numRead = in.read(buf)) >= 0) {
out.write(buf, 0, numRead);
out.close();
} catch(java.io.IOException e) {
e.printStackTrace();
public void decrypt(InputStream in, OutputStream out) {
try {
out = new CipherOutputStream(out, dcipher);
int numRead = 0;
while((numRead = in.read(buf)) >= 0) {
out.write(buf, 0, numRead);
out.close();
} catch(java.io.IOException e) {
e.printStackTrace();
public static void main(String args[]) {
if(args.length != 1) {
System.out.println("Usage: java AESEncrypter filename");
System.exit(0);
AESEncrypter encrypter = new AESEncrypter();
try {
// encrypter.encrypt(new FileInputStream(args[0]), new FileOutputStream("Java_encrypted.txt"));
encrypter.decrypt(new FileInputStream(args[0]), new FileOutputStream("Java_decrypted.txt"));
} catch (java.io.FileNotFoundException ex) {
ex.printStackTrace();
so with file named whoop.txt containing the following contents:
whoop
whoop
whoop
whoop
I do:
$>./encrypt.pl whoop.txt
and get the resulting file whoop.txt.crypt. then I do
$>java AESEncrypter whoop.txt.crypt
and get the resulting file Java_decrypted.txt. when I do a hex dump of this file:
$>dump.pl Java_decrypted.txt
i get the following
/0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /A /B /C /D /E /F 0123456789ABCDEF
0000 : 47 58 5F 5F 40 3A 47 58 5F 5F 40 3A 47 58 5F 5F GX__@:GX__@:GX__
0010 : 70 0A 77 68 6F 6F 70 0A p.whoop.
I have tried to ensure that everything matches between the perl and java code, however I am obviously missing something. Thanks in advance for any ideas!
Greggi have hardcoded the IV in perl as:
my $iv = q(0123456701234567);
and in the .java file as:
byte[] iv = new byte[] { 0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7 };
IvParameterSpec ivSpec = new IvParameterSpec(iv)
Are these not compatible?
thanks - gh -
Receiving Error when running Crystal reports with Images in WebSphere 6.1
I am designing a report with a sub report that displays images via (BLOBS). The images are between 10-20 kb in size and there could be up to 200 images in the report.
There are no problems when I run the report using Java 1.5 with Tomcat 5.5 server and JDBC connection (using ojdbc14.jar) to an Oracle 10g database.
It seems that if I attempt to run the same report on a WebSphere 6.1 environment, the below error is encountered (stack trace is below)
I am using Crystal 2008 (ver 12.0.0.683).
Based on the stack trace, I think it is either an IBM JDK javax.* package compatibility issue or the current version of Crystal reports (no service packs installed - current client environment) has a known issue with Websphere.
I searched the forums for any similiar issues but could not find one.
Could installing Service pack 3 solve this issue or is there another possibility?
Any assistance would be greatly appreciated.
Thank you.
Tony.
Stack Trace follows (Needed to trim due to size, trying to keep unique messges) *******
ERROR [pool-14-thread-1] c.u.p.e.g.c.GenerateCrystalReport [GenerateCrystalReport.java : 211] Generate Report: Template =
pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111) [CrystalReportsRuntime.jar:12.2.207.916]
at com.utc.pw.evm2.generatereports.crystalreports.GenerateCrystalReport.generateReport(GenerateCrystalReport.java:152) [classes/:na]
at com.utc.pw.evm2.generatereports.ReportThread.run(ReportThread.java:144) [classes/:na]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) [na:1.5.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) [na:1.5.0]
at java.lang.Thread.run(Thread.java:811) [na:1.5.0]
Caused by: java.lang.VerifyError: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
at com.crystaldecisions.reports.common.image.ImageUtils.a(SourceFile:901) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.common.image.ImageUtils.if(SourceFile:873) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.common.JavaImage.do(SourceFile:183) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.common.CrystalImage.createImage(SourceFile:50) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.if(SourceFile:103) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.<init>(SourceFile:57) [CrystalReportsRuntime.jar:12.2.207.916]
[CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) [CrystalReportsRuntime.jar:12.2.207.916]
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337) [CrystalReportsRuntime.jar:12.2.207.916]
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223) [CrystalReportsRuntime.jar:12.2.207.916]
... 8 common frames omitted
2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 233] Attempt to generate report TEARDOWN using
pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt for E733570-01 failed: Generate Report: Template =
pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;, REPORTSDKEXCEPTION
2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 238] Exception was caught trying to build report:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
Edited by: Liro9999 on Jul 21, 2010 1:55 PMThank you for your reply.
The answer to your question concerning if Websphere is a clean install is no. The client has other applications running on that server. We do not have access to that server other than the log files and I requested information as to what other applications are on the server.
We did try adding a known working version of the IIOMetadata class in the ear file and deploying it in the hopes that class will be loaded before using any other version. Unfortunately, we receive the posted errors. Which may mean that a different version of the class has already been loaded in memory and that is the one being accessed. A request would have to be made to the client for a shutdown and restart of Websphere in determining if that may be the case. Since there are other applications running, coordination and communication to the other application owner will need to be done first.
Any additional ideas will be appreciated.
Thank you.
Tony. -
Error while running Java application using Crystal Reports 2011
Hello,
I would like to ask for your help.
Environment details:
Java based standalone application in Development environment.
Crystal Reports 2011 (no SP applied)
Oracle 11g ( 32 bit client installed)
Win7 64 bit OS.
Workflow:
While running the java application, which will display the reports I am getting the below mentioned error. I guess that is because I am missing the Crystal runtimes (Correct me if I am wrong).
I know that CR2011 do not have any sdks/ jar available for deployment. In this case, which runtimes should I be using? Does installing CR2011 be enough in the development box?
Please provide me the link from which I can download the same.
Let me know if I need to provide more details on this. Any suggestions are most welcome.
Thank You.
Code used:
reportClientDoc = new ReportClientDocument();
System.err.println("Opening the Report ");
reportClientDoc.open(REPORT_PATH, 0);
// this is where the error or exception is thrown
_Error: _
log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
log4j:WARN Please initialize the log4j system properly.
com.crystaldecisions.sdkreport.lib.ReportSDKException: com/businessobjects/reports/jdbinterface/common/DBException---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.<init>(SourceFile:703)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
at com.crystaldecisions.sdk.report.application.ClientDocument.if(SourceFile:504)
at com.crystaldecisions.sdk.report.application.ClientDocument.open(SourceFile:669)
at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
at rp.batch.bo.RpJRCExportReport.runReportExport(RpJRCExportReport.java:517)
at rp.batch.bo.RpSchedReportRun.process(RpSchedReportRun.java:163)
at rp.batch.bo.RpSchedReportRun.drive(RpSchedReportRun.java:240)
at rp.batch.bo.RpSchedReportRun.main(RpSchedReportRun.java:265)
Caused by: java.lang.NoClassDefFoundError: com/businessobjects/reports/jdbinterface/common/DBException
at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
... 12 more
Caused by: java.lang.ClassNotFoundException: com.businessobjects.reports.jdbinterface.common.DBException
at java.net.URLClassLoader1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.LauncherAppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 28 moreHelp me ...
Ambient:
Crystal Reports Viewer 14.0.0.0
java.vendor = Sun Microsystems Inc.
java.version = 1.6.0_37
os.name = Windows NT (unknown)
os.version = 6.2
os.arch = amd64
Exception:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.sdk.erom.jrc.ReportAgentFactory---- Error code:-2147215357 [CRSDK00000026] Error code name:internal
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.createDefaultAgent(RemoteAgent.java:1000)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initRemoteAgent(ClientDocument.java:770)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:961)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
at src.HelloWorldSwing.createAndShowGUI(HelloWorldSwing.java:54)
at src.HelloWorldSwing.main(HelloWorldSwing.java:24)
Source:
import java.awt.BorderLayout;
import javax.swing.JFrame;
import com.crystaldecisions.ReportViewer.ReportViewerBean;
import com.crystaldecisions.sdk.occa.report.application.DatabaseController;
import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
public class HelloWorldSwing {
* @param args
public static void main(String[] args) {
HelloWorldSwing pgm = new HelloWorldSwing();
try {
pgm.createAndShowGUI();
} catch (Exception e) {
e.printStackTrace();
//JOptionPane.showMessageDialog(null, e.toString());
* @throws Exception
public void createAndShowGUI() throws Exception {
// Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(false);
// Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle("Titolo del Report");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init(new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.setReportAppServer(ReportClientDocument.inprocConnectionString); // inproc:jrc
rpt.open("Report.rpt", OpenReportOptions._openAsReadOnly);
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource(rptSource);
frame.getContentPane().add(viewer, BorderLayout.CENTER);
frame.setSize(1930, 1030);
frame.setVisible(true);
viewer.start(); -
Error when running a script using upsshell.exe
I have a simple custom script which is
Sub Test1()
Set fso= CreateObject("Scripting.filesystemobject")
Set ts = fso.CreateTextFile("D:\DATA\****\Outbox\Templates\Test.txt")
ts.writeline "hi"
End sub
When I am running it manually in workbench, the script runs fine but when I try to run it using upsshell.exe(command provided below)
D:\Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\SHARED~1\upsShell.exe CustomScriptEx=****~admin~****~~****~D:\DATA\test\Outbox\Logs~Test1~1033~0
i get the following error
ERROR:
Code............ 438
Description..... [Script failure caused error]: Object doesn't support this property or method
Procedure....... modupsShell.ExecuteCustomScriptEx
Component....... upsShell
Version......... 1112
Process ID...... 292496
Thread.......... 290292
IDENTIFICATION:
User............ admin
Domain..........
Computer Name... *******
App Name........ ****
PROCEDURE STEPS:
1-Split Arguments
2-Create Load balancer=*******
3-Authenticate
4-Get Next App Server
5-Open App Server=*******
6-Execute the script=Test1
7-Step was not reached, a previous step failed
Any ideas on the error?Hello Verdulken,
I have a few additional questions:
Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
What is the error that you are receiving?
Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
Does the error occur on the step that calls this very same VI again later in the sequence?
Does your application function correctly if you use the development adapter for all of your calls?
Thank you in advance for this information,
Matt G.
National Instruments
Applications Engineering -
Error while running WDJ application using jxl.jar
Hi Experts,
I am using jxl.jar in my webdynpro java application in CE7.2. I added jxl.jar in java build path and place the jar file in lib directory of webdynpro DC. It shows error in development configuration perspective while building, then i created another DC of type ExternalLibrary and added jxl.jar in libraries folder, then i right click on that jar and published as archive. Then in Development configuration perspective i added ExternalLibrary project to my webdynpro DC, it doen't shows error while building.
I deployed successfully, when i run the application, it shows the following error. Is there any fault in adding external jar to mt DC? i can't understand where the problem is?
Error:
java.lang.ClassNotFoundException: jxl.Workbook -
Loader Info -
ClassLoader name: [com.drl.bomrecipe/bomrecipe] Loader hash code: 30a86ee9 Living status: alive Direct parent loaders: [system:Frame] [interface:webservices] [interface:cross] [interface:security] [interface:transactionext] [library:webservices_lib] [library:opensql] [library:jms] [library:ejb20] [service:p4] [service:ejb] [service:servlet_jsp] [sap.com/tcwdapi] [library:tcblexceptionlib] [library:tcblloggingapi] Resources: E:\usr\sap\CE7\J00\j2ee\cluster\apps\com.drl.bomrecipe\bomrecipe\servlet_jsp\webdynpro\resources\com.drl.bomrecipe\bomrecipe\root\WEB-INF\lib\com.drl.bomrecipe~bomrecipe.jar -
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:272)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:241)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:367)
help me please, thanks in advance
Regards,
Pradeep Kumar GHi Pradeep,
Have you created both compilation and assembly public parts for your Ext Lib, and have you added them both to your Used DC's list?
Also remember, since you are using an assembly public part, the 'Create Archive' and 'Deploy new archive and run' should not be used!
Use the DC Build and DC Deploy instead.
Hope this helps!
Robin van het Hof -
Error while running PING program using applet. Pls correct the code.-urgent
Can anyone pls correct the error in the below code.
Program : TestExec1
Using : Applet
Logic : Trying to display the ping status in the text area but it returns error...!
CODING
import java.awt.*;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.awt.event.*;
import java.applet.*;
import java.*;
/*<applet code="TestExec1" width=380 height=150>
</applet>
public class TestExec1 extends Applet
String line = null;
TextArea outputArea;
Process p;
public void init()
outputArea = new TextArea(20,20);
public void start()
try
Process p= Runtime.getRuntime().exec("ping 192.168.100.192 -t");
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
while ((line = in.readLine()) != null)
outputArea.append("\n" + line);
System.out.println(line);
catch (IOException e)
e.printStackTrace();
Error : C:\Program Files\Java\jdk1.6.0_02\bin>appletviewer TestExec1.java
java.security.AccessControlException: access denied (java.io.FilePermission <<AL
L FILES>> execute)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExec(SecurityManager.java:782)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:447)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
at java.lang.Runtime.exec(Runtime.java:328)
at TestExec1.start(TestExec1.java:31)
at sun.applet.AppletPanel.run(AppletPanel.java:458)
at java.lang.Thread.run(Thread.java:619)
Regards
ESMjava.security.AccessControlException: access denied (java.io.FilePermission
<<ALL FILES>> execute)This message tells you that the applet does not have permission to access/execute files. Access may be granted by either signing the applet, which allows the user to grant (or not grant) the access when running the applet, or by adding the necessary permission file to the user's computer.
See http://java.sun.com/javase/6/docs/technotes/guides/security/index.html -
Newbie need to encrypt/decrypt using password
Hi all,
I need to encrypt some data store it in database and retrieve it at another time and decrypt it. The user will supply the password. I have no idea on how to do it. This encryption must be very strong like PGP. I can use the jars provided by Sun.
rgds
Antony Paulpackage login.view;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
//import org.myorg.SystemUnavailableException;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
import sun.misc.CharacterEncoder;
public final class PasswordService
private static PasswordService instance;
private PasswordService()
public synchronized String encrypt(String plaintext) throws Exception
MessageDigest md = null;
try
md = MessageDigest.getInstance("SHA"); //step 2
catch(NoSuchAlgorithmException e)
throw new Exception(e.getMessage());
try
md.update(plaintext.getBytes("UTF-8")); //step 3
catch(UnsupportedEncodingException e)
throw new Exception(e.getMessage());
byte raw[] = md.digest(); //step 4
String hash = (new BASE64Encoder()).encode(raw); //step 5
return hash; //step 6
public static synchronized PasswordService getInstance() //step 1
if(instance == null)
return new PasswordService();
else
return instance;
You can use this classas below.................
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
HttpSession session=request.getSession(true);
//HttpSession session = new HttpSession();
LoginBean login =(login.view.LoginBean) form;
String LoginName= login.getLoginName();
String LoginPassword = login.getLoginPassword();
try
session.setAttribute("LoginPassword",PasswordService.getInstance().encrypt(LoginPassword));
catch(Exception e)
session.setAttribute("LoginName",LoginName);
return mapping.findForward("success");
} -
Error While Running OAF page using Jdeveloper 10g
Team,
iam getting the below while running OAF page.
*500 Internal Server Error*
oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
* at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)*
* at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)*
* at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)*
* at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)*
* at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)*
* at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)*
* at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)*
* at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)*
* at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)*
* at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)*
* at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)*
* at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)*
* at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)*
* at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)*
* at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1108)*
* at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)*
* at OAErrorPage.jspService(_OAErrorPage.java:62)*
* [OAErrorPage.jsp]*
* at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)*
* at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)*
* at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)*
* at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)*
* at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)*
* at test_fwklabsolutions._jspService(_test__fwklabsolutions.java:105)*
* [test_fwklabsolutions.jsp]*
* at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)*
* at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)*
* at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)*
* at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)*
* at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)*
* at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)*
* at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)*
* at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)*
* at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)*
* at java.lang.Thread.run(Thread.java:595)*
Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
* at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)*
* at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)*
* at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583)*
* at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300)*
* at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)*
* at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266)*
* at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203)*
* at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061)*
* at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871)*
* at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715)*
* at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728)*
* at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)*
* at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)*
* at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)*
* ... 49 more*
Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
* at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:907)*
* at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:966)*
* at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:784)*
* at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)*
* at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)*
* at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)*
* at java.lang.reflect.Constructor.newInstance(Constructor.java:494)*
* at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)*
* ... 62 more*
Caused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
* at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423)*
* at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1326)*
* at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:888)*
* ... 70 more*
Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
* at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)*
* at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)*
* at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)*
* at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)*
* at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)*
* at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)*
* at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)*
* at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)*
* at java.sql.DriverManager.getConnection(DriverManager.java:525)*
* at java.sql.DriverManager.getConnection(DriverManager.java:140)*
* at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410)*
* ... 72 more*Hi
It seems The database host name, port number, or database instance name is wrong
Please check and try it again
Thanks
Sandeep
Maybe you are looking for
-
How to create a function that returns multiple rows in table
Dear all, I want to create a funtion that returns multiple rows from the table (ex: gl_balances). I done following: -- Create type (successfull) Create or replace type tp_gl_balance as Object PERIOD_NAME VARCHAR2(15), CURRENCY_CODE VARCHAR2(15), PERI
-
Multiple failures after 2 HD changes
I bought an used Macbook about 2 months ago. The very next morning after I loaded all of my files into it, it crashed and I couldn't restart. I kept getting the little file icon with a question mark, which I later learned means that the startup disk
-
Error in code in email notification sending
Hi, I am using below code but not email is being send by this? Please Suggest the email id not being send and sy-subrc is retruned as 8? please check on the below code it can be tested also as it is synt correct Tables : zcustemail. Declarations. *PA
-
Dear community and hopefully apple members aswell. I have a problem concerning my ipad mini. when i want to watch a html5 video posted on a website , i can only scroll in the video for about the first 5 minutes. if i want to move to a 10 min point in
-
New release strategy / Old PReqs
Hi, New release strategy has been configured to be active only for purchase requisitions with account assignment cat. F (PReqs coming from work order). In the other words every time when Preq is automatically created from work order new release strat