Portlet items in JDev w/OC4J standalone result in 500 (nullPointer) errors.

I am not sure if this belongs in the JDev or Portal discussion forums, so decided to start here.
I loaded the Portal PDK extensions into JDev (1012) per instructions on OTN and was able to create an application with a default web template using the portal item in the ViewController object. When I went through the wizzard to create this, I accepted all the defaults and tried to run the generated xxxShowPage.jsp
When I do, I get a 500 internal server error that seems to be caused by a null pointer... before I paste the error stack in here, I just wanted to be sure to announce that I am a newbie with all this and appologize for obvious mistakes... thanks for the help.. now, the error stack:
500 Internal Server Error
java.lang.NullPointerException     at htdocs.myportlet._MyPortletShowPage._jspService(MyPortletShowPage.jsp:11)     [htdocs/myportlet/MyPortletShowPage.jsp]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

Any help please with resolving the null pointer on all jsps launched that were created using the portlet item? any?

Similar Messages

  • Oc4j:  500 internal error with httpunit

    All,
    There is a program called httpunit which pretends to be a browser (for j2ee app testing purposes). For some reason I can run a particular ADF Faces application from IE against the embedded OC4J (10.1.3.1) in jdev 10.1.3.2 just fine. But when I try to run the same app with the same URL against the OC4J httpunit says that OC4J is returning a "500 internal error". What I don't understand is, if I am getting such an error, why doesn't server.log or any other log file seem to be recording more information on this error...like what is the OC4J choking on. How does one make the OC4J give more explicit information on 500 internal errors.
    This archives of this forum seem to deal with people with similar problem, but usually they are getting the error when running it in IE. I am using httpunit instead in this case, which I am in the process of getting more familiar.
    I hope someone can help. I have a deadline for this question.

    Shay, If I could get some details on the simple example that you put together: what verson of httpunit are you using? I am using 1.6.2. What jar files are you putting into the library...just the one httpunit.jar file? Or any of the others? Maybe those are causing problems for me. I was trying to follow the example in the paper I was reading and he put a bunch of other jar files into the library from the httpunit jars directory. What did your webpage have in it? Just a simple emp or dept?

  • OC4J Standalone with sso in a different server

    Hi
    I'm trying to implement sso in a application of mine. the scenario is: application deployed in a OC4J standalone version 10.1.3 ( oc4j_extended_101300 ), I have a AS server ( Enterprise Manager ) 10.1.2.0.2 where resides the OID. I want to force the single sign-on in the AS server and then continue with my app in the standalone OC4J.
    How can I achieve this? I've seen some documentation on that, but I was unable to make it work.
    Thanks in advanced
    Vitor

    I'm employing the dead-end OC4J configuration to build JSR-168 portlets for use in Aqualogic UI/ WCI version 6.5 Portal. I was having some success getting the WSRP Producer component of a JSF Page to display/consume JSR 168 portlets in the ALUI portal before the server error.
    The JDev 11g download with imbedded weblogic 10gR3 server doesn't include the webcenter/portlet extentions and I've had issues getting ADF Fusion Web applications to run within the ALUI 6.5 portal page via WSRP.
    Without the ability to either
    1. Uninstall OC4J Standalone where the configurations get backed out and I can start from scratch...
    or
    2. fix the OC4J configuration to resolve the error....
    I guess I'll attempt to deploy Tech Preview 4 Jdeveloper built JSR-168 portlet WARs to WebLogic standalone instead with a new deployment descriptor and see if ALUI portal WSRP will work without the Oracle Containers 4 J2EE.
    Thoughts?

  • BPEL/OC4J Standalone w/OracleXE

    I am new to Oracle application server and BPEL so I apologize in advance if this is an easy question or if it's already answered.
    But I’m trying to set up a developer environment using the BPEL/OC4J standalone installation (as_windows_x86_bpel_101200.exe) using OracleXE as the supporting database. Some of our needs preclude the use of the “olite” DB that comes with this installation so we are trying to use XE. On the surface we think it should work but we are having some difficulties. It could be the way we are installing or it could be it simply won’t work.
    If someone has been successful at configuring this way, I only would like to know that it is possible so I don’t spend any more time on it.
    Thanks!

    Any help please with resolving the null pointer on all jsps launched that were created using the portlet item? any?

  • Oc4j standalone 10.1.3.3 and service registry with ssl install help needed

    Hello,
    I'm trying to install service registry with oc4j standalone for testing and demoing but am having some difficulty with the ssl side of things.
    I have setup a oc4j standalone 10.1.3.3 and configured the following ports:
    default http port: 9991
    ormi port: 9992
    ormi ssl port: 9993
    https port: 9994
    I have configured oc4j standalone for SSl as per instructions by copying default-web-site.xml to secure-web-site.xml and added secure="true" to <web-site> tag and added <ssl-config keystore..../> as well. I've also modified server .xml and added <web-site path="./secure-web-site.xml" /> into the file.
    I have then installed service registry as a publication (discovery) with http port pointing to 9991 and ssl enabled pointing to 9994 with oracle database.
    I can load http://localhost:9991/ and also https://localhost:9994 and both secure and non-secure page loads fine for the oc4j webpage. I can load http://localhost:9991/registry/uddi/web/ page but when I click on any of the link on it tries to load https://localhost:9994/registry/uddi/web i get a http 404 not found error.
    Tried googling and searching the forum for info, but I'm in need of a little help on where I went wrong.
    Thanks

    Hy frank, thanks for your reply:
    We use a jdk shipped with jdeveloper for running OC4J;
    "<JDev install dir>\jdk\bin\java.exe"
    java -version says:
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
    Regards.
    Davide

  • PDK & OC4J Standalone Development Environment

    Hello Portal Gurus,
    I now seek the knowledge of setting up a development environment where I can register and test portlets. As of now I understand that you need to download and install the OC4J Standalone version. Once OC4J is installed follow the directions to add PDK support. I have registered my portlet provider and viewed the portlet provider's "congradulations page". Since then I have found out that you can test specific pages e.g. (Show, Edit, Help) by editing a properties page and setting the parameter testPageURI to the apporpriate page. The portlet runs fine until I try to set links to other pages in the deployed WAR (using UrlUtils), use PDK objects (PortletRenderRequest is null), and use PDK API's. Is there a way to test indivdual portlets (not providers) like they have in the portlet repository page in Oracle ias. Test the edit mode, show mode, and preview mode etc. I know I can change the testpageURI parameter but PDK functionality (objects, API's) just don't work.
    thanks!

    Hello Harsha,
    I could and have developed and tested my portlets against an Oracle AS Portal instance. Performance becomes a problem when I do remote development. It takes approximately 15 minutes to deploy a portlet via a broadband vpn connection vs. 1 minute when deploying my portlets via a LAN. (A 9 MB upload is slow). If I can develop and test my portlets on my local machine it would greatly reduce the time it takes to complete the development cycle.
    Thanks!

  • Error starting oc4j standalone

    Hi ,
    when i issue the command java -jar oc4j.jar i am getting this error
    D:\OracleAS\j2ee\home>java -jar oc4j.jar
    09/07/26 20:16:38 Unable to register the NameService:
    09/07/26 20:16:38 Error starting up the IIOPService ..
    09/07/26 20:16:38 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    Please help.

    Hi Gaurav,
    1. What is the JDK version you are using to start your standalone 10.1.3 OC4J?
    2. Have you configured any datasources or Resource archive files on the 10.1.3 OC4J?
    3. What is the version of the OC4J that jDev is using?
    4. What is the version of JDev?
    Looks like there is an incompatibility somewhere the above information will help. Thanks.
    Deepak

  • OC4J Standalone Download?

    Hi Everybody,
    1)can any body pass the link for downloading oc4j stand alone - latest version.
    2)i downloaded jdev 10.1.3 and i know it have oc4j stand alone , but how i can separate it in different folder away from jdev , becuase i want to give it to a client without jdev
    thanks in advance.

    Go to the first hit of google "oc4j". Hit the Download button. You will find the latest production release of oc4j standalone.
    If you are inside oracle, then you may get hold of a latest oc4j build.
    I am not sure if there is an easy way to reconstruct oc4j stand alone from a jdev installation. I do not see why someone would want that oc4j stand alone, either.

  • OC4J standalone password failed

    hello
    i have application server 10.1.2.2.0 and OC4J standalone 10.1.3.1 installed on Redhat Linux OS .
    All Services in Infra , Middle and the OC4J standalone are UP .
    i try to login to the enterprise manager of the OC4J stand alone using oc4jadmin user , but have the error message ( Your username and/or password are invalid.).
    i try to reset OC4J administrator password using the OC4J Documentation from Oracle section H.3.1 Resetting the Administrator (oc4jadmin) Password
    or like the metalink ID 576587.1 , and i try to change the password from ldap too ,
    but without a result , i still cannot login to the OC4J Application Server Control Console .
    Any help please?

    I m using OC4J version 9.0.4.0.0 ,what is the ---user name--- for it
    I had used ias_home & oc4jadmin
    but it showing the error that javax.naming.AthunticationException;
    & invalid username for default oc4jadmin,connect failed;
    How to set the path to JSTL:
    i.e. for sqltaglib.tld
    How to deploy JSTL app's manually

  • Oc4j standalone + hibernate 3.2 problem

    Hi all,
    I am working on a j2ee application with Oracle 9i Database as a backend, Struts as a MVC framework and Hibernate 3.2 for persistence layer.
    I have developed my application in jdeveloper 10.1.3.3 and when i deploy it on the embedded oc4j it all works fine. However when I deploy a War file with my application to a standalone oc4j server I get the following error:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    in the logs i get the following:
    07/09/26 15:33:29.796 10.1.3.3.0 Started
    07/09/26 15:33:37.390 GLM: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'HibernateServlet'. Servlet class org.monsoon.glm.servlets.HibernateServlet not found in web-application GLM
         at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4880)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
         at com.evermind.server.Application.getHttpApplication(Application.java:570)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    07/09/26 15:33:37.390 GLM: 10.1.3.3.0 Started
    07/09/26 15:34:23.531 GLM: Servlet error
    java.lang.RuntimeException: org.hibernate.HibernateException: Could not find datasource
         at org.monsoon.glm.dao.util.ConnectionFactory.<init>(ConnectionFactory.java:24)
         at org.monsoon.glm.dao.util.ConnectionFactory.getInstance(ConnectionFactory.java:30)
         at org.monsoon.glm.dao.UserDao.getUser(UserDao.java:42)
         at org.monsoon.glm.controller.LoginAction.execute(LoginAction.java:75)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.hibernate.HibernateException: Could not find datasource
         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
         at org.monsoon.glm.dao.util.ConnectionFactory.<init>(ConnectionFactory.java:18)
         ... 22 more
    Caused by: javax.naming.NameNotFoundException: java:comp/env/jdbc/DBConnMilofDS not found in GLM
         at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:225)
         at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:172)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookupInJavaContext(ApplicationContext.java:308)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:232)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
         ... 29 more
    I have tried disabling toplink, but it still doesnt work.
    I am pretty new to oc4j and at this point I dont know how to set it up to recognize my hibernate and db connection.
    Thank you in advance :),
    Sizzla

    The reason why it works in JDeveloper might be that you have defined the Database Connection in JDev. If so, you have two options:
    1. Configure OC4J through the Application Server Control (eg localhost:8888/em)
    2. Create an EAR which includes the JDev database connections and deploy it
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can't Complete Deployment to OC4J Standalone

    I have successfully deployed 3 projects to OC4J standalone on a Win2k box. I have now set up OC4J on a Sun box. I have deployed 2 of the (basic) web apps sucessfully, but the third, which consists of an EJB/BC4J project and a servlet/JSP project, does not completely deploy. All files are written to the correct directories as far as I can see, but the app info is not written to the config files. In JDev, there are no messages after the deployment command line. It hangs until I kill the admin tool.
    Any help would be appreciated.

    Can you verify the JAVA_HOME, sometime, when you deploy an EJB application, OC4J need compile it.

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?
    Thanks,

    Please refer to the OC4J FAQ on :-
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf
    Q 24 should have your answer.
    Cheers!

  • Error in oc4j standalone & JAX-WS 2.0

    Hi!!
    I'm trying to generate a SOAP Message with this code:
    MessageFactory factory =
    MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
    response = factory.createMessage();
    SOAPPart parte =
    response.getSOAPPart();
    parte.setContent(xmlSource);
    response.saveChanges();
    in line "response.saveChanges();" i have this error:
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.EnvelopeFactory
    createEnvelope
    GRAVE: SAAJ0511: Unable to create envelope from given source
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.SOAPPartImpl
    getContentAsStream
    GRAVE: SAAJ0547: Error while trying to externalize
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0539: Unable to get header stream in saveChanges
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0540: Error during saving a multipart message
    It's a web application and i'm debugging with OC4J Standalone from
    Jdeveloper. The Libraries are the libs of JAX-WS 2.0 and the orion-
    web.xml file has:
    <web-app-class-loader search-local-classes-first="true"
    include-war-manifest-class-path="true"/>
    the exception stack:
    07/02/16 11:00:59 java.lang.Exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:443)
    07/02/16 11:00:59 at genws.MotorXML.executeWS(MotorXML.java:232)
    07/02/16 11:00:59 at PDFController.process(PDFController.java:321)
    07/02/16 11:00:59 at es.jcyl.pdf.PDFServletEngine.service(PDFServletEngine.java:114)
    07/02/16 11:00:59 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/02/16 11:00:59 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/02/16 11:00:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/02/16 11:00:59 at java.lang.Thread.run(Thread.java:595)
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1126)
    07/02/16 11:00:59 at es.jcyl.genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:437)
    07/02/16 11:00:59 ... 14 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1096)
    07/02/16 11:00:59 ... 15 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: SOAP exception while trying to externalize:
    Anybody can help me?
    Thanks

    The error was in the execution of OC4J embebbed. OC4J uses its own libraries for web services and xml.
    You can deploy an application with JAX-WS 2.0 if you add this java option:
    -Xbootclasspath/p:<dir_libs>\xml-apis.jar;<dir_libs>\xercesImpl.jar;<dir_libs>\xalan.jar;<dir_libs>\saaj.api.jar
    And the jars of JAX-WS are added as libraries to the application.
    With this solution you solve the problem: OC4J uses this libraries, not their owns, include the xml libraries.

  • OC4J Standalone Distribution - License needed?

    Hi,
    I'm using APEX 3.2 on a 10gR2 Database with an Oracle HTTP Server (Apache 1.3). In order to enable PDF generation within APEX, an OC4J standalone is needed according to PDF Printing in APEX:
    [http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html#05]
    Can someone confirm that OC4J standalone does not need to be licensed separately? According to every Apex documentation the "Apache FOP with the OC4J standalone" is the way to go if you don't want to spend extra money on Oracle Licenses. And I definitely do not need the whole Oracle Application Server.
    What really disturbed me was the first sentence on the OC4J Standalone Distribution Web Page:
    [http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html]
    All software on this page is to be used according to the development license unless you are a licensed Oracle Application Server customer. Oracle Application Server customers can use this software according to the terms and conditions of your Oracle Application Server license.
    I'm not a licensed Oracle Application Server customer but I wan't to use the OC4J standalone in a production enviroment! Do I need to license OC4J standalone?
    Regards,
    Marco

    hi %,
    The official oracle reply:
    Please find below additional information to OC4J licensing:
    OC4J Standalone version can be downloaded for free from OTN but its usage is subject to the OTN Agreement.The OTN agreement is very restrictive and it is important that the partner and end user know of these restrictions.
    There is a link to the OTN Agreement on the url provided:
    +[http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html |http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html ]+
    For example,  the OTN program cannot be used for internal data processing or for any commercial or production purposes, or for any purpose except the development of a single prototype of your application.
    For for any commercial or production purposes OC4J is part of Internet Application Server (Standard Standard One and Enterprise Editions) and WebLogic Suite. These programs would need to be licensed in order to use OC4J.
    Unfortunately, I do not have an Oracle supported way to genereate PDF within APEX which does not cause any additional license costs.
    cheers,
    Marco

  • Can Jdeveloper TP4 deploy apps to OC4J standalone TP4

    I tried to have JDeveloper TP4 deply my ADF web app to the latest OC4J standalone version but I get the following error:
    Caused by: java.lang.InstantiationException: Import was not resolved for riscs.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
         at com.evermind.server.Application.setConfig(Application.java:538)
    Before I spend alot of time debugging is this currently supported or can I only use the OC4J shipped with JDeveloper?
    Thanks.

    The sad part about this thread is that we seem to be talking about completely separate products, like they are from different companies. I have not been given the secret decoder ring to determine which parts of the suite really work together or when the magic convergence will occur. From a client/customer perspective these are part of an Oracle suite of applications, and I can assure you that clients have spent significant amounts of money and have an expectation (which was sold to them) that that all parts of the suite work together "seamlessly".
    I think everyone using TP releases understands and accepts a certain amount bugs and integration issues, however I have been working with 11G components for almost a year and I sometimes wonder if Oracle really understands the stress created on consultants when the "right-hand" does not seem to notice what the "left-hand" is doing.
    Our project requires JSF/ADFFaces, Rules, XML, WebServices, ORM(Toplink/EclipseLink?), JEE5 Container, SVN version control integration at a minumum. It has been a monumental effort to create even prototypes to show our client progress toward the vision that was sold. We are continually being told that all will be good when all the products become production. This is a very big risk where failure is paid for by consulting not product.

Maybe you are looking for

  • PAPI API session.getVar Not working with ALBPM5.7SP1 WE

    Hi, I was using papi api to get processes passing a filter in ALIP 1.5. The following code was working fine: VarDefinition variable = session.getVar(VarDefinition.ACTIVITY_ID); But after I upgraded to ALBPM5.7SP1 WE. The API does not return the varia

  • Palm Centro Sync

    Three hours later, I'm turning to you.  Centro on Windows XP.  "Synchronized datebook gets to 2 of 12" and then freezes.  Have downloaded and the sync will connect and complete,  but Not update.  Then after making a change the second sync will freeze

  • Photo album page

    I'm just starting with iWeb so everyone please be gentle. I've been doing the publishing to my desktop so far and it's all going well. Once I get everything set I'm going to do it to my .Mac account. Right now, on my desktop when I look at my photo p

  • Compiled .swf suddenly grows in size.

    I am working on an application that normally generates a .swf file of about 1.01 MB in size. After making very slight changes to the application (text changes, placement changes, very minor items, etc.) the .swf will jump to a wopping 2.45 MB file si

  • My iPhone 3GS will not turn on past the loading apple

    On Saturday night my phone was on and working. I plugged it in and went to bed, when I woke up Sunday morning the screen was black except for the apple that pops up when it is starting to turn on. I reset it with the sleep and home buttons (too many