Error when embedding the plugin inside java
I have IE wrapped inside java, and when IE loads a page with java, I get the error message "Attachment to a running Virtual Machine failed." I guess the plugin gets confused by the allready running VM.
Do I need to supply some hooks for the plugin?
My code is a http://nothome.com/IEcanvas/
My organization is also trying to embed IE 6.0 inside of a Java application using the IECanvas code, http://www.nothome.com/IECanvas/. That code was derived from work done at The Code Project, http://www.codeproject.com/java/javacom.asp.
We are attempting to use the Java 1.4 release candidate with this code. Everything seems to work well, until IE attempts to load a Web page that has an imbedded Java applet that requires the Java Plugin. We have insured that IE is calling the exact same version of Java, version 1.4, when loading the plugin. Unfortunately, when the Java plugin starts loading, the error "Attachment to a running Virtual Machine failed" is presented in a dialog box titled "Java(TM) Plug-in 1.4 Fatal Error".
After this IE asks if the user wishes to install the Java 1.4 plugin. Essentially, no Java 2 applets will work in IE once it is embedded in our Java application.
I have done some research, and discovered that it should be possible to run more than one instance of the Java Virtual Machine in the same process space. I would like it if someone knows how to force the Java plugin to start a new Virtual Machine instance instead of trying to connect the the already running instance in the encompassing Java application.
Thanks!
Warren
Similar Messages
-
Error when running the Web Services java client file
Hi,
I am working on web services with 9iAS.
I am using the StatelessExample file included during installation.
The ear file was created and the application was deployed using OEM Web.
But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
The error message is pasted below.
And also how do I run the web service on the browser.
Please help.
regards
Kamlesh
D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
pported response content type "text/html", must be: "text/xml&quo
t;. Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE><
/HEAD><BODY><H1>500 Internal Server Error</H1><PRE>or
acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
<br>1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
<br>error: error message 'class.format' not found<br>binar
y class definition not found: oracle.j2ee.ws_example.StatelessExample
<br>
<br> at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
ator.java:267)
<br> at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
ce.java:662)
<br> at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
<br> at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
7)
<br> at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
<br> at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
:283)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
69)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
<br> at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
.ThreadPoolThread.run(ThreadPoolThread.java:64)
<br></PRE></BODY></HTML>
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
at org.apache.soap.rpc.Call.invoke(Call.java:260)
at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
atelessExampleProxy.java:51)
at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
ssExampleProxy.java:35)
at StatelessClient.main(StatelessClient.java:8)If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.
-
ORA-03113 error when running the Java stored proc demos
Hi there,
Has anyone else run into this issue. When attempting to transfer an object type from Java to Oracle - through a Java stored proc - the session crashes with:
ORA-03113: end-of-file on communication channelLooking in the trace file generated the error message looks something like:
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [0x8fe04468] [SIGTRAP] [unknown code] [0x8FE59034] [] []
Current SQL statement for this session:
select pointruntime.jdistance(point(1, 2), point(2, 3)) from dual
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+764 call ksedst 0 ? 2C4F4A ? 2C ? 98968000 ?
DB02C ? 27A50000 ?
ssexhd+956 call ksedmp 3 ? 0 ? 8FE5E790 ? 5905870 ?
8FE0434C ? 40895E4 ?
0x9012c860 call ssexhd 5 ? BFFEEF70 ? BFFEEFB0 ? 0 ?
0 ? 0 ?As you can see from the trace snippet above, I was attempting to run one of the Oracle Java stored procedure demos. Has anyone successfully run those demos? Specifically the ones where complex types (table objects or the Point object) are passed back to Oracle from the JVM.
I would appreciate some help with this. The code works fine in a Windows or Solaris environment but barfs on Apple. Truly annoying....
Anyone?
Thanks in advance,
AlexYes,
Apologies for not stating that information, Steve. Was a bit naughty of me! I guess the reason I didn't was because I just wanted to hear if anyone else running Oracle on Mac received such errors when executing the Java stored proc demos (specifically, the execution of PointRuntime.jDistance). Nevertheless, here's the relevant info from the trace file:
Dump file /Users/oracle/admin/sandbox/udump/sandbox_ora_1861.trc
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
ORACLE_HOME = /Users/oracle/product/10.1.0/db
System name: Darwin
Node name: maczilla.local
Release: 8.3.0
Version: Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC
Machine: Power Macintosh
Instance name: sandbox
Redo thread mounted by this instance: 1
Oracle process number: 10
Unix process pid: 1861, image: [email protected] for the Java version, according to the readme file in the javavm directory, I am running 1.4.1:
1.5 Java Compatibility
This release has been thoroughly tested with Sun's Java Compatibility
Kit for the JDK 1.4.1. Oracle is committed to OracleJVM keeping pace
with Java and other Internet standards. -
Getting the below error when running the Baseline.grf for the first time
I am getting the below error when running the Baseline.grf for the first time.
Appreciate your support in resolving it.
Error below:
INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 901120 KB
INFO [main] - Loading default properties from: defaultProperties
INFO [main] - Graph definition file: graph/Baseline.grf
INFO [main] - Graph revision: 1.114 Modified by: mkressirer Modified: Thu Apr 12 13:27:18 EDT 2012
INFO [main] - Checking graph configuration...
INFO [main] - Graph configuration is valid.
INFO [main] - Graph initialization (Baseline)
INFO [main] - [Clover] Initializing phase: 0
INFO [main] - [Clover] phase: 0 initialized successfully.
INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
INFO [WatchDog] - Starting up all nodes in phase [0]
INFO [WatchDog] - Successfully started all nodes in phase!
INFO [RUN_GRAPH1_0] - Running graph ./graph/InitDataStore.grf in the same instance.
INFO [RUN_GRAPH1_0] - Checking graph configuration...
INFO [RUN_GRAPH1_0] - Graph configuration is valid.
INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
WARN [RUN_GRAPH1_0] - WS messenger cleanup failed.
java.lang.NullPointerException
at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
at org.jetel.graph.Phase.free(Phase.java:487)
at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
at org.jetel.component.RunGraph.execute(RunGraph.java:302)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)
WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/InitDataStore.grf" finished with error).
WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/InitDataStore.grf' failed!
ERROR [WatchDog] - Node RUN_GRAPH1 error details:
org.jetel.exception.JetelException: Graph './graph/InitDataStore.grf' failed!
at org.jetel.component.RunGraph.execute(RunGraph.java:324)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 2
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 ERROR 2 20132
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
WARN [exNode_0_1306871483270_RUN_GRAPH1] - Attempt to unregister non-registered thread in the ContextProvider.
./graph/InitDataStore.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
INFO [WatchDog] - WatchDog thread finished - total execution time: 2 (sec)
INFO [main] - Freeing graph resources.
ERROR [main] - Execution of graph failed !It can't find an Endeca specific class when running via the clover command line utility. Thus, the classpath being set in that shell script is not incorporating the .jar files where the endeca-specific classes are packaged. I would start by adding an line to see what your classpath is set to. There are actually already some lines of shell script in clover that you can uncomment to see what .jars are getting loaded:
#echo $CLOVER_LIB/*
for i in $CLOVER_LIB/*.jar $CLOVER_LIB/*.zip; do
LOCAL_CLASSPATH="$LOCAL_CLASSPATH:$i"
done;
#for i in `ls $CLOVER_LIB/*.jar`; do
#echo $i
#done;
You could also echo LOCAL_CLASSPATH to see what is getting set there. At the end of the day, you will need the endeca-specific jars to load which can be found here: /Endeca/Discovery/2.3.0/Integrator/plugins/com.endeca.latitude_1.0.0/*
HTH,
Dan
http://branchbird.com -
An Error has occured:The plugin 65534 does not exist in the CMS (FWM 02017)
Hi,
I get the error when I click on Parameter option while rescheduling Crystal Reports from Infoview. I can schedule the reports successfully, the error is only while rescheduling.
The error is as follows:
An error has occurred: The plugin -65534 does not exist in the CMS (FWM02017)
Environment - BOXI 3.1 with Windows AD
Application server - Tomcat
Would appreciate any help.
Regards,
AnisaHello Anisa,
Are you able to solve the issue...
We are also getting same issue. if you are able to resolve the issue. please let us know the setps you followed it will be of great help.
Thank You,
Regards,
Satheesh Reddy. R. -
Security Error when starting the server - WPLS 7.0
Security Error when starting the server - WPLS 7.0
what may be the reason ...
console :
BUILD SUCCESSFUL
Total time: 3 seconds
Starting WebLogic Server...
<May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
<May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
c.portalServer.log>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
.jks does not exist.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
<May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
<May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
tion:java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
<May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
itialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
C:\cpDomain\bin>
Thanks
Thanks & Regards,
Siva VP,
[email protected]Looks like you cannot connect to LDAP. Are you configured correctly?
-
Error when creating the form in Salary Statement of ESS
Dear All,
We are implementing ESS and MSS,
when i try to select ESS>Benfits and Payment>Salary statement, it shows the error as <b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form</b>.
We have configured ADS in our ERP system as per the ADS config guide.
Landscape is, NW04s ,ECC5.0 integration, corresponding ESS and MSS versions.
<u><i>Complete Error is:</i></u><b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:495)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcGetForm(FcRepFramework.java:366)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.processFollowingActions(FcRepFramework.java:454)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:350)
at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:264)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:243)
at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:196)
at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:256)
at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:217)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:238)
at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:466)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:179)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)</b>
your input will be appreciated,
please do the needful.
Regards,
Sireesha.hi Sandip
I clear the temporary files, but the error persist.
I think so, my error is because otherwise customizing the salary statement is seen in ERP (Back-End) but I can not see through the sap portal (Error: Salary Statement http://img153.imageshack.us/img153/3007/payroll2.jpg)
thanks for your post and helps,
Ivan -
JVM Initialization Error when Starting the Second Managed Server
Hi,
I am getting the below error when starting the 2nd Managed server on Solaris X86 machine.
starting weblogic with Java version:
java version "1.5.0_17"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)
Starting WLS with line:
/usr/jdk/instances/jdk1.5.0/bin/java -client -Xms256m -Xmx512m -XX:CompileThre shold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform .home=/beafiler/weblogic10g/bea/wlserver_10.0 -Dwls.home=/beafiler/weblogic10g/b ea/wlserver_10.0/server -Dweblogic.home=/beafiler/weblogic10g/bea/wlserver_10.0/ server -Dwli.home= -Dweblogic.management.discover=false -Dweblogic.management.s erver=http://test_admin:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false - Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/beafiler/weblogic10g/bea/patch_wss 110/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patch_w lw1021/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patc h_wls1002/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/p atch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.provi ders.authentication.LDAPDelegatePoolSize=50 -Dweblogic.Name=wls_test2 -Djava.sec urity.policy=/beafiler/weblogic10g/bea/wlserver_10.0/server/lib/weblogic.policy weblogic.Server
Error occurred during initialization of VM
Could not reserve enough space for object heap
Can any one please help me troubleshoot this?
Edited by: user4877326 on Jul 13, 2010 1:33 PMHi P.k,
The table QRTZ92_TRIGGERS is there in the database.But while trying to run this command (UPDATE QRTZ92_TRIGGERS set NEXT_FIRE_TIME=1 where NEXT_FIRE_TIME < 0)in database i am getting the table or view does not exist.
What is GTC resource?
OIM version - 11.1.1.5.0.
-Deena. -
Dear all,
Do we have any extra things to execute the Java mapping using the Sax Parser?
When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
Kindly let me know your personnel maildId so that I can mail you the screen shots.
Thanks,
SrinivasaDear sunil,
Find the File.
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.sap.aii.mapping.api.StreamTransformation;
class Echo {
public static OutputStream out;
public class myEcho extends DefaultHandler implements StreamTransformation {
private Map map;
public void setParameter(Map param) {
map = param;
public void execute(InputStream in, OutputStream out) {
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
try {
SAXParser saxParser = factory.newSAXParser();
Echo.out = out;
saxParser.parse(in, handler);
} catch (Throwable t) {
t.printStackTrace();
public void startDocument() throws SAXException {
try {
Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
} catch (IOException e) {
e.notify();
public void endDocument() throws SAXException {
try {
Echo.out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startElement(String namespaceURI, String sName, // simple name
String qName, // qualified name
Attributes attrs) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("<" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void endElement(String namespaceURI, String sName, // simple name
String qName // qualified name
) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("</" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void characters(char buf[], int offset, int len)
throws SAXException {
String s = new String(buf, offset, len);
try {
Echo.out.write(s.getBytes());
} catch (Exception e) {
e.printStackTrace(); -
Errors when compiling the web service (SAP Web Service Design Tool)
After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
There are errors when compiling the web service.
Is does not say whatu2019s wrong or how I can solve this problem.
Who can help me?
Some notes:
1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
Thanks for any help,
Ron
ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
Edited by: RonKoudijs on Aug 26, 2010 6:28 PMHello Taylan,
I think the error that you received was due to packaging issues.I placed the
UtilClass.java file under a directory called data which was present under
the project directory.
When you want to access a java class, you can either place the compiled
class file in the WEB-INF/classes folder or you can place the java file
under the project directory.
I have attached the sample project that I created with your files.
Let me know if you have any other questions.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"taylan" <[email protected]> wrote in message
news:3d6351b0$[email protected]..
>
I am trying to write a simpe web service in WebLogic Workshop, but havingan error
which I could not understand. Could you please help me? Thanks in advance.
Regards,
Taylan
My web service code is like belows:
import weblogic.jws.control.JwsContext;
import data.*;
public class WebService1
/** @jws:context */
JwsContext context;
* @jws:operation
public UtilClass testType(UtilClass tTest){
UtilClass returnObj=new UtilClass();
if(tTest.getName()!= null){
returnObj.setName(tTest.getName());
return returnObj;
and my UtilClass is placed in the data directory under the same directorywith
my web service code. It is a simpe class as belows:
package data;
public class UtilClass
private String name;
public void setName(String name){
this.name=name;
public String getName(){
return name;
However I got an error when I try to compile the webservice class. Theerror is
like belows:
File Line Message
WebService1.jws 0 Resource found on system classpath: data.UtilClass
Build complete - 1 error(s), 0 warning(s)
[ngroup.zip] -
Error when running the ant task
Hi,
I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
[java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
[java] at java.lang.Win32Process.create(Native Method)
[java] at java.lang.Win32Process.<init>(Win32Process.java:66)
[java] at java.lang.Runtime.execInternal(Native Method)
[java] at java.lang.Runtime.exec(Runtime.java:566)
[java] at java.lang.Runtime.exec(Runtime.java:491)
[java] at java.lang.Runtime.exec(Runtime.java:457)
[java] at weblogic.utils.Executable.exec(Executable.java:227)
[java] at weblogic.utils.Executable.exec(Executable.java:156)
[java] at weblogic.utils.Executable.exec(Executable.java:142)
[java] at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
[java] at weblogic.ejbc20.runBody(ejbc20.java:517)
[java] at weblogic.utils.compiler.THi,
I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
[java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
[java] at java.lang.Win32Process.create(Native Method)
[java] at java.lang.Win32Process.<init>(Win32Process.java:66)
[java] at java.lang.Runtime.execInternal(Native Method)
[java] at java.lang.Runtime.exec(Runtime.java:566)
[java] at java.lang.Runtime.exec(Runtime.java:491)
[java] at java.lang.Runtime.exec(Runtime.java:457)
[java] at weblogic.utils.Executable.exec(Executable.java:227)
[java] at weblogic.utils.Executable.exec(Executable.java:156)
[java] at weblogic.utils.Executable.exec(Executable.java:142)
[java] at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
[java] at weblogic.ejbc20.runBody(ejbc20.java:517)
[java] at weblogic.utils.compiler.T -
Payslip - Error when creating the form
Hi,
I have an error with the Paylsip iview in ESS WebDP version backed by ECC5. I get 'Critical Error' in the iview and the following stack trace in the defaultTrace.trc.
Not really sure even where to start looking. Any help greatly appreciated.
#1.5#00156056B38B006F0000001F0000265800041F985F051B79#1160639196531#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#sap.com/tcwddispwda#com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent#522046#102##sapt156z.bdn.neas_NPT_8144550#522046#2502ee2159c511dbc22e00156056b38b#ID\#(J2EE8144500)ID1747837850DB00989374704737658807End.WID1160638913529##0#0#Fatal#1#/Applications/Xss#Java###Error when creating the form
[EXCEPTION]
#1#com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
TIA
JFixed it. We were missing the Variant backing the payslip which hadn't been transported.
-
Helllo,
While Infopackage loading for DS 2LIS_04_P_COMP following error is coming.. please see if anyone may face such kind of error.
***Error when generating the update program::::ID RSAU No. 484***
Diagnosis
An error occurred during program generation for InfoSource
2LIS_04_P_COMP and InfoProvider ZISPP_C01 . This may be extrapolated to
incorrect update rules.
Procedure
Check and correct your update rules and then generate the update program
again. You can find help on the error in the error log.
amit shetyehi,
Do a check on the update rules and see if it returns no errors...
if that is the case, then check the short dump and try to get the program name for the update rules..In se38 putting the program name, you can go inside it and do a check there as well if there are any errors....
If in the end yo still dont find anything, try to delete and re-create the update rules..
But i think you will get quite useful info from the dumps if there are any..
hope this helps you..
regrds,
Jadeep -
Getting Error when deploying the WD application
hi all,
Anybody have idea about , what is the reason for the following error. Till now it is working properly. suddenly it is giving the following error when deploying the application.
2.4.2007 13:17:36 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[004]Deployment aborted
Settings
SDM host : eimkopdvs4
SDM port : 50118
URL to deploy : file:/C:/WINDOWS/TEMP/temp2898TestWebDynproProj.ear
Result
=> deployment aborted : file:/C:/WINDOWS/TEMP/temp2898TestWebDynproProj.ear
Aborted: development component 'TestWebDynproProj'/'local'/'LOKAL'/'0.2007.04.02.13.17.28'/'0':
Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [EIMKOPDVS4] with user name: [Administrator] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.handleConnectionPropblem(InitialContextFactoryImpl.java:494)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:363)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.sap.engine.deploy.manager.DeployManagerImpl.checkCredentials(DeployManagerImpl.java:2983)
at com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthMethodInvoker.invokeCheckCredentialsInternal(DeployManagerAuthMethodInvoker.java:51)
at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:45)
at com.sap.sdm.serverext.servertype.inqmy.extern.ExternalMethodInvoker.invokeCheckCredentials(ExternalMethodInvoker.java:32)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineOnlineDeployerImpl.checkLoginCredentials(EngineOnlineDeployerImpl.java:173)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:167)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:120)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:89)
at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)
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:324)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)
at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)
at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
... 37 more
Caused by: java.io.EOFException: End of stream is reached unexpectedly during input from Socket[addr=/10.4.71.36,port=50104,localport=3057]
at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:420)
... 1 more
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
Deployment exception : The deployment of at least one item abortedHi,
Check if the server is running. If so, try restarting it and then retry. -
Error when updating the data from DSO to cube
Hi,
I am getting the error when uploading the data from the ods to cube.
The following is the error message.
Unable to determine period for date 20090101, fiscal year variant Z2: Error #
How can i solve this issue.
Regards
AnnieHi ,
fiscal year variant, go into Customizing for Financial Accounting (FI) under Financial Accounting Global Settings >>>Fiscal Year >>>Maintain Fiscal Year Variant.
check this link ..
http://help.sap.com/saphelp_scm41/helpdata/en/50/0d89f2ad919c40b95b9ae7583c8c96/frameset.htm
http://help.sap.com/saphelp_scm41/helpdata/en/50/0d89f2ad919c40b95b9ae7583c8c96/content.htm
Regards,
shikha
Maybe you are looking for
-
Delcare Cursor using Dynamic SQL using PL/SQL in Oracle 7.3.4
In Oracle 7.3.4, can I declare a cursor at run time using Dynamic SQL. From the sample code in this website, it seems that Oracle 8 support this function. Please help. Thanks a lot. If I can do this on Oracle 7.3.4, could you give me some sample code
-
MY APPLICATIONS HAVE QUESTION MARKS ON THEM
can some one help me please i really am confused is there any way to get them back to normal
-
SO8 - Disable "auto-recovery"?
Is it only a per-user setting, or can it be done globally? Considering disabling it on a system due to frequent crashes when SO8 is in a SSGD full desktop session. Doesn't work right anyways, when trying to recover the document, it just crashes again
-
Familar with other Adobe products but new to Encore...
Hello everyone, I'm completely new to Adobe Encore but have worked with many other Adobe products such as Flash, Photoshop, Illustrator, After Effects, and I am currently learning Dreamweaver. I recently picked up the Adobe Production bundle and am p
-
Financial Reporting in Answers
Hi all, It was said (see OBI EE 10gR3 New Features White Paper) that we could create requests in Answers formated in a style similar to the Financial Reports format. Unfortunately, i haven't discovered such functionalities in Answers... Can you shed