XML error "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"
Hi Experts,
We are developing a WebDynpro for java application in NWDI for XML File Uploading, we have followed the below given process for that
1) Created one XSD as per the client table structure.
2) Developed one java webserver for the XSD file using jwsdp1.6
3) Copied that generated folder in WebDynpro application
4) Included all the required JAX-B jars as External jar files
5) Finally Compiles the application
When running the application it is throwing the below exception
500 Internal Server Error Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
at com.ae.energy.scm.wdp.InternalXMLFileUpload.<init>(InternalXMLFileUpload.java:403)
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:274)
We checked entire application to ensure all the required files included, Could you please give us the cause for this exception and please explain us the solution to resolve it.
We are very thankful for all the people who can give their support in resolving this issue.
Thanks in advance,
Sandeep Bonam
Hi Sandeep,
If you are following DC developemnt for your project, then adding the required JAR files as External Jars will not suffice.
As at deployment, these "External Jars" are not considered.
You will need to create and External Library project, for incorporating the required jars.
For creation and use of External Library Project kindly follow Valery's blog:
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Hope it Helps.
Regards,
Alka.
Similar Messages
-
I have created webservice client using jwsdp-2.0 + JDK 1.5
in Netbeans 4.1 IDE it
works perfectly in the netbeans and also works at the command prompt but when i
create a Jar file from the netbeans and run at the command prompt with following
i have included all the jar files from the jwsdp-2.0 pack in the manifest file and have
also specified the main class
java -jar test.jar it gives following error
java.lang.NoClassDefFoundError: javax/xml/rpc/soap/SOAPFaultExceptionYou need the JAX-RPC classes in your class path.
-
I am trying to use jaxb with Weblogic 6.1. I kept both the jaxb jar file in weblogic
classpath in setEnv script. I am getting the following error, when I am trying
to use jaxb
java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement
I tried other options also like coping both jar file in jre/ext dir but then I
got security error.
I will appreciate if someone in this newsgroup comments or suugest some solution.
Thanks
JeewanOn 06 Aug 2002, Jeewan wrote:
>
I am trying to use jaxb with Weblogic 6.1. I kept both the jaxb jar
file in weblogic classpath in setEnv script. I am getting the
following error, when I am trying to use jaxb
java.lang.NoClassDefFoundError: javax/xml/bind/MarshallableRootElement
I tried other options also like coping both jar file in jre/ext dir
but then I got security error.
I will appreciate if someone in this newsgroup comments or suugest
some solution. Put the jaxb jar file in in your webapp's WEB-INF/lib directory and it
should work fine.
Barry -
Hi,
I have created a class JaxmClient.java. When I compile the class with appropriate jar files assigned to -classpath it compiles successfully with no errors. But when I run the classe "java JaxmClient" it produces the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPElement
Can someone help me I am knew to this technology.
Thanks in advanceI tried to use in my execution all the jar files that I used for compilation.
java -cp jaxm-jar; etc.jar Request
but it still gives me this execption
Exception in thread "main" java.lang.NoClassDefFoundError: Request
I am in the right directory where is the Request.class file is and it is present in this directory....
Thanks appreciate your help... -
I am trying to develop a web service client for amazon webservice.but i am getting this error while running the app. Can anyone please help me. I have installed the JWSDP and but could not understand why i have to locate all the jar files in the classpath?Please help.
===== error=========================================
C:\abr\classes>java -classpath c:\abr\test.jar;C:\abr\jaxrpc-api.jar;C:\abr\jaxrpc-impl.jar;C:\abr\jaxrpc-spi.jar;c:\abr\classes\amazon.jar;C:\abr\mail.jar;C:\a
br\saaj-api.jar;C:\abr\activation.jar;c:\abr\FastInfoset.jar;%classpath% Client
[b]Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLS
treamWriter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.
java:672)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)
at amazon.AmazonSearchPort_Stub.authorSearchRequest(AmazonSearchPort_Stu
b.java:988)
at Client.main(Client.java:21)I'm assuming you're using JWSDP 1.6 as I see Fastinfoset.jar in your list. You are missing some jar files in your classpath there. The best way to know what you need is to look at the release notes for JWSDP 1.6. Since you're building a web serivce start with the table in there and lookup JAX-RPC. It'll show you what jar files are needed and what other libraries are needed. Now depending on what you're doing you don't really need all those.
For sure you're missing jsr173_api.jar which is where I believe that class you need is located. This is in the JWSDP_1_6\sjsxp\lib directory. You will probably need the other jar thats in there too. Best bet is to follow the dependancy chart in the release notes.
This should get you going.
Ryan -
Java.lang.NoClassDefFoundError: javax/xml/rpc/Service
Hi,
I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.Gudds.SeCURE.MainUI.<init>(MainUI.java:76)
at com.Gudds.SeCURE.Main.Start(Main.java:62)
at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.
Regrdas,
Kundan1. Build jar file with MAINFEST.MF and Export of Eclipse , which has content:
suppose in folder:
c:\client.jar ( client of web service )
c:\contrib/lib/ axis apis
Main-Class: com.MainClassName
Class-Path: contrib\axis\jaxrpc.jar contrib\axis\activation.jar con
trib\axis\axis.jar contrib\axis\axis.jar contrib\axis\commons-disco
very.jar contrib\axis\wsdl4j.jar contrib\axis\saaj.jar contrib\axi
s\soap.jar contrib\axis\commons-logging.jar contrib\axis\log4j.jar
contrib\axis\mail.jar
2. build jar with ant: make sure the their are at least one blank between
values of Class-Path.
<jar destfile="../Client/client.jar" >
<fileset dir="${build.dir}"/>
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="com.MainClass"/>
<attribute name="Class-Path" value=" contrib\axis\jaxrpc.jar contrib\axis\activation.jar .. "/>
</manifest>
</jar>
3. If you haven't pack you class file in jar, create a bat to set CLASSPATH
exactly to all jars.
Hope this helps -
Error Deployer BEA-149205 java.lang.NoClassDefFoundError: javax/wsdl/
I have installed WebLogic 9.3 MP3 as a requirement for OTM6.0 and installed OTM with choosing WebLogic as App Server.
After install steps, started the OTM services, but getting the following error:
console.log.0 :
INFO | 2009/07/07 21:19:18 | -----------> GC3 realm initialized
INFO | 2009/07/07 21:19:19 | <Jul 7, 2009 9:19:19 PM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm otmrealm.>
INFO | 2009/07/07 21:19:22 | <Jul 7, 2009 9:19:22 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
INFO | 2009/07/07 21:19:22 | <Jul 7, 2009 9:19:22 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
INFO | 2009/07/07 21:19:28 | -- OTM Event: preDeploy
INFO | 2009/07/07 21:19:36 | INFO memory 28.804: parallel nursery GC 901639K->330759K (1638400K), 440.041 ms
INFO | 2009/07/07 21:19:47 | INFO memory 39.819: parallel nursery GC 1014798K->435918K (1638400K), 313.767 ms
INFO | 2009/07/07 21:19:57 | INFO memory 50.482: parallel nursery GC 1109199K->536143K (1638400K), 328.382 ms
INFO | 2009/07/07 21:20:04 | -- OTM Event: postUndeploy
INFO | 2009/07/07 21:20:04 | <Jul 7, 2009 9:20:04 PM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'GC3App' due to error java.lang.NoClassDefFoundError: javax/wsdl/BindingInput.
INFO | 2009/07/07 21:20:04 | java.lang.NoClassDefFoundError: javax/wsdl/BindingInput
INFO | 2009/07/07 21:20:04 | at java.lang.Class.getDeclaredMethods0(Native Method)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetPublicMethods(Class.java:2519)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.getMethods(Class.java:1406)
INFO | 2009/07/07 21:20:04 | at weblogic.ejb.container.ejbc.VersionHelperImpl.computeCRC(VersionHelperImpl.java:357)
INFO | 2009/07/07 21:20:04 | Truncated. see log file for complete stacktrace
INFO | 2009/07/07 21:20:04 | java.lang.NoClassDefFoundError: javax/wsdl/BindingInput
INFO | 2009/07/07 21:20:04 | at java.lang.Class.getDeclaredMethods0(Native Method)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.privateGetPublicMethods(Class.java:2519)
INFO | 2009/07/07 21:20:04 | at java.lang.Class.getMethods(Class.java:1406)
INFO | 2009/07/07 21:20:04 | at weblogic.ejb.container.ejbc.VersionHelperImpl.computeCRC(VersionHelperImpl.java:357)
INFO | 2009/07/07 21:20:04 | Truncated. see log file for complete stacktrace
INFO | 2009/07/07 21:20:04 | >
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 130.35.212.103:10501 for protocols iiop, t3, ldap, http.>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "gc3-vserv1295" for domain "Otmv600" running in Production Mode>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
INFO | 2009/07/07 21:20:07 | <Jul 7, 2009 9:20:07 PM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
I didn't find any relavant info on webiv/metalink for this error!!
Could anyone please help to resolve this issue ?
Thanks,
Vinay.Copy wsdl4j.jar to $GLOH_HOME/gc3webapp/WEB-INF/lib/3rdparty, and then re-start services. Issue was fixed.
Thanks,
Stephen Rengan -
Hi!
Kindly assist on the following error.
I'm doing the sample acmevideo on Cashier Application deploying as a Java Application from JDeveloper3.0 and Oracle8i 8.1.5. And I had this error after executing the following command;
Path=e:\javaWebServer2.0\jre\bin;%Path%
jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierApp
ERROR MESSAGE ARE FOLLOWS:
E:\cashier>jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierAppException in thread "main" java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/DOMParser
at
at oracle.jbo.server.SessionImpl.init(SessionImpl.java:82)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:81)
at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:1776)
at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1370)
at oracle.dacf.dataset.SessionInfo.open(Compiled Code)
at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:952)
at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:934)
at acmevideo.infoswing.ViewRentalsForm.<init>(ViewRentalsForm.java:189)
at acmevideo.swing.CashierApp.<init>(CashierApp.java:45)
at acmevideo.swing.CashierApp.main(CashierApp.java:141)Make sure the classpath for the application includes all necessary dependency archives.
The error in question is referring to the XMLParverv2.jar. This needs to be in the application's classpath when you launch it.
The jar is available from JDEV_HOME\lib.
Laura -
I want to run an jar file so on command prompt i am giving the command
" java -jar jSimpleX_3.0.jar "
I am getting the following error:
"exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXException "
Can any body explain the reason of this exception
Thanks in advance.Hi
I am getting an exception while running code of "
Reading an XML file in Java"
The error is " Exception in thread "main"
java.lang.NoClassDefFoundError:
org/xml/sax/SAXException "
I am using j2sdk1.4.0 and j2sdk1.4.2_13 and both are
containing rt.jar file. But still i am receiving the
same Error Exception.
Can anybody there help me out.
Thanks in Advance. !!!!Please help me out. Its urgent !!!!!!!!!!!!!!!!!!!!!!! -
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
Hi
I have downloaded XDK and was trying to use the XSU feature..
I unzipped the XDK file, I ran the following query on SQL plus
select * from emp. It displayed the full table.
Then i set the class path for XDK,XMLparserv2,oracle JDBC driver and then ran the same query on dos prompt(that is front end command line for java in my case).
The following is the line i tried to execute on the command prompt
java OracleXML getXML -user "scott/tiger" -conn "jdbc:oracle:thin:@localhost
:1521:PomonaT" "select * from emp"
PomonaT is the db name(Host string i use to enter SQL+)
I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
at OracleXML.To_XML(OracleXML.java:1038)
at OracleXML.ExecuteGetXML(OracleXML.java:917)
at OracleXML.main(OracleXML.java:184)
IS SOMETHING MISSING IN MY CLASSPATH??
IF YES? Could anyone tell what??
KunalAdd xmlparserv2.jar to Classpath & reboot.
-
Hello, all.
I get this error message:
java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(Compiled Code) ...
when trying to view an xsql page with the jswdk 1.0.1 web server. (I have no problems when using Web-to-go)
Classpath includes:
C:\jdk1.1.8\lib\classes.zip;
C:\xsql\lib\oraclexsql.jar;
C:\xsql\lib\xmlparserv2.jar;
C:\xsql\lib\xsu111.jar;
C:\xsql\lib\classes111.zip;
C:\xsql\lib;
What could be the problem?
Mateja
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
Only thing I can think of is that maybe your server classpath is getting too long. I recall one of the Java Web Server releases having a classpath length limit that caused strange errors like this because that .jar files you thought were on your classpath were getting their path names truncated so the Java VM cannot find the JAR's.
Try putting xsu111.jar earlier in the list of JAR's and/or try shortening the classpath (perhaps by using SUBST'd drive letters or softlinks on Unix to shorten the path names).<HR></BLOCKQUOTE>
Putting the xsu11.jar file towards the start of the path did not help.
I have rewriten the entire bat file that creates the CLASSPATH and starts the server and things now seem to work. There must have been some error in the original bat file, that I just couldn't see.
Anyway - I thank you for your help.
null -
Hi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
MudithaHi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
Muditha -
Java.lang.NoClassDefFoundError: javax/el/CompositeELResolver error
Hi to everyone.
i'm searching for help.
I'm working with a web project under WebShere and for working and compatibility reason I have to migrate from version 7.0 of WAS to older 6.1 version.
My project under version 7 run perfectly but now I not even can start correctly the WAS.
I receive the error about topic title: java.lang.NoClassDefFoundError: javax/el/CompositeELResolver error
The project was born to work with JSF 1.2 and RichFaces 3.3.2 but I know they are not supported under WAS 6.1 and so I've:
- first tried to imported in project older version of jsf and richfaces (jsf 1.1.02, rich 3.1.6);
- then tried to installed them as shared libraries;
suddenly i've tried to reinstall entire WAS... same result.
can someone help me?
PS: the content of console after start attempt is:
java.lang.NoClassDefFoundError: javax.el.CompositeELResolver
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.<init>(AbstractJSPExtensionProcessor.java:183)
at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionProcessor.<init>(WASJSPExtensionProcessor.java:65)
at com.ibm.ws.jsp.webcontainerext.ws.WASJSPExtensionFactory.createProcessor(WASJSPExtensionFactory.java:188)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionFactory.createExtensionProcessor(AbstractJSPExtensionFactory.java:75)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1186)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:340)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1165)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:587)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:832)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:950)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:342)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: java.lang.ClassNotFoundException: javax.el.CompositeELResolver
at java.net.URLClassLoader.findClass(URLClassLoader.java:496)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:58)
at com.ibm.ws.classloader.ProtectionClassLoader.loadClass(ProtectionClassLoader.java:54)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:429)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
... 26 moreLooks like you need an implementation of the EL language.
-
Hi Gurus,
Trying to pass an OAG XML 9.0 payload to a remote trading Partner, over an AS2 channel -- message is both Signed and Encrypted, Cert has been imported.
I get the B2B-50014: General Error.
B2B is able to identify the Agreement correctly.
LOGS:
[2011-05-12T12:27:03.292+00:00] [soa_ms_1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@243d15ed] [userId: <anonymous>] [ecid: bb3e7e8ee8316823:74cad781:12fc9c42815:-7ff5-0000000000172f4e,0] [APP: soa-infra] Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException[[
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
... 8 more
java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
... 8 more
Kindly advise.
Regards,
Sambhav.Hi Anuj,
Thanks, i disabled the agreement validation, ran the file through. It worked.
Also, tried to validate the XML instance with the XSD, and it threw no errors, so the payload conforms to the XSD, but will validate.
Other thing being, this is an OAG-XML PO, so had the XSD, not the Guideline file.
Regards,
Sambhav. -
Error 500--Internal Server Error: java.lang.NoClassDefFoundError:
Dears
I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
... 58 more
Any body has faced a similar issue. Please let me know your views
Best regards
Mohamed CharguiThe JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
Jdeveloper 11.1.1.6 support is JSF 1.2.
Upgrade to JDeveloper 11.1.2.0.0.
With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
<library-ref>
<library-name>jsf</library-name>
<specification-version>2.0</specification-version>
<implementation-version>1.0.0.0_2-0-2</implementation-version>
*<exact-match>true</exact-match>*
</library-ref>
Edited by: dvohra16 on Feb 28, 2013 6:43 AM
Maybe you are looking for
-
I've tried pretty much everything from Excel to downloaded and online apps. I'm done downloading crap to my brand new computer. My problem is that I need to be able to export the data into a readable format so that I can give it to my dr(s). Is th
-
Odd problems with reading DVD media [concluded]
There is an odd problem I've encountered...(I'm not sure if its a bug with Arch Linux or Linux in general). Firstly, the details: * I've updated the systems (using "extra", "current", and "community" respositories). So its the current one (0.80 "Vood
-
My Time capsule is is backing up my Mac Mini just fine, however, my Macbook keeps asking me for the password and it does not like any of the passwords I use. I have since used a pen to reset my Time Capsule and it reset all the network passwords for
-
How to send a text file over a LAN?
Hi: I am working on a program (web app using a servlet), that produces a text file with Key / Value pairs ex) NAME joe CITY los angeles I want to send the text file over an intranet (LAN) to another pc and store it in the C:\temp directory of the rec
-
Attempt to Burn Disc Error 4280
Everytime I try to burn my music on to a CD or back up my files to a CD I get this error message, please help.