XSLStylesheet.flushErrors(XSLStylesheet.java:1534) Urgent!!!!!!!!
I am running a report using data template for a large volume of data.BIP is showing an internal error has occurred .Following is the error message being registered in the log file :
[032008_045854268][][EXCEPTION] 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:585)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:244)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:75)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:658)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:249)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:271)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:258)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:191)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
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.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.xdo.parser.v2.XPathException: An internal error condition occurred.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
... 37 more
Appreciate your help in advance.
I did overcome that problem by removing divide from my sql package.
The report runs well now for small set of data but when I try to run it for larger volume of data it runs for like 15 mins and then the page expires saying "The page cannot be displayed" with following message in log file:
[032108_035201195][][EXCEPTION] com.evermind.server.http.HttpIOException: Broken pipe
at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:210)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
at oracle.apps.xdo.servlet.util.IOUtil.readWrite(IOUtil.java:47)
at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:248)
at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:75)
at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:658)
at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:249)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:271)
at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:258)
at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:191)
at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:80)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
or sometimes with no message in log file.
.Do I have to change any kind of time settings?
Thanks ..
Message was edited by:
user569997
Message was edited by:
user569997
Similar Messages
-
Java Developers Urgently Required-Guildford UK -up to 45,000 per annum
Permanent Java Developer urgently required for a leading pre-press work flow software house.
We need developers with the following skills:
Java J2EE
JSF OR Spring OR Struts
JSP Servlets / Swing
JDBC SQL
JDOM / HTML / JavaScript / CSS / XML / XSL / DTD / XPATH
Desktop: Windows XP
Eclipse3 / CVS
Basic UML
These skills are an advantage.
C++/Perl/AJAX
Parking, excellent working hours and an immediate start available for the right candidate.
Please Contact:
Kelly Riddell
01483 300515
[email protected]I think that it is something wrong with kernel and graphic drivers but i'm not able to solve it from the beginning of using of Arch by me.
I'm not so sure this issue is software-related only because in my case it seems the laptop screen enters power-saving mode (10-min timeout) on its own without any events logged (as shown by dmesg) so my next thought was OK, I'm going to get rid of this issue disabling the screen power-saving timeout in the BIOS and set it to never power down or something like that and from then on managing power mode manually; ie: when I want to power down I will just use systemctl suspend/hibernate which work fine ... problem is: there are no related options in my BIOS for such timeout.
The only timeouts I have are in /etc/systemd/logind.conf set to 30min (#IdleActionSec) (commented) by default so these are not in effect because the screens goes blank after 10m which is less than the (default) 30m in logind. Maybe setting loggind to 9m (un-commented) to catch the event before the machine-default one ?
IdleActionSec=9min
IdleAction=suspend
Will check it and report back. -
Execute html file from java code - urgent!!!
Hi,
I need help!!
My application should open html file that located in my computer
it should be open when some line in JList was choosen
my question is: How can I open html file from my application
I work with window XP
I tried this one :
Runtime.getRuntime().exec(cmdLine);
but it doesn't work
the exeption was: CreateProccess
Please help! it's urgent!!!!http://forum.java.sun.com/thread.jsp?forum=31&thread=497600
-
LDAP (OID) integration with java appilcation( Urgent imp.)
Currently we are using the OID-LDAP as the repository for storing username, passwds
and other attributes. All applications that need authentication will essentially
be using the OID.
In our effort to do the same we are encountering the following problems
- Creation of an identity corresponding the application
- Giving this identity certain LDAP authorizations (Which authorizations are these)
We have been successful creating LDAP entries for users and getting the initial
JNDI contexts to do the lookups.
When we are creating the user lookup from java code using oracle.ldap.util.User pakage ,
at the run time it's throwing error(no classfound oracle/net/config/ConfigException ).
why and where this is needed and how to resolve that. is that because we haven't added
the application in oid and configured authorizations for it.
Need an urgent answer to this since all applications will be using LDAP(OID).
here is code of java which tries to connect to OID.
================================================================================================
import oracle.ldap.util.*;
import oracle.ldap.util.jndi.*;
import java.io.*;
import java.util.*;
import javax.naming.*;
import java.Exception.*;
import javax.naming.directory.*;
public class hello {
public static void main(String argv[])
throws NamingException {
// Create InitialDirContext
System.out.println("INSIDE SERVLET");
InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx( "hire11.kmfl.kg","4032","cn=orcladmin", "ias123" );
// Create Subscriber object
System.out.println("GOT CONTEXT" +ctx);
Subscriber mysub = null;
/* commented for time being -----------------------------
try {
// Creation using DN
System.out.println("CREATING subscriber");
mysub = new Subscriber( ctx, Util.IDTYPE_DN, "o=oracle,dc=com", false
System.out.println("GOT subscriber");
catch (UtilException e) {
System.out.println("error");
// Create User Objects
User myuser = null, myuser1 = null;
try {
// Create User using a subscriber DN and the User DN
System.out.println("CREATING USERl");
myuser = new User ( ctx,Util.IDTYPE_DN, "cn=abhishek,cn=users,dc=kmfl,dc=kg",Util.IDTYPE_DN,"dc=kmfl,dc=kg", true );
System.out.println("GOT USER");
// Create User using a subscriber object and the User
// simple name
// commented for time being -----------------------------
myuser1 = new User ( ctx, Util.IDTYPE_SIMPLE, "abhishek", mysub, true );
catch ( UtilException e ) {
System.out.println("COUDN'T GET USER"+e.toString());
// Authenticate User
try {
System.out.println("gOING FOR AUTHENTICATION");
myuser.authenticateUser(ctx,User.CREDTYPE_PASSWD,"abhi123");
System.out.println("AUTHENTICATION SuccessFull");
System.out.println("AUTHENTICATION SUCCESSfULL");
System.out.println("AUTHENTICATION sUCCESSfULL");
catch ( UtilException e ) {
System.out.println("AUTHENTICATION FAILED");
// Perform User operations
/* commented for time being -----------------------------
try {
PropertySetCollection result = null;
// Get telephonenumber of user
String[] userAttrList = {"telephonenumber"};
result = myuser1.getProperties(ctx,userAttrList);
Util.printResults(result);
// Set telephonenumber of user
// Create JNDI ModificationItem
ModificationItem[] mods = new ModificationItem[1];
mods[0] = new ModificationItem(DirContext.REPLACE_ATTRIBUTE,
new BasicAttribute("telephonenumber", "444-6789"));
// Perform modification using User object
myuser.setProperties(ctx, mods);
catch ( UtilException e ) {
} // End of SampleUser.java
==============================================================================================================Hi,
Make sure you have the netcfg.jar in the same directory as that of ldapjclnt9.jar (in $ORACLE_HOME/jlib).
Regards
Radhika -
Convert C++ prog into Java( I m new in java)help urgent
hi all,
i am very new in java. i have code of C++.i have to convert it in to Java.please help me on urgent basis.plz provide me solution.
I am looking for positive response.code is below:
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fstream.h>
#include <iostream.h>
//#include <sha.h> //24112003
//#include<wincrypt.h>
char ntc(unsigned char n){
if (n<26) return 'A'+n;
if (n<52) return 'a'-26+n;
if (n<62) return '0'-52+n;
if (n==62) return '+';
if (n==63)return '/';
unsigned char ctn(char c){
if (c=='/') return 63;
if (c=='+') return 62;
if ((c>='A')&&(c<='Z')) return c-'A';
if ((c>='a')&&(c<='z')) return c-'a'+26;
if ((c>='0')&&(c<='9')) return c-'0'+52;
if (c=='~') return 80;
return 100;
int b64decode(char from,char to,int length){
unsigned char c,d,e,f;
char A,B,C;
int i;
int add;
char *tot=to;
for (i=0;i+3<length;){
add=0;
A=B=C=0;
c=d=e=f=100;
while ((c==100)&&(i<length)) c=ctn(from[i++]);
while ((d==100)&&(i<length)) d=ctn(from[i++]);
while ((e==100)&&(i<length)) e=ctn(from[i++]);
while ((f==100)&&(i<length)) f=ctn(from[i++]);
//if (f==100) return -1; /* Not valid end */
if (c<64) {
A+=c*4;
if (d<64) {
A+=d/16;
B+=d*16;
if (e<64) {
B+=e/4;
C+=e*64;
if (f<64) {
C+=f;
to[2]=C;
add+=1;
to[1]=B;
add+=1;
to[0]=A;
add+=1;
to+=add;
if (f==80) return to-tot; /* end because '=' encountered */
return to-tot;
int b64get_encode_buffer_size(int l,int q){
int ret;
ret = (l/3)*4;
if (l%3!=0) ret +=4;
if (q!=0){
ret += (ret/(q*4));
/* if (ret%(q/4)!=0) ret ++; */ /* Add space for trailing \n */
return ret;
int b64strip_encoded_buffer(char *buf,int length){
int i;
int ret=0;
for (i=0;i<length;i++) if (ctn(buf)!=100) buf[ret++] = buf [i];
return ret;
int b64encode(char from,char to,int length,int quads){
// 3 8bit numbers become four characters
int i =0;
char *tot=to;
int qc=0; // Quadcount
unsigned char c;
unsigned char d;
while(i<length){
c=from[i];
*to++=ntc(c/4);
c=c*64;
i++;
if (i>=length) {
*to++=ntc(c/4);
*to++='~';
*to++='~';
break;
d=from[i];
*to++=ntc(c/4+d/16);
d=d*16;
i++;
if (i>=length) {
*to++=ntc(d/4);
*to++='~';
break;
c=from[i];
*to++=ntc(d/4+c/64);
c=c*4;
i++;
*to++=ntc(c/4);
qc++; /* qz will never be zero, quads = 0 means no linebreaks */
if (qc==quads){
*to++='\n';
qc=0;
/* if ((quads!=0)&&(qc!=0)) to++='\n'; / /* Insert last linebreak */
return to-tot;
char* mEncryptPassword(char* mPassword)
char mEncryptedPassword[200]; // To hold encrypted password.
//char* mEncryptedPassword = new char[200];
char mPrimEncryptedPassword[200];
char * temp = new char[200];
//unsigned char* md; // 19122003
//md = new unsigned char[100]; // 19122003
memset(mEncryptedPassword, '\0', sizeof(mEncryptedPassword));
memset(mPrimEncryptedPassword, '\0', sizeof(mPrimEncryptedPassword));
strcpy(mPrimEncryptedPassword, mPassword);
//strcpy(mPrimEncryptedPassword, (char*) SHA1((unsigned char*) mPassword, strlen(mPassword), NULL));
//strcpy(mEncryptedPassword, (char*) SHA((unsigned char*) mPassword, strlen(mPassword), md)); // 19122003
//strcpy(mEncryptedPassword, (char*) SHA((unsigned char*) mPassword, strlen(mPassword), md)); //19122003
b64encode(mPrimEncryptedPassword, mEncryptedPassword, strlen(mPrimEncryptedPassword), 0);
// If successfully encrypts..
if (mEncryptedPassword != NULL)
//char * temp = new char[strlen(mEncryptedPassword)+1];
strcpy(temp,mEncryptedPassword);
// strcpy(mRetVal,mEncryptedPassword);
return (char*)temp;
//return (mEncryptedPassword);
//return (char*) md; // 19122003
else
return ("Error");
char* mDecryptPassword(char* mPassword)
char mDecryptedPassword[200]; // To hold decrypted password.
char mPrimDecryptedPassword[200];
char * temp = new char[200];
// 02032007
memset(mDecryptedPassword, '\0', sizeof(mDecryptedPassword));
memset(mPrimDecryptedPassword, '\0', 200);
strcpy(mPrimDecryptedPassword, mPassword);
b64decode(mPrimDecryptedPassword, mDecryptedPassword, strlen(mPrimDecryptedPassword));
// If successfully decrypts..
if (mDecryptedPassword != NULL)
//char * temp = new char[strlen(mEncryptedPassword)+1];
strcpy(temp,mDecryptedPassword);
// strcpy(mRetVal,mDecryptedPassword);
return (char*)temp;
//return (mEncryptedPassword);
//return (char*) md; // 19122003
else
return ("Error");
void main(int argc, char* argv[])
cout << mEncryptPassword(argv[1])<<endl<<flush;
cout << mDecryptPassword(mEncryptPassword(argv[1]))<<endl<<flush;
Anubhavendasil wrote:
I just thought of how ridiculous this would sound in any other profession:
Surgeons:
plz plz help I have patient dying need to insert new kidney into 90yr old patient plz someone come do itLawyers:
Help client guilty need good defense (I m new in law)help urgentHow come we get stuck with the lazy low-lifes?Because there's no legal requirement that a software developer must be licensed -
How to pass data from SAP to JAVA ( very urgent )
Hi Experts,
I have worked in ABAP, but now I joined to a new company. Here in my project requirement is as below:
1. Need to transfer data ( account information ) from SCRM to SAP ( Business partner) using JCO.
2. Need to transfer material information from SAP to SCRM through JCO.
for 1st one I got solution in java and JSP , but for 2nd requirement I am unable to get. Can u please help me in this. How to do this and if any code required for this can u send me to me.
Very urgent , please help me.
Thanks in advance,
HP.Hi,
Follow the below link..
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=crm+jco%27s&cat=sdn_all&start=11
Award Points If Useful... -
Invoking a BPEL process from java API (Urgent)
Hi,
I am using this java api to invoke a bpel process.
package mypackage;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.NormalizedMessage;
import com.oracle.bpel.client.dispatch.IDeliveryService;
import com.oracle.bpel.client.ServerException;
public class InvokeBpel1
// Connect to domain “default” using password “bpel”
// null IP address means local server
public static void main(String args[])
Locator locator=null;
String xml =" <soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope\">"
+"<soap:Header/>"
+" <soap:Body xmlns:ns1=\"http://xmlns.oracle.com/BPELMultiplePO\">"
+"<ns1:BPELMultiplePOProcessRequest>"
+" <ns1:input>4686</ns1:input>"
+" </ns1:BPELMultiplePOProcessRequest>"
+" </soap:Body>"
+"</soap:Envelope>";
try
locator = new Locator("default","bpel","10.227.5.34");
IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload", xml );
NormalizedMessage res =
deliveryService.request("BPELMultiplePO(v1.1)", "process", nm);
catch (Exception e)
e.printStackTrace();
But it is showing following errors.----
java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164)
at com.evermind.naming.FilterContext.lookup(FilterContext.java:138)
at com.evermind.naming.SubFilterContext.lookup(SubFilterContext.java:55)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
at com.oracle.bpel.client.Locator.<init>(Locator.java:87)
at mypackage.InvokeBpel1.main(InvokeBpel1.java:26)
at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:83)
at com.oracle.bpel.client.auth.DomainAuthFactory.authenticate(DomainAuthFactory.java:47)
at com.oracle.bpel.client.Locator.<init>(Locator.java:87)
at mypackage.InvokeBpel1.main(InvokeBpel1.java:26)
What should I do remove this problem?Your problem sounds like many RMI problems answered in this forum in the past, especially if the java client is not on the same container as the bpel engine.
Usually solved with setting some environment properties like dedicated.rmicontext=true etc.
Please search the forum history. -
End Of communication Error while executing java procedure (Urgent)
Hi All,
I am using oracle 10g on linux server. Client machine is on xp. I hava a java procedure which executes the sqlldr on server. Earlier it was working fine, but after reinstalling the oracle 10g on server. It started giving "end of Communication channel error". I am not aware that what paramete has to set. Can some body put light on this error.
Bye
SachinThis is the most frequently asked question from Oracle developers.. Never mind putting some light on this error, I want to put it alight! ;-)
First thing. It is not The Error. It is a sympton of an error.
This message does not come from the database. It comes from the client OCI (of JDBC) drivers - which suddenly discovered that the Oracle connection (usually a TCP socket connection) has been torn down at the server side. It attempts to write to that socket, only to find that the other party has hung up.
Why has the other party hung up? That party is either a Dedicated Server Process or a Dispatcher Process. If a dedicated server dies (crashes), it will take its socket handles with it to The Great Recycle Bin In The Sky. If you was serviced by a shared server and it died, the Dispatcher (who handles the TCP comms for it), will automatically close that shared server's connection.
Usually when a process dies on the Oracle server, it leaves behind an error in the alert log, and trace files. That is where you will find the inklings of what The Error was that caused your client to get the EOF on comms channel message. -
Problems with async callback with the BPEL Java API (Urgent- pls help)
Hi,
I have an async BPEL process and I invoke it form a JSP page using BPEL java API.
I have followed the tutorials and docs at:
$SOA_HOME/bpel\samples\tutorials\102.InvokingProcesses\rmi\com\otn\samples\async
I can inititiate successfully the process, but when I try to get the result using getResult() or getField(String fieldName) methods I get the error:
Oct 2, 2007 2:35:16 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:856)
at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:287)
at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:242)
at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:224)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.collaxa.cube.i18n.exception_cube, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
at com.collaxa.cube.CubeException.<clinit>(CubeException.java:82)
... 17 more
07/10/02 14:35:16 java.lang.ClassCastException: java.util.MissingResourceException
07/10/02 14:35:16 at com.oracle.bpel.client.delivery.ext.async.thread.AsyncInstanceWatchdog.run(AsyncInstanceWatchdog.java:152)
I check for the result only after I have checked that the instance is closed (completed or faulted) by using IInstanceHandle:getState() and InstanceHandle.STATE_CLOSED_COMPLETED, or IInstanceHandle.STATE_CLOSED_FAULTED
I would like to add that so far I had no problems with invocation and geting result of sync BPEL processes. I do not what is missing for async processes.
Any kind of help is appreciable.
Thanks and best regards,
EvanelaHi again,
i managed to solve the problem:) Totally stupid.. the process variable name was not specified correctly..., but more stupid sounds the error message:))))
Best Regards,
Evanela -
Running a batch file in Java. Urgent!!
I want to run a batch file present at a particular location in Java.Although I am running two codes suggested by many people, i am still not able to run the batch file. My codes run as below :-
CODE 1
Process P;
Runtime rt = Runtime.getRuntime();
P = rt.exec("C:\\test.bat");
CODE 2
Process P;
Runtime rt = Runtime.getRuntime();
P = rt.exec("C:\\WINNT\\System32\\cmd.exe C:\\test.bat");
I have tried both these codes but without success. But I have observed that in the Task Manager, whenever i run the above codes in a servlet, a "CMD.EXE" is being created in the "Processes" Bar each time but the batch file neither opens up nor it runs.
Please suggest me some method to run this batch file in Java.
Or if u can suggest the reason behind the above observation and any corrections i can make to run the batch file. Thanks in advance.
Ankiti want to get more than one command prompt while running the program
am giving the problem
import java.io.*;
class CmdDemo
CmdDemo(String ls) {
try
Process p;
Runtime rt=Runtime.getRuntime();
p=rt.exec(ls);
catch(IOException ioe)
System.out.println(ioe);
void showcmd(){
new CmdDemo("cmd");
public static void main(String args[])
new CmdDemo("cmd");
new CmdDemo("C:/WINDOWS/System32/cmd.exe");
new CmdDemo("cmd");
new CmdDemo("regedit");
new CmdDemo("regedit");
new CmdDemo("notepad");
new CmdDemo("notepad");
//CmdDemo cd=new CmdDemo("cmd");
//cd.showcmd();
here am getting two notepads ,two registry editors
but only one command window
i would be very greateful if u could help me
plz reply to my id [email protected] too -
Smart Card and Java Card (URGENT)
Dear everyone.
I have purchased a card reader (which is supposed to be java card compatible).
I have 2 problems.
1. I just wonder if i can use a Smart Card generally available. Do i need to have a special card for Java Card??
2. Can i use card kit to interface to the reader/writer? How do i install my applets??
Please reply soon.
Thank you very much.I tried to execute the OCF samples.
this code
OpenCard.services = com.ibm.opencard.factory.MFCCardServiceFactory
did not give any trouble
this code
OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
gave some troubles. May be because iam not using ibm terminal(card).
And also, i think the OCF samples will not work anyhow, because the Reflex reader is not OCF complaint.
So the following may not work
OpenCard.services = com.slb.opencard.Cyberflex
I have most imp. questions to ask you now.
1. What card should i purchase and from whom (along with some software if necessary)?
2. What is the procedure for reading/writing to that card using the Reflex reader.
Please help.
Thanks
Goldy. -
Ive never visited a Java forum other than this one and its been over 2 years now. Out of curiosity I just went to JavaRanch.
Ive seen a lot of heated flaming from both sides (on these forums)
but i figured id take a look today.
The FIRST post i look at someone asks what the purpose of an
interface is and one of the responses he gets is:
"Please revise your display name to meet the JavaRanch Naming Policy. To maintain the friendly atmosphere here at the ranch, we like folks to use real (or at least real-looking) names, with a first and a last name.
You can edit your display name here. Thank you for your prompt attention!"
i wish i could go to 33 pt font: WTF IS THAT?
WEIRD!
Thats just way to creepy for me and im out... as if the brown and the
meesen (brian regan joke) everywhere werent enough.
Anyone know any other good ones?
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=33&t=019908JavaRanch scares me as well. Yea i think the ranch is making an army of cattle.
Ill check out devshed.
http://www.javaranch.com/name.jsp
SO F*CKING SCARY:
"I understand that in some cultures there is no such thing as "first name and last name" - there is just one name. If you are one of these people, I WOULD LIKE TO HUMBLY ASK YOU TO SACRIFICE A PIECE OF YOUR CULTURE to help me build this culture."
apparently the cows love the policy though:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=001017 -
Crystal Reports server XI release 2 java Integration - Urgent
Post Author: premnathk.chn
CA Forum: JAVA
Hi,
I am trying to evaluvate Crystal Reports server XI release 2 and i face problems in integrating it with java. can sombody help me out?
Also when i try to open a report using INFOVIEW i get a cannot open connection error.
thank & regards,
PremWhat problems exactly are you running into? Are you getting errors? Also - the infoview error is most likely that the report can't connect to the database - or that the account that the Page or RAS server is running under can't see the database server. Try running the page server and RAS server under a user account that has domain privileges
a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite -
Hi,
I am creating a java bean in a jsp file. I want to pass this bean to a java class in the same jsp file.
eg:
A1.jsp
<jsp:useBean id="customer" class="com.Customer" scope="session"/>
<jsp:setProperty name="customer" property="*"/>
<% Teller teller=new Teller();
int custid=teller.addCustomer("customer");
%>
Teller.java
public class Teller
public int addCustomer(*C*ustomer pcus)
CustomerDb Cdb=new CustomerDb();
return Cdb.addCustomer(pcus);
CustomerDb.java
public class CustomerDb{
int customerid;
public int addCustomer(*C*ustomer pcus){
try{
some code....
When I try to compile Teller.java and CustomerDb.java it is giving error in the lines highlighted with bold.
Please help in this.Problem Description
You are getting
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-105100.
When you run FileUpload utility
Solution Description
Follow the steps given below to fix and run the FileUpload Bean successfully.
Make sure you have set your System Path similar to following, in the same order:
System PATH:
E:\Dev6i\bin;E:\Dev6i\forms60\java;E:\jdk1.2.2\bin;E:\jdk1.2.2\jre\bin;
E:\jdk1.2.2\jre\bin\classic; %SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;C:\Program Files\Oracle\JInitiator1.1.8.16\bin;.
CLASSPATH :
E:\dev6i\forms60\java;E:\dev6i\forms60\java\UploadServer.jar;
E:\jdk1.2.2\jre\bin\classic;E:\jdk1.2.2\jre\lib;E:\Dev6i\TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
Now, Open Form Builder ->Layout Editor->Program menu->Import Java Classes
Check here to make sure that the FileUpload.class is displayed there under
Oracle/forms/demos/uploadclient folder.
Note that the java bean uses the implementation class
file oracle.forms.demos.uploadclient.FileUploader
So, you need to put the FileUploader.class in
<ORACLE_HOME>\FORMS60\java\oracle\forms\demos\uploadclient\FileUploader.class
or you need to change the oracle.forms.demos.uploadclient.FileUploader
in implementation Class property matching to
the class name where you have actually put it.
You need to set archive_jini=f60all_jinit.jar,uploadclient.jar.sig in formsweb.cfg
Open the fileupload.fmb, remove the attached Library.
Open the fileupload.pll from File->Open.
Recompile all the procedure and packages again.
Save this fileupload.pll.
Then reattach this library as a attached library to this form, recompile the form.
This should solve the problem.
If the path is set as explained above solves the PDEUI0001 problem of
Java Importer also.
Explanation
Reason:
This error occurs when the upload button is pressed in the File upload utility
because the attached PLL library is not compiled properly.
Please let me know if this helps.
Regards
Grant Ronald
Forms Product Management -
Embedding Java Code(URGENT)
Hello,
I'm trying to do the following, I'm trying to embed Java code into my BPEL process, I have read the tutorial that explains how to embed a java code into BPEL(http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Training-Segment10.pdf) but unfortunately the tutorial discusses only how to call the Entity Bean but doesnt mention where in folders(directory) should the bean itself be placed, where are the imports.
I'm going to start with a simple example, a class called Multiplier that has function square, Here is the code for the class:
//Java Multiplier class
public class Multiplier{
public Multiplier(){}
public int square(int x){
return x*x; }
this is code that will be placed in the EXEC(Java code snippet):
//Java Code Snippet goes here...
try{
Object input= getVariableData
("input","payload","/JavaCode");
String parser= input.toString();
int in= Integer.parseInt(parser);
Multiplier obj1= new Multiplier();
int result= obj1.square(in);
addAuditTrailEntry("The square of the input is:"+result);
catch(Exception en){
addAuditTrailEntry(en);
Where should the multiplier class be located(in which folder in the ecplise)or how will the BPEL refer to it ?
Shouldnt I import the Multiplier class in the EXEC(snippet) where should that line go?
Thanks in advance
Hussam GalalAfter going through the Forum I saw I question similar to mine, and I found out there's an example similar to what I am trying to do at C:\orabpel\samples\references\JavaExec
I tried to make an example almost exactly like JavaExec and I edited my build.xml to be similar to build.xml of the example but I keep getting this error:
BUILD FAILED: C:\eclipse-SDK-3.0-win32\eclipse\workspace\Calc\build.xml:28: ORABPEL-00017
Java compilation failed.
Failed to compile file(s) "Calc.bpel".
Exception reported is: Calc.bpel:44: ';' expected.
Multiplier mult= new Multiplier();
^
1 error
Please verify that file Calc.bpel is valid java file or if all required libraries are included in your classpath.
classpath: C:\eclipse-SDK-3.0-win32\eclipse\startup.jar;C:\eclipse-SDK-3.0-win32\eclipse\startup.jar;C:\eclipse-SDK-3.0-win32\eclipse;c:\eclipse-SDK-3.0-win32\eclipse\plugins\bpelz_0.9.10\lib\orabpel-ant.jar;c:\eclipse-SDK-3.0-win32\eclipse\plugins\bpelz_0.9.10\lib\orabpel-boot.jar;c:\eclipse-SDK-3.0-win32\eclipse\plugins\bpelz_0.9.10\lib\orabpel-common.jar;c:\eclipse-SDK-3.0-win32\eclipse\plugins\bpelz_0.9.10\lib\orabpel-thirdparty.jar;c:\eclipse-SDK-3.0-win32\eclipse\plugins\bpelz_0.9.10\lib\orabpel.jar;C:\DOCUME~1\temp_ps\LOCALS~1\Temp\bpelc40446.tmp\BPEL-INF\classes
Here's the java code in the EXEC(snippet):
// Java code snippet goes here ...
com.otn.samples.javaexec.Multiplier
Multiplier mult= new Multiplier();
Object obj1= getVariableData("input","payload","/Calc");
String str= obj1.toString();
int in= Integer.parseInt(str);
int result= mult.square(in);
addAuditTrailEntry("The result is: "+result);
Finally here's the my build.xml:
<?xml version="1.0"?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
Calc BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="Calc" default="all" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default"/>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0"/>
<target name="CompileJava">
<mkdir dir="${basedir}/BPEL-INF/classes"/>
<javac srcdir="${basedir}/src" destdir="${basedir}/BPEL-INF/classes"/>
</target>
<target name="Calc">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc home="${home}" rev="${rev}" deploy="${deploy}"/>
</target>
<target name="all" depends="CompileJava, Calc"/>
</project>
Maybe you are looking for
-
Unable to view in Mobile HTC Touch
Hi Friends, I want to test std application given by SAP in my mobile HTC Touch. The Application are : itsmobile00 and itsmobile0. I am able to get this application in Computer Perfectly.. But i am getting error in my mobile as : "The Remote party has
-
Pleases help
-
Dynamic Scheduling Best Practice -- IS-U-BF-PS E1DY E2DY
I have been tasked with resolving several long standing issues with My Companies Meter Reading Schedules. My question originates out of the desire to implement the eventual corrections I make as close to a best practice standard as possible. Near the
-
This started when I installed the last update for iTunes. I have tried to uninstall and reinstall and I get the same result. Any insight would be greatly appreciated.
-
need alittle help.