Failed deployment to standalone oc4j server from JDeveloper 10.1.2
Built a simple application using JHeadStart 10.1.2
I could deploy it when I defined the datasource connections inside the application. When I changed the datasource connections to refur to the jndi lookup values found in data-sources.xml it works only on the oc4j app server embedded into jdeveloper 10.1.2.
When I deploy the ear file to my standalone version it fails with the following stack trace:
JBO-30003: The application pool (com.bcaa.maint.model.common.AppNEATGlobalParameterLocal) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1336)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1234)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
at oracle.adf.model.BindingContext.get(BindingContext.java:411)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
at oracle.adf.model.BindingContext.get(BindingContext.java:427)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)
at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
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 oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at com.bcaa.maint.view.filter.NEATUserFilter.doFilter(NEATUserFilter.java:65)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.lang.ClassCastException
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1385)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
at oracle.jbo.server.ApplicationModuleImpl.doPoolConnect(ApplicationModuleImpl.java:8014)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7785)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3923)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:1915)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1739)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:411)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:406)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1336)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1234)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
at oracle.adf.model.BindingContext.get(BindingContext.java:411)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)
at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java:197)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:273)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:40)
at oracle.adf.model.BindingContext.get(BindingContext.java:427)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)
at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)
at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)
at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)
at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)
at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)
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 oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:220)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012)
at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at com.bcaa.maint.view.filter.NEATUserFilter.doFilter(NEATUserFilter.java:65)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
ok - this is just wierd - I get an object back from the jndi context. .getClass().getName identifies it as an instance of OrionCMTDataSource, which is a subclass of OrionPooledDataSource which implements javax.sql.DataSource.
I should be able to cast the object directly to a DataSource type, but when I try it throws a ClassCast exception.
If I Cast to an OrionCMTDataSource then to a DataSource it casts correctly... WTF ?!?
oh - and my ADF application is still broken...
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=null
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1772)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2611)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:441)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:230)
## Detail 0 ##
java.lang.ClassCastException
at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1385)
at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:271)
at oracle.jbo.server.ApplicationModuleImpl.doPoolConnect(ApplicationModuleImpl.java:8014)
???
Similar Messages
-
Whenever I deploy project to OC4J server by JDeveloper, disk space reduced.
Dear all,
When I deploy the project to oc4j server (inside jdeveloper folder), my hard disk space reduce. As I need to develop applications and deploy it to the oc4j server constantly, the disk space reduce and reduce (5mb each time), but I don't know why the deployment consumed disk space whenever I deploy the project. In long run, all my disk space has been run out.
Do you all know why it consumes disk space when I deploy using Jdeveloper? How could I release the space? Thank you.
DavidCheck your temp folders. JDeveloper has the tendency to leave some ear and war files lying around, certainly if you are working with webcenter projects and portlets. On my machine, I created a script that runs at login to reclaim some of that space:
c:
cd %TEMP%
del *.* /f /q
{code}
Hope this helps,
Jeroen van Veldhuizen -
Urgent :deployment to Standalone OC4J failed
Hi,
I am posting this problem for second time.
It is of utmost importance for me to solve the problem b'coz the whole progress of my project/application depends on successfully working of the application on Standalone OC4J.So can anybody plz help me.
1)I have developed an application using Struts framework(For the View and controller part ) and EJBs. When I run this application using the Embedded OC4J provided with JDeveloper,it runs fine.But when I try to deploy the same to the StandAlone OC4J(which I downloaded from OTN) or to the Application Server,I get the following error
--503 Service Unavailable,Servlet error: Parsing error processing resource path ---
2)The StandAlone OC4J version is 9.0.4.0.0 and I used JDK 1.4.
3)The same application runs fine when deployed to StandAlone OC4J when I developed it using only JSPs and EJB.
4)I even added the different libs for Struts inside WEB-XML folder under my Application Folder Structure.
5)The StandAlone OC4J Server runs fine and displays the First Page when it is started.
6)I even installed a totally new StandAlone OC4J and deployed all my previous applications to this new server.All the applications except where I used Struts Framework ran fine.
The Error Message is
04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear begins...
04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
plication.ear... done.
04/11/01 10:36:44 Notification ==> Unpack EJBapplication.ear ends...
04/11/01 10:36:44 Notification ==> Initialize EJBapplication.ear begins...
04/11/01 10:36:44 Auto-unpacking C:\OC4J\New Folder\j2ee\home\applications\EJBap
plication\EJBDEMOwar.war... done.
04/11/01 10:36:45 Copying default deployment descriptor from archive at C:\OC4J\
New Folder\j2ee\home\applications\EJBapplication/META-INF/orion-application.xml
to deployment directory C:\OC4J\New Folder\j2ee\home\application-deployments\EJB
application...
04/11/01 10:36:45 Notification ==> Initialize EJBapplication.ear ends...
04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar begins...
04/11/01 10:36:45 Notification ==> Initialize EJBDEMOwar ends...
04/11/01 10:36:46 ArchiveContext: containsDirectory(META-INF) plus '/' found in
C:\OC4J\New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar in entry
META-INF/MANIFEST.MF
04/11/01 10:36:46 Copying default deployment descriptor from archive at C:\OC4J\
New Folder\j2ee\home\applications\EJBapplication\EJBDEMOear.jar/META-INF/orion-e
jb-jar.xml to deployment directory C:\OC4J\New Folder\j2ee\home\application-depl
oyments\EJBapplication\EJBDEMOear.jar...
04/11/01 10:36:46 Auto-deploying - EJBDEMOear.jar (No previous deployment found)
04/11/01 10:36:49 Auto-deploying - compiling and loading...
04/11/01 10:37:00 done.
04/11/01 10:37:00 Notification ==> Application Deployer for EJBapplication COMPL
ETES [ 2004-11-01T10:37:00.405IST ]
Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
e
Nov 1, 2004 10:37:04 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
Nov 1, 2004 10:37:04 AM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:259)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
rser.java:1181)
at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
er.java:138)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
arser.java:267)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
ication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
497)
at com.evermind.server.Application.getHttpApplication(Application.java:8
86)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:171)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
assLoader.java:172)
at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
.java:1154)
at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
ava:390)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
ava:138)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
ava:138)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
java:320)
at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
91)
... 40 more
Nov 1, 2004 10:37:04 AM org.apache.struts.action.ActionServlet handleConfigExcep
tion
SEVERE: Parsing error processing resource path
java.lang.reflect.InvocationTargetException
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
rser.java:1181)
at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
er.java:138)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
arser.java:267)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpAppl
ication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
497)
at com.evermind.server.Application.getHttpApplication(Application.java:8
86)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.jav
a:688)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:570)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:263)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:171)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.bindWebApp(DefaultApplicationServerAdministrator.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Nov 1, 2004 10:38:25 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
l=true
Nov 1, 2004 10:38:25 AM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
Utils.java:1789)
at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
Utils.java:1684)
at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
java:1713)
at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:101
9)
at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
at org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
.java:259)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
rser.java:1181)
at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
er.java:138)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
arser.java:267)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
java:4523)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
lication.java:2561)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:640)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at com.evermind.util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureCl
assLoader.java:172)
at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader
.java:1154)
at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.j
ava:390)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
ava:138)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.j
ava:138)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
java:320)
at org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
91)
... 29 more
Nov 1, 2004 10:38:25 AM org.apache.struts.action.ActionServlet handleConfigExcep
tion
SEVERE: Parsing error processing resource path
java.lang.reflect.InvocationTargetException
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java
:2566)
at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
rser.java:1181)
at oracle.xml.parser.v2.ValidatingParser.parseRootElement(ValidatingPars
er.java:138)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
arser.java:267)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
rvlet.java:1006)
at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.
java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.
java:4523)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApp
lication.java:2561)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:640)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)Add to WEB-INF/lib
struts.jar
tiles.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar -
Web Services - Issue with running OC4J stand alone server from JDeveloper
I created a stand alone OC4J App. server instance in JDeveloper. I deployed my Webservice (WebServices.deploy) to that OC4J server.
Now I want to test my web service. I opened a browser window and I specfied the URL as
http://localhost:<RMI Port#>/<Project1>-context-root/<Webservice name>.
Default RMI Port#23791.
http://localhost:23791/<Project1>-context-root/<Webservice name>.
and I am getting the following error message
ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol.
Could you please let me know, what's going on.
Thanks!OK, so there's two threads in this email.
1. When using a Web browser client and an OC4J standalone instance, the default address of the OC4J website is http://host:8888/.
The port you keep referring to is the ORMI port. That is a different protocol that is used with EJBs, and our remote deployment mechanism. As you have observed, JDeveloper uses it to deploy to the OC4J instance.
2. The root problem you are seeing is related to the message you posted on the console.
OC4J 10g (10.1.3) Default Web Site. Application: bc4j does not exist. Error creating Web application: webapp
Because this web app is misconfigured, its not starting so you can't access it.
In the j2ee/home/config/default-web-site.xml file, there is a reference to an application called BC4J -- which is not available on the server as a deployed application.
So you need to correct that situation -- BC4J is not normally present in a vanilla OC4J standalone distribution.
You can try editing the j2ee/home/config/default-web-site.xml file and remove the <web-app> entry that mentions BC4J and then try starting OC4J.
If you don't have a lot of time invested in configuring the instance, you could also try extracting oc4j_extended.zip again and starting with a fresh one.
cheers
-steve- -
Jdeveloper(9.0.5.2 build 1618 )connect standalone OC4J server error
Using Jdeveloper(Version: 9.0.5.2 build 1618 )connect to standalone OC4J server(Version:pdk_oc4j_extended 9.0.4.0.0 download from OTN) , test success , but connect occur following errors :
java.lang.NullPointerException at
oracle.jdevimpl.cm.dt.ConnectionController$ConnectionExpander.selectConnection(ConnectionController.java:547)
at
oracle.jdevimpl.cm.dt.ConnectionController$ConnectionExpander.access$1000071(ConnectionController.java:514)
at
oracle.jdevimpl.cm.dt.ConnectionController.runNewConnectionDialog(ConnectionController.java:508)
at oracle.jdevimpl.cm.dt.ConnectionController.runNewConnectionDialog(ConnectionController.java:484)
at oracle.jdevimpl.cm.dt.NewAppServerConnectionWizard.invoke(NewAppServerConnectionWizard.java:71)
at oracle.ide.WizardManager.invokeWizard(WizardManager.java:484) at
oracle.ide.WizardManager$1.run(WizardManager.java:538) at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at
java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)No anyone knows?
-
JspParse Error when trying to run jsp/jspx page deployed on standalone OC4J
I have ADF Faces Application, which is developed with JDev 11 TP3.
I have deployed the application to Standalone OC4J Server, packed within JDeveloper 11 TP3.
The problem comes, when i try to acess my login jsp or other JSPX page,then i receive the following error on the standalone OC4J Server console:
for the JSP:
JSP Servlet Error: Internal Error, registered Directive handlers MUST descend from JspDirective
oracle.jsp.parse.JspParseException: /login.jsp : Line 4,
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
The content of my JSP page (login.jsp) is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1251"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
for JSPX:
Directive handlers must descend from JSP Directive..
But i have:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1251"/>
That works fine with JDev embedded OC4J.
Thank you in advance,
Krasimir
Message was edited by:
K.PenevSame trouble. Anyone have solution?
JDeveloper 11 TP4
OC4J 11 TP4 from this http://www.oracle.com/technology/tech/java/oc4j/index.html
Do this instruction http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
Nothing to change.
Message was edited by:
user644372 -
Embeded OC4J server within JDeveloper does not pick latest JAR files.
Hi,
Currently OC4J seems to be using an older version of JAXB1.0. Hence I created a shared library in my standalone OC4J server and imported the shared library while deploying my applicatoin in the ClassLoader task.I am trying to replicate the same in
my embeded OC4J server within JDeveloper.
I followed as indicated in readme.txt file in the \j2ee\home\shared-lib\ folder.
1) I created a folder called "jaxb" within /j2ee/home/shared-lib/. I then created a folder with the name "2.0" indicating the version number of the API.
2) I then added the relevant jaxb JARS to the jaxb/2.0 folder.
3) In the server.xml file available under /j2ee/home/config/ , I added the following entries.
<shared-library name="jaxb" version="2.0">
<code-source path="jaxb-api.jar"/>
<code-source path="activation.jar"/>
<code-source path="jaxb1-impl.jar"/>
<code-source path="jaxb-impl.jar"/>
<code-source path="jsr173_1.0_api.jar"/>
<code-source path="jaxb-xjc.jar"/>
</shared-library>
I am still facing the issue where my embedded OC4J server is picking up the jaxb version 1.0.
What are the steps that needs to be taken to ensure that the embeded OC4J
takes in the jaxb2.0 version.Refer
Re: SUN Jaxb2.0 incompatible with OC4J included in JDEV/OC4J ?? -
Problem on running Preconfigured OC4J server in JDeveloper 10.1.3.2
Hi all,
I have problem on running preconfigured oc4j server in JDeveloper 10.1.3.2. I get the error message below :
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin>
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\bin\adfp_oc4j.cmd C:\Jdev10132\jdk\jre\.. C:\Jdev10132\ C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
wsrp not installed
installing wsrp......
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache alt path or file already exist
C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache\admin
path or file already exist
System can not find the specified path
java.lang.RuntimeException: Instruction unknown: loadınstruction
at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
ERROR: 'Instruction unknown: loadınstruction'
FATAL ERROR: 'Could not compile stylesheet'
oracle.portlet.server.containerimpl.install.InstallException: Error parsing stylesheet "resource/config-server.xsl"
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:289)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
... 2 more
caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
System can not find the specified path
Error: Can not find C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\config\server.xml.
Stop OC4J command finished
Any help is appreciated...
Thanks in advance
Aliyewell I have downloaded the latest version of jdk (1.6) to check with it so it solved some of the problems but still I get an error on running the oc4j server. Error I get is:
Starting OC4J from C:\Jdev10132\j2ee\home ...
Executing: C:\Jdev10132\jdk\jre..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\Jdev10132\j2ee\home\oc4j.jar" -config C:\Jdev10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\srcimage\j2ee\home\config\server.xml
07/02/19 10:45:10 Error initializing server: IO error reading system
07/02/19 10:45:10 Fatal error: server exiting
Stop OC4J command finished.
I couldnt understand what is the problem now..
Thanks for your help..
Aliye -
HELP!!! Failed to start Embedded OC4J Server in JDev
Hi,
I have installed Oracle JDeveloper 10.1.2.1.0 and have tried to run simple test(for example index.jsp - Welcome) but I get error. - Failed to start Embedded OC4J Server in JDev
OC4J with simple test have started well in other computers. This situation first time for me.
Why OC4J can't start?
This is OC4J log mess
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config>
C:\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j.jar -Dhttp.proxyHost=coates-proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=coatesnet*|phoenix*|ev_evs1*|ev*|evs*|dr002*|dr001*|raptor*|cweb01*|cweb03*|cweb02*|orangepages*|unity*|dw01*|intra-apps*|intranet*|prod02*|prod01*|dev3*|dev2*|dev1*|app03*|app02*|app01*|localhost|127.0.0.1 -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Process exited with exit code -1073741819.
Help me please!Did the setup for JDEV_USER_HOME with the proper path (C:\OAFRAME\jdevhome\jdev) ,
Keep the dbc file in the directory and setup the front end as well as back end login details in cluding responsibility details. -
Erro on deploy to Standalone OC4J
Hi,
I have made an application with Jdeveloper (BC4J/Struts/JSP). I have made a deploy Profile and deployed the application. I Start the application and I have following :
500 Internal Server Error
javax.servlet.jsp.JspException: Missing message for key errorpage.title
int org.apache.struts.taglib.bean.MessageTag.doStartTag()
MessageTag.java:298
void errorpage.jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[errorpage.jsp]
_errorpage.java:57
[SRC:/errorpage.jsp:7]
void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
OrionHttpJspPage.java:56
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:317
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:465
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:379
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ResourceFilterChain.java:65
void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
JAZNFilter.java:283
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:560
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:119
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageThrowable(java.lang.Throwable)
EvermindPageContext.java:547
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageException(java.lang.Throwable)
EvermindPageContext.java:518
void TInvoicesView1_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[TInvoicesView1_Browse.jsp]
TInvoicesView1_Browse.java:224
[SRC:/TInvoicesView1_Browse.jsp]
void com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
OrionHttpJspPage.java:56
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
JspPageTable.java:317
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:465
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
JspServlet.java:379
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ResourceFilterChain.java:65
void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
JAZNFilter.java:283
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:560
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:209
void org.apache.struts.action.RequestProcessor.doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RequestProcessor.java:1014
void org.apache.struts.action.RequestProcessor.processForwardConfig(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.config.ForwardConfig)
RequestProcessor.java:417
void org.apache.struts.action.RequestProcessor.processActionForward(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForward)
RequestProcessor.java:390
void oracle.jbo.html.struts11.BC4JRequestProcessor.processActionForward(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForward)
BC4JRequestProcessor.java:98
void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
RequestProcessor.java:271
void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:1292
void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
ActionServlet.java:492
void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
HttpServlet.java:740
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
HttpServlet.java:853
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ResourceFilterChain.java:65
void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
JAZNFilter.java:283
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
ServletRequestDispatcher.java:560
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
ServletRequestDispatcher.java:306
boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
HttpRequestHandler.java:767
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
HttpRequestHandler.java:259
void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
HttpRequestHandler.java:106
void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
PooledExecutor.java:797
void java.lang.Thread.run()
Thread.java:484
The file ApplicationResources.properties is in the WAR File. What is the problem ?
Thanks
YvesAre you able to get just Struts working on OC4J.
Also, when you say deploy, are you getting these eerros when you deploy into the OC4J instance in JDeveloper or
when you deploy into OC4J outside JDeveloper.
thanks,
-Prasad -
hi,
I've got the same problem as below, but saw no answer - can anyone help???
I have gone through all the steps to deploy on standalone OC4J 10 g. I started the oc4j from Command line and from the IDE when i right click my <appname>.deploy and choose "Deploy to <a connection>" in the log window i see that deployment is complete and it gave me a context root (http://nv1665:8888/webapp2). I used that context to open in the browser but the page is not accessible. I get an access denied! "HTTP Error 403 - Forbidden Internet Explorer"
Is there a security issue with oc4j that I have overlooked?
thanks for your time,
dianegot - wasn't referring to the complete deployment name...
d -
Does the standalone OC4J server include web server?
Can I run Jsp file by just installing standalone OC4J server . It seems like a pure J2EE container .
Hi,
of course you can. JSP is part of J2EE
Frank -
Start OC4J Server from JButton
I have JClient Swing applicaton and i have to start the Embedded OC4J Server from JButton because after that a jsp file must be run from this button. I tried this:Runtime.getRuntime().exec("java -jar oc4j.jar") but no effect. Any ideas?!
I tried what you suggested. Put the link which is like
"http://localhost:port/context-root/my.jsp" before
Runtime.getRuntime().exec("java.exe -jar oc4j.jar");
but with no effect again. The Embedded OC4J Server doesn't start.What I do wrong? -
Error deploying to standalone OC4J app server
Hey all,
I created a web app with jdeveloper 10.1.3.3 using OC4J 10.1.3.3 as well. I'm using EJB and session beans to communicate with a database. nothing particularly fancy about it, i just read tables from the db. however, when i try and deploy through jdev to the standalone OC4J i get an error. here's the last part of the deployment log when it fails:
Deployment Log:
Binding ibmswauth web-module for application ibmswauth to site default-web-site under context root ibmswauth
Operation failed with error:
[ibmswauth:ibmswauth] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit WD_WORK.
The only thing in my Persistence.xml file is the <persistence-unit> tag with name "WD_WORK", and in that a <jta-data-source> tag.
Also, it runs fine on the local embedded server, it's only when i try and deploy that it gives this error. I even deployed my app to an EAR file and tried uploading it manually to the app server, still same error.
any ideas?If you have a model project that has objects referenced by the view controller/UI project then you need to explicitly include them in the deployment. Unlike in embedded OC4J they wont be automatically included.
Create an ADF library deployment profile in the model project and include the generated library in your UI project war file. You can add this jar to the project Libraries/Classpath then make sure it is included in the WEB-INF/lib Contributors list. -
JDeveloper won't deploy to standalone OC4J
Hello:
I have installed OC4J 10.1.3 and I want to get JDeveloper 10.1.3.3 to deploy to it. I completed to Application Server wizard using localhost and port 8888 as my settings. When I try to deploy a web app, the deployment pauses indefinitely with just the messages:
---- Deployment started. ---- Feb 18, 2008 11:20:54 AM
Target platform is Standalone OC4J 10g 10.1.3 (OC4J101300).
Wrote WAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.war
Wrote EAR file to C:\jdev10133\jdev\mywork\Experiments\A3\deploy\webapp.ear
I when I test the connection in the App Server properties it runs forever, too. I tried reading the online documentation to no avail. Is it the localhost and/or port 8888 causing the trouble? How can I find out the correct settings?
Thanks.
Erichi Eric
Did you use port 8888 in the connection your Application Server connection you defined?
Typically that would be the HTTP port for the standalone OC4J, while you need the RMI port.
I don't think it is possible to find the RMI port using the Oracle EM 10g Application Server Control for a standalone OC4J 10.1.3 (that is using "http://localhost:8888/em").
You can find the RMI port in the file "<your-oc4j-1013-dir>\j2ee\home\config\rmi.xml" as the "port" attribute for the "rmi-server" element.
Mine has the value "23791".
success
Jan Vervecken
Maybe you are looking for
-
How do I configure Time Capsule as backup with an existing d-link router?
I just purchased a 1T Time Capsule. My original idea was that it would replace our d-link router. However, I was not happy with the speed and connectivity compared with the totally awesome D-Link (Dual Band DIR825), which is solid and connects and st
-
Is there a way to have the address panel open automatically when opening Mail in Mavericks?
Before upgrading to Mavericks, Mail panels such as the Address Panel would open if they were open last time quit the program. Now I can't see a way to have this happen. I have to manually open these.
-
Windows 8.1 cannot change password in Windows 2003 domain level domain
On several installations of windows 8.1 enterprise, users cannot change passwords by using <ctrl> + <al> + <del> keys and choosing change password. The error is: "The security database on the server does not have a computer account for this workstat
-
Weird Issue : Difference in HTML/excel output and pdf/rtf output--Urgent
Hi There, I am facing a weird issue. I created one rtf template. When I preview the o/p in rtf or pdf, everything comes up as expected. When I preview the same in html or excel, few rows come up as bold though they were not supposed to. What could be
-
Target Disk Mode error..?
Let me premise this quiestion by saying I am rather new with macs.. love em so far, but have been rasied on PC's.. anyways, I have an ibook G4 that someone gave to me because it had the flashing question mark on startup, I booted from install disk an