Axis 2 in OC4J

Hi,
I'm having problems running axis2 in OC4J. I was using axis2 in Tomcat server and I had no problems.
I used to develop the web services and then deploy them in the axis2 (running in Tomcat). That worked alright. So now I want to run the same web services in OC4J.
To do so, I have deployed axis2 application (with the web services, .aar files, inside) in OC4J. I'm able to see the wsdl files but when I try to run one of the services, I get the following expetion:
Exception TOPLINK-28018 (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: predeploy for PersistenceUnit persistenceUnitName failed.
Internal Exception: Exception TOPLINK-7155 (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
Exception Description: The type http://class java.lang.Object for the attribute item on the entity class http://class org.oasis_fp6.schemas.tso._1_0.EVENT$NODEIDAndOTHEREVENTIDItem is not a valid type for a serialized mapping. The attribute type must implement the Serializable interface.
My web services use hibernate to access the database. When deploying axis2 in OC4J, I have unselected the option "Inherit parent application's shared library imports", so it doesn't use Toplink, but it didn't work. I also tired creating a new shared library with the hibernate jars and selecting this library in the class loading option. But again, no results.
I have tried including the hibernate jars inside the axis2.war, no results either.
I have also tried deploying empty axis2.war and then deploying the web service using axis2 administration console, but the same Toplink exception is thrown.
I have searched for documentation but haven't found anything. Anyone know how to make this work?
I remember running this same web services in axis2 in OC4J, I don't now why I'm getting this error.....
Thanks in advance,
Zaloa

Does anybody know how to solve the problem? I'm stuck with this!
Any help would be appreciated.
Thanks in advance,
Zaloa

Similar Messages

  • How integrating AXIS in oracle AS9i

    i installed AXIS under Oracle AS9i and it works except for WSDL creation.
    it inserts an attribute that i suppose it's not necessary.
    the attribute is xmlns:="" inside the tag wsdl:definitions.

    Using AXIS with OC4J 903
    Apache AXIS can be installed on OC4J.
    Installation steps:
    1. add the following in the application.xml:
    <web-module id="axis" path="../../home/applications/axis" />
    2. Add the following in the http-web-site.xml:
    <web-app application="default" name="axis" root="/axis" />
    3.
    Set AXIS=C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib;
    Set CLASSPATH=%AXIS%\axis.jar; %AXIS%\axis-nt.jar; C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\jaxrpc.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\ commons-discovery.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\commons-logging.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\log4j-1.2.4.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\saaj.jar;C:\OC4J904\j2ee\home\applications\axis\WEB-INF\lib\wsdl4j.jar
    java org.apache.axis.client.AdminClient -lhttp://hostname:8888/services/AdminService deploy.wsdd

  • 'Apache SOAP 3.0 (Axis)'

    How do i configure the proxy generator to use 'Apache SOAP 3.0 (Axis)'?

    The interop with OC4J904 adds a pretty major feature with its untyped support. If you look through the list here you will see almost 80-90% of the questions to do with interop have to do with untyped. So I am hoping that this change will solve the most prominent use cases. There is one unsupported case in the preview that has now been fixed for production and that is support for arrays with untyped elements (e.g. the SOAP messages has the array definition through SOAP encoding but the contents of the array are untyped).
    Going forward to the JavaOne timeframe we expect to be previewing our JAXRPC implementation on OC4J that will have our first step towards WS-I compliance - as both sides MS and the Java camp both are working heavily in the WS-I organization and expect to have WS-I compliant engines, I believe/hope this will be the next big step towards interop between platforms.
    So as for your question on Apache AXIS ... if you are planning to stay with the integrated Oracle stack that is evolving pretty tightly with the standards, the answer would be no - stick with Oracle's stack. Especially since development right now is heavily focussed around JAX-RPC support.
    However, there are things that AXIS has today that we do not have so there may be tactical reasons to go to it today. For deployment of AXIS on OC4J you shouldn't have to use Tomcat at all ... in the 1.0 and the 1.1 RC there is essentially a WEB-INF directory with all the required files in it - the lazy way to test it out without thinking at all is to create an empty J2EE application called "XXX" where XXX is some meaningful name, deploy XXX to OC4J and then drop in a new WEB-INF directory from AXIS in there and away you go.
    Mike.

  • Invalid Provider URL deploying axis webservice application on OC4J 10.1.3

    Hi,
    I have an enterprise webservice application using axis running fine with OC4J 9.0.4. I tried to deploy it in OC4J 10.1.3 and it gives ConfigurationException inside axis. I tried both axis 1.3 and 1.4 and still has the same issue. Axis is catching the exception and throwing it out as a runtime exception: Invalid Provider URL. I tried to google it, but didn't found much help. Did anyone had similar problem like this.
    Thanks in Advance,
    Chandu

    Chandu,
    Perhaps you could post the entire error message and stack trace you are getting, as well as the part of your code that is causing the error? Are you using JDK 1.4 or JDK 1.5?
    Good Luck,
    Avi.

  • Axis, JDeveloper and OC4J

    Does any one know if it is possible to create a web service with AXIS and secure it using the OC4J web service security implementation of ws-security? JDeveloper will be the development environment.

    Hi,
    Yes, WebLogic is going to replace OC4J.
    No, JDeveloper won't get deprecated.
    This was officially announced and documented by Oracle not so long ago, see:
    http://www.oracle.com/products/middleware/docs/oracle-middleware-strategy-briefing-072008.pdf
    http://www.oracle.com/products/middleware/bea.html
    http://blogs.oracle.com/devtools/2008/08/announcing_oracle_weblogic_ser.html
    Regards,
    ~ Simon

  • OC4j-Apache Axis

    Hi,
    I have Axis integrated with Oc4j. But in my application I have custom complex datatypes & not direct JavaBeans only. For implementing Jax-rpc I believe the only solution out there is to write a custom serializer/deserializer with Axis. I am running in to issues with the same.
    Axis example wasent sufficient to explain how to implement it.
    Request :- If sombody has has any examples or prior knowledge could you share with me, also if someone could point out if there is a discussion forum for Apache Axis, strange as it might sound I havent found any!!
    Gaurav

    Hello,
    Your question is directly related to Axis stack. As you did, you can deploy and execute Axis Web services on OC4J. Some Axis use are probably monitorin this forum but you will have more chance to get an answer by using Apache Axis mailing lists and forum since your question is not related to OC4J or Oracle Web Services.
    regards
    Tugdual Grall

  • Deploying an Axis Web Service on OC4J

    Hello for everyone.
    By using Eclipse IDE (Indigo) I developed a WebService with the following settings:
    - Server Runtime: Apache Tomcat 6.0
    - WebService Runtime: Apache Axis
    The WebService works fine. My question is, how to make the same webservice works fine when deployed on OC4J. I generated the war file of the webservice, I have deployed this war file on OC4J (10.1.3.4.1), but, despite there were no errors when deploying, I couldn't the webservice works on OC4J.
    Thanks for your help.

    On checking the build log I see these warnings. For the third warning I have put selected the Run time as well, but I dont know why thats a warning. How do I resolve these "incompatible type" warnings?
    WARNING: Runtime dependency to "test/mdmejb" ("bms.com") will be ignored because of an incompatible type.
           [cdu] WARNING: Deploy-time dependency to "test/mdmejb" ("bms.com") will be ignored because of an incompatible type.
    WARNING: Missing deploy-time dependency for hard runtime reference to "test/mdmejb" (vendor "bms.com").

  • OC4J as Axis Client

    If I call (from JSP) an axis Web Service deployed in Tomcat from OC4J it does not work.
    I have all axis jars in my classpath but logging errors appear.
    These errors do not appear if I execute my client JSP in Tomcat.
    Does anybody know how to fix this problem ?
    java.lang.ExceptionInInitializerError     at org.apache.axis.client.Service.getAxisClient(Service.java:103)     at org.apache.axis.client.Service.<init>(Service.java:112)     at mypackage2.Stub.<init..
    18 moreCaused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:420)     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:502)     ... 22 moreCaused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category     at java.lang.Class.getDeclaredConstructors0(Native Method)     at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)     at java.lang.Class.getConstructor0(Class.java:1922)     at java.lang.Class.getConstructor(Class.java:1019)     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:417)     ... 23 more

    Hello Eric,
    I have these jars under Web-inf/lib
    14/11/2005 16:48 33.501 axis-ant.jar
    14/11/2005 16:48 1.599.495 axis.jar
    14/11/2005 16:48 71.442 commons-discovery-0.2.jar
    14/11/2005 16:48 38.015 commons-logging-1.0.4.jar
    14/11/2005 16:48 32.071 jaxrpc.jar
    14/11/2005 16:48 352.668 log4j-1.2.8.jar
    14/11/2005 16:48 19.427 saaj.jar
    14/11/2005 16:48 126.771 wsdl4j-1.5.1.jar
    8 archivos 2.273.390 bytes
    But the run time error remains as follows :
    500 Internal Server Error
    java.lang.ExceptionInInitializerError     at org.apache.axis.client.Service.getAxisClient(Service.java:103)     at org.apache.axis.client.Service.<init>(Service.java:112)     at mypackage2.Stub.<init>(Stub.java:18)     at calculadora2e_jsp._jspService(_calculadora_2e_jsp.java:57)     [SRC:/calculadora.jsp:13]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:343)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:543)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:441)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:61)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:672)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:378)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:869)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.HttpRequestHandler.run(HttpRequestHandler.java:288)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].server.http.HttpRequestHandler.run(HttpRequestHandler.java:120)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 3].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:294)     at java.lang.Thread.run(Thread.java:534)Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:509)     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:285)     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:400)     at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37)     at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)     ... 18 moreCaused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:420)     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:502)     ... 22 moreCaused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category     at java.lang.Class.getDeclaredConstructors0(Native Method)     at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)     at java.lang.Class.getConstructor0(Class.java:1922)     at java.lang.Class.getConstructor(Class.java:1019)     at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:417)     ... 23 more

  • OC4J 9.0.4, JAX-RPC, AXIS Client Stub

    Hi All,
    I have hit a problem and am wondering if anybody has any pointers :
    * I have a Webservice running on OC4J 10.1.2 Standalone.
    * I have generated Java client stubs by pointing to this webservice using the wsdl2java tool from Apache Axis and can use these generated classes without any problems outside any web containers.
    * I have created a jsp that calls these classes and can run this within the embedded server of Jdeveloper 9.0.5.2
    However...
    When I deploy the ear file containing this jsp into a 9.0.4 OC4J standalone / or full install and run the same jsp I am getting the following exception :
    500 Internal Server Error
    java.lang.ClassFormatError: com/abc/mypackage/MyApplicationBindingStub (Illegal Field name "array$[B")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1154)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at com.abc.mypackage.MyApplication_ServiceLocator.getMyApplicationPort(MyApplication_ServiceLocator.java:55)
         at com.abc.mypackage.MyApplication_ServiceLocator.getMyApplicationPort(MyApplication_ServiceLocator.java:50)
         at _Headers._jspService(_Headers.java:81)
         [SRC:/Headers.jsp:40]
         at com.orionserver[com Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at com.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at com.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at com.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[com Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:536)
    Can anybody let me know what I need to do. Is there anyway that I can get this Apache client code (which uses jax-rpc) working within OC4J 9.0.4. I know the limitations of 9.0.4 and Jax-rpc - but I am wondering if anybody has a nice note to work around it.
    Any help or comments would be greatly appreciated.

    Richard, the error message you see below indicates that the JVM can not recognize your class file.
    java.lang.ClassFormatError: com/abc/mypackage/MyApplicationBindingStub (Illegal Field name "array$[B")
    Are you using different java version to run wsdljava and OC4J? Can you try using the same version of java for both of them?

  • OC4J and Axis: Error accesing WSDL

    Hey guys,
    I need some help deploying few webservices. I'm getting the following error:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - ; nested exception is:
         oracle.xml.parser.v2.XMLDOMException: invalid namespace null for prefix null
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: oracle.xml.parser.v2.XMLDOMException: invalid namespace null for prefix null
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:xxxx
    Version are OC4J 10.1.2.0.0 and Axis 1.2.1
    Any suggest?
    Thanks in advance...
    -DdC

    Thanks Steve for response. But I don't see anything that could help me out in that blog.
    I think it's a bug or something similar.becasue te application y deployed without problems and I can see the index page that Axis generates. If I put my ear file into another container like tomcat or resin, the applications runs without any problem.
    regards

  • Web services - JAX-RPC/Axis/OC4J

    Hi,
    We are planning to expose some of J2EE applications as web service. It is based on JAX-RPC 1.0. I have checked it with Apache-Axis without changing any code and it worked. Will it work in OC4J without any code changes?
    1. Does OC4J or Oracle SOAP server supports(or implements) JAX-RPC?
    2. Do we need to change any code?
    rgds
    Bala Murali

    Right now we have a JAX-RPC 1.1 with JSR 109 support preview here on OTN at - this came out at OracleWorld:
    http://otn.oracle.com/tech/java/oc4j/1003/content_preview.html
    The target production date is summer 2004. There are also plans to do another drop of this preview with updated support later this year and possibly again before the production release.
    We have quite a lot of functionality that we are targetting to flesh out our Web services support in the areas of reliability, orchestration, transactions and security.
    Mike.

  • AXIS UDDI IN OC4j 10.1.2

    Hi All,
    I have developed webservices using AXIS .And now i need to register these services to UDDI .Can any body provide me the details of it.
    Thanks,
    Kalyan.

    Any updates plss....

  • Error while running a trusted application in OC4J

    I have created a trusted application to access the CDB and I can directly run this application in the Embedded OC4J and get the right result. The login code is :
    public ManagersFactory loginCDB(){
    FdkCredential credential = new S2SFdkCredential(
    "orcladmin" , "orclapplicationcommonname=s2stestapplication,cn=ifs,cn=products,cn=oraclecontext",
    "welcome1", null);
    try {
    session = ManagersFactory.login(credential, CDBURL);
    Item user = session.getUser(null);
    s_Logger.log("Connected user: "+LoggingUtils.log(user));
    s_Logger.log(session.getUserManager().toString());
    catch (FdkException e) {
    s_Logger.log(e);
    return session;
    But when I deploy this application to the Local/Remote OC4J and access this application by web, the error is shown as below:
    java.lang.RuntimeException:java.lang.RuntimeException: Unknown exception. See cause.
    java.lang.RuntimeException: Unknown exception. See cause.
         at oracle.ifs.fdk.client.impl.AxisRemoteManagersFactory.handleException(AxisRemoteManagersFactory.java:1271)
         at oracle.ifs.fdk.client.impl.AxisRemoteManagersFactory.<init>(AxisRemoteManagersFactory.java:326)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:214)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:121)
         at oracle.ifs.fdk.ManagersFactory.login(ManagersFactory.java:84)
         at oracle.l360.cdb.S2SLoginUtil.loginCDB(S2SLoginUtil.java:43)
         at view.backing.LearningActivity.getCdbFileList(LearningActivity.java:152)
         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 com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:99)
         at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at javax.faces.component.UIData.getValue(UIData.java:547)
         at org.apache.myfaces.component.html.ext.HtmlDataTableHack.createDataModel(HtmlDataTableHack.java:437)
         at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getDataModel(HtmlDataTableHack.java:414)
         at org.apache.myfaces.component.html.ext.HtmlDataTableHack.getRowCount(HtmlDataTableHack.java:87)
         at org.apache.myfaces.custom.datalist.HtmlListRenderer.encodeChildren(HtmlListRenderer.java:120)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:465)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:253)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
         at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:629)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:566)
         at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
         at mdssys.viewcontroller._public__html._LearningActivity_jspx._jspService(_LearningActivity_jspx.java:317)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.mds.jsp.MDSJSPFilter.doFilter(Unknown Source)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         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:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.client.Call.invoke(Call.java:1820)
         at oracle.ifs.fdk.SessionManagerSoapBindingStub.getCurrentUser(SessionManagerSoapBindingStub.java:365)
         at oracle.ifs.fdk.client.impl.AxisRemoteManagersFactory.<init>(AxisRemoteManagersFactory.java:319)
         ... 88 more
    Caused by: java.lang.ClassCastException: org.apache.axis.attachments.AttachmentsImpl
         at org.apache.axis.Message.setup(Message.java:341)
         at org.apache.axis.Message.<init>(Message.java:243)
         at org.apache.axis.client.Call.invoke(Call.java:2406)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         ... 90 more
    How can I resolve this problem? Do I need to config the OC4J server?
    Thanks.
    Message was edited by:
    user564999

    I am a little new to library management in this environment. I am also doing CDB Development and since the libraries are different from what is bundled with JDeveloper 10.1.3.x, I am curious, how did you end up dealing with the library conflicts in a production environment?
    Also, I was under the impression that libraries defined in the application and included in the deploy (ear file) would take presidence over the "global" libraries. Is this not correct?
    Thanks in advance,
    Steve

  • Problem handling error messages in Axis

    I am consuming a web service, and all calls work fine. However, when the web service raises an error (for example I pass the wrong login), my Java application returns the following:
    java.lang.ClassCastException: org.apache.axis.message.Text
    The error soap packet that gets returned looks fine, but the Java (or Axis) can't seem to parse out the error message. I am doing a simple catch
    catch(Exception e){
              System.out.print(e.getCause());
    Here is an example of a Soap message it couldn't parse:
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Date: Tue, 16 Aug 2005 19:59:50 GMT
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    Content-Type: text/xml
    Connection: Keep-Alive
    Content-Length: 366
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
    <SOAP:Fault>
    <faultcode>SOAP:Server</faultcode>
    <faultstring>Unable to authenticate technician. Either the Technician ID or password is incorrect, or there is more than one technician with submitted credentials.</faultstring>
    <detail>1030</detail>
    </SOAP:Fault>
    </SOAP:Body></SOAP:Envelope>
    I've tried all versions of Axis and keep getting the same problem. Am I catching the wrong type of Exception? Does the SOAP packet look weird? Is there something special I need to do when creating the classes from the WSDL2Java? Some setting?
    I don't know. Thanks.

    The format of the SOAP Fault is valid, and can be properly deserialized using oc4j DP4 release.
    Maybe you are having trouble in the processing of the detail element; the message.Text axis is complening about.
    Instead of catching a generic Exception, try catching javax.xml.rpc.soap.SOAPFaultException. Then, you will have accessor for each part of the fault. Based on your sample fault, the following code:
    } catch (SOAPFaultException sfe) {
    System.out.println("Expected error: " + sfe.getFaultString());
    outputs:
    Expected error: Unable to authenticate technician. Either the Technician ID or password is incorrect, or there is more than one technician with submitted credentials.
    Process exited with exit code 0.
    Hope this helps,
    eric

  • Package org.apache.axis.message not found in import.

    Hi,
    I am using axis to give response to another bpel process after any operation is completed of a BPEL process.I am using JDeveloper to deploy my bpel process.It has succesfully deployed process without any error but when bpel server is unpacking it and deploying it to oc4j,it get error:
    Package org.apache.axis.message not found in import.
    06/02/08 12:40:40 import org.w3c.dom.Element;import java.util.Calendar;import java.util.Date;import com.collaxa.cube.engine.ext.process;
    import com.oracle.services.bpel.task.*;import com.oracle.bpel.client.BPELFault;import com.collaxa.cube.xml.schema.XMLSchemaUtils;import com.
    oracle.bpel.client.util.WhereCondition;import com.oracle.bpel.client.Locator;import com.oracle.bpel.client.delivery.IDeliveryService;import
    com.oracle.bpel.client.NormalizedMessage;import com.oracle.bpel.client.IInstanceHandle;import com.oracle.bpel.client.ServerException;import
    com.oracle.services.bpel.Process.*;import org.apache.axis.message.*;import javax.xml.soap.Name;
    I have manually copied all axis jars to
    1)OraBPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applib
    2)OraBPEL\integration\orabpel\lib
    But no use.
    Can anybody help!

    I've put a lot og jar files in the bpel-inf/lib but it looks as if they are not in the class path when I need them. The result is a ClassNotFoundException? Do I have to specify anything else? I've put a class in the bpel-inf/classes and it looks to me as if it is found by the BPM.

Maybe you are looking for

  • ALV Grid Exporting to Excel - Columns out of order

    Hi, In my ALV grid everything is in order as it is in the structure. When however I export to excel from ALV grid, the columns are out of order. First it lists the string columns, then number columns and lastly date columns. Is there a way to make ex

  • How to install sap licensce? and orcle licensce ?

    hi friends i have to install sap licensce in sap ecc 6.0 and solman. how to get it from the marketplace  we buyed sap licensce . how to login from which client and which user ? how to install the orcle licensce to my data base ? please suggest me asa

  • Novice needs Help!

    . I'm using this code that I downloaded in a tutrial to run my flash movie -- pasted below -- how do I make the movie simulate that constant looping effect even when the mouse is not over it and how would I slow the overall speed down? MY flash sampl

  • Forgot Document Password

    Has ANYone found a way to override or reset forgotten passwords for Pages documents? Message was edited by: BeckyJA

  • Exc_Bad_Access on different programs?

    I have a new imac i5 and I have gotten this message on several apps. (itunes and imovie thus far.) here is the error I copied and pasted from the report. Any idea what is going on, or why I'm having these issues? Process: iTunes [67299] Path: /Applic