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

Similar Messages

  • Deploying to standalone OC4J

    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,
    diane

    got - wasn't referring to the complete deployment name...
    d

  • 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.

  • Standalone OC4J fails

    I have deployed my app to the standalone OC4J instance installed in Jdeveloper 9.0.3. I have done java -jar oc4j.jar -install and set my password. The deployment went without fail.
    I can enter http://<name>:8888 and I get the OC4J instance welcome page.
    When I enter http://<name>:8888/<app_dir>/<app_name).jsp
    I get a "Page cannot be displayed" and this is my application.log:
    5/13/03 12:42 PM Started
    5/13/03 12:42 PM Started
    5/13/03 12:42 PM cydcorweb: jsp: init
    5/13/03 12:42 PM cydcorweb: 9.0.3.0.0 Started
    5/13/03 12:43 PM cydcorweb: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 2, <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    Error: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI
    What does this mean?
    BTW, I have done this exact deployment procedure on my laptop and the app runs there.
    TIA,
    Ed.

    Never mind. I de-installed 9.0.3.1 and re-installed it and now the app runs fine. I must have messed up something in my preivous config.

  • Deployment to standalone OC4J

    Please Help!
    This app works well in Embedded OC4J but anytime I deploy it to standalone OC4J, I get the below error:
    Thanks
    ---- Deployment started. ---- Mar 5, 2005 1:31:09 PM
    Target platform is Standalone OC4J (AppServerConnection1).
    Wrote EJB JAR file to D:\Ora\jdev\mywork\App3\Model\deploy\ejb1.jar
    Wrote WAR file to D:\Ora\jdev\mywork\App3\ViewController\deploy\webapp1.war
    Wrote EAR file to D:\Ora\jdev\mywork\App3\ViewController\deploy\alashoofi.ear
    Invoking OC4J admin tool...
    D:\Ora\jdk\jre\bin\javaw.exe -jar D:\Ora\oc4j\j2ee\home\admin.jar ormi://Princeton/ admin **** -deploy -file D:\Ora\jdev\mywork\App3\ViewController\deploy\alashoofi.ear -deploymentName alashoofi
    Error: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
    com.evermind.client.orion.AdminCommandException: Deploy error: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:95)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1527)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1480)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:55)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at com.evermind.client.orion.DeployCommand.execute(DeployCommand.java:92)
         at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminConsole.java:118)
         at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java:27)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)
         at com.evermind.server.Application.postInit(Application.java:553)
         at com.evermind.server.Application.setConfig(Application.java:170)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    ---- Embedded exception
    java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application alashoofi: Error loading package at file:/D:/Ora/oc4j/j2ee/home/applications/alashoofi/ejb1.jar,
    Error compiling D:\Ora\oc4j\j2ee\home\applications\alashoofi\ejb1.jar: Syntax error in source
         at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2428)
         at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2412)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2195)
         at com.evermind.server.Application.postInit(Application.java:553)
         at com.evermind.server.Application.setConfig(Application.java:170)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1927)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:407)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:127)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         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(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Unknown Source)
    Exit status of OC4J admin tool (-deploy): 1
    Elapsed time for deployment: 34 seconds
    #### Deployment incomplete. #### Mar 5, 2005 1:31:43 PM

    you should deploy it in deploy file.
    example:
    1,start_oc4j in cmd.exe or .sh
    2,use run =====>deploy to===>new deploy
    3,input you information.
    4,right click the deploy file and click the deploy to .....

  • 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.Penev

    Same 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

  • 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.
    Eric

    hi 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

  • JDev 10g : deploy to standalone OC4J

    hi
    (using JDeveloper 10g Preview, build 1375)
    I have been trying to deploy an application to a standalone OC4J, based on the JDeveloper help topics:
    - "Deploying ADF Business Components Web Applications to Oracle Application Server or Standalone OC4J"
    - "About ADF Business Components Deployment Prerequisites for OC4J and Oracle Application Server Deployment"
    After that I got:
    java.lang.NoClassDefFoundError: oracle/jbo/uicli/graph/JUSingleTableGraphDefThis class is in adfm.jar, which is part of the "ADF Model Runtime" library, which I configured to be deployed in my EAR file. I checked the files for my application in my standalone OC4J and adfm.jar was there. Even after restarting the OC4J, the class NoClassDefFoundError persisted.
    (Oh, by the way, I wouldn't know where I am using the class JUSingleTableGraphDef in my application. At least non of my classes was in the stack trace.)
    What should be my next step?
    tnx
    -Jan

    hi
    I'm not sure if this is related to what I have found in readme.html that is part of JDeveloper 10g preview:
    --8&lt;----------
    Oracle Application Development Framework Issues
    Struts Application Standalone is not Automatic (2996626)
    Running a struts application in standalone OC4J results in NoClassDefFound exception
    The workaround is to check the library in the deployment profile.
    --8&lt;----------If it is related, the workaround doesn't seem to apply because adfm.jar has been deployed with the application.
    Any suggestions (from Oracle)?
    Has anyone been able to deploy an ADF Business Components based application to a standalone OC4J?
    tnx
    -Jan

  • Deploy on Standalone OC4J

    Hi everyone,
    We are developing application on JDeveloper11 TP2. Now I am trying to run it on the latest OC4J TP4. Following instructions from: http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    and modifying default-web-site.xml I succeeded to deploy and run simple "Hello World" application and with it everything is fine. Our application that we are developing is much more complex (ADF Faces, ADF BC). I have deployed it and started it with success but when I try to access it from browser I receive internal server error with following server log:
    08/07/03 11:35:29 ADFc: BindingContext is not present, not using ADFm APIs for DataControlFrames.
    08/07/03 11:35:29 ADFc: Controller caching of MDS metadata resources ENABLED.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:29 WARNING: ADFc: Duplicate bootstrap configuration file specified:'/WEB-INF/adfc-config.xml'.
    08/07/03 11:35:50 WARNING: tee: Servlet error java.lang.ClassCastException:oracle.adf.share.security.providers.jazn.JAZNSecurityContext
    at oracle.adf.share.ADFContext.getSecurityContext(ADFContext.java:276)
    at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:357)
    at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:333)
    at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:60)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:170)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
    at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
    at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    What can be the reason for this and how can I solve it.
    Thanks!!!

    Hi again,
    as you suggested I tried with TP4 and it ended with success. I haven't used standalone oc4j because TP4 doesn't have adf runtime installer. Instead I have used embedded oc4j in standalone mode. First after deploying app I got missing class error which I solved with Missing library error while deploying the ADFBC application
    After that application pages are accessible but it is TP4 version of app and lot of things don't work as should.

  • Import not found when deploying to Standalone OC4J

    Hi,
    I'm developing a small application, consisting of a few classes and a few jsp pages. I'm using JDeveloper 9.0.3.1 with the sun j2sdk 1.4.2 for windows.
    I test my application with the embedded OC4J in Jdeveloper, and it runs fine. But when I deploy it to the standalone OC4J, I get this error:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errores de compilación:F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\\_integrate2.java
    Note: sun.tools.javac.Main has been deprecated.
    F:\programas\Oracle\jdeveloper\j2ee\home\application-deployments\Workspace4-WSWrappers-WS\WebServices\persistence\_pages\_integrate2.java:6: Class webservices.Integrator not found in import.
    import webservices.Integrator;
    ^
    1 error, 1 warning
    This error does not happen when using the embedded OC4J server, only when deploying to the standalone. Since leaving JDeveloper up all times to use de app is not an option :) I really would appreciate any help towards solving this matter. I suspect it has to do with deployment options and whatnot, but I can't find anything wrong. Of course, I'm fairly new to this (jsp/OC4J), so it can be an obvious mistake right under my nose.
    thanks
    Javier

    Fixed. The problem was my Standalone OC4J was not properly installed, AND I was doin the deplyment wrong. Now it works by creating a war file, deploying to the war file and THEN deploying to the OC4J Standalone connection.
    So, if you start seeing "import not found" when deploying to standalone and it works on the embedded, check you war files to see if they REALLY are packing the classes they are supposed to carry.

  • 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
    Yves

    Are 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

  • 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)
    ???

  • Problem in deploying to standalone oc4j 11TP4

    I developed standard web app in Jdeveloper 11g which contains web module and one ejb jar. App runs successfully on embedded oc4j in Jdev. Then I made EAR which packed this project and deployed it to standalone oc4j11 TP4. Deployment passed successfully, but when I tried to open my page I get following error:
    JspServlet error: Servlet unable to dispatch to the following requsted page: The following exception occurred:java.io.FileNotFoundException: C:\JAVA\jdevstudio1111\j2ee\home\default-web-app\App1-web\faces\login.jspx (The system cannot find the path specified)
    Now, I know this is a typical error when the location is wrong or we request non existing page. But this confused me a bit:
    \default-web-app\App1-web\
    I checked on file system and, of course, my app is not in default-web-app directory, but in applications diretctory. As I said, deployment went OK. Why is OC4J looking my app in default-web-app?
    Application was deployed using command line:
    java -jar C:\JAVA\jdevstudio1111\j2ee\home\admin_client.jar deployer:oc4j:makor:23791 fmwadmin adminadmin -deploy -file c:\TEMP\App1.ear -deploymentName App1
    I have noticed one more thing. After deployment I get following error oc oc4j console:
    SEVERE: XMLApplicationServerConfig.store application configuration parsing is failed. please correct the problem and restart oc4j.
    The same thing happens when I deploy another test web application which contains only web module.
    So, what is this supposed to mean? I haven't done anything with config files, I just used out of the box config from Jdev. Where should I look?

    Can you try and see if the following parameters for the command line help:
    -deploy -file c:\TEMP\App1.ear -deploymentName App1 -bindAllWebApps default-web-site

  • Jax-ws deployed in standalone client fails with nullpointerexception

    I have a project which has deployed successfully as a standalone client with deployed jar files wlfullclient.jar, etc. When I add the jax-ws functions that I require, the deployed client fails with a nullpointerexception that is generated from the constructor of the Service class. The project runs successfully within the JDeveloper 11.1.1.5 environment and on a weblogic 10.3 server platform, but fails when I deploy as a standalone client with the wlfullclient.jar. I'm using JDK 1.6.0_24. In testing, the error occurs when I replace the {WLHome}\server\lib\weblogic.jar entry in the classpath with the wlfullclient.jar.
    I tested from another angle by creating my jax-ws functions in a standalone deployment, and it works successfully communicates with the webservices. No additional entries on the classpath besides my deployed jar. I then added to my deployment a simple JMS context lookup:
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, contextFactoryProvider);
    ht.put(Context.PROVIDER_URL, urlString);
    Context context = new InitialContext(ht);
    This test runs without error in the JDeveloper environment. As soon as I add the wlfullclient.jar in the standalone environment, I get the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/ws/spi/ProviderImpl
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    at javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:150)
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:30)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:90)
    at javax.xml.ws.spi.Provider.provider(Provider.java:83)
    at javax.xml.ws.Service.<init>(Service.java:56)
    Interestingly, there is a class com/sun/xml/internal/ws.spi/ProviderImpl in the {JAVA_HOME}/jre/lib/rt.jar file, and I suppose this is what is used by the jax-ws classes when the wlfullclient.jar is not present on the classpath.
    So, what is it that I am missing in how to get the jax-ws classes and the jms classes to work in the standalone deployment environment (outside of the JDeveloper environment).
    Edited by: user3653687 on Jan 9, 2012 1:38 PM
    Edited by: user3653687 on Jan 9, 2012 2:49 PM

    Here is how I solved this problem to execute the application from a jar file (using Oracle Fusion Middleware 11.1.1.5.0 distribution). The key seems to be to extract the contents of the wseeclient.zip file into the same directory as the wlfullclient.jar and ws.api_1.1.0.0.jar files and then ensure that these 2 jars are on the classpath.
    In JDeveloper, create a project that has the jms/jax-ws classes.
    Put the following text entries to form the classpath (along with other dependent jars, e.g. org.eclipse.persistence...) into a file which will be included in the manifest for the client jar. Be sure to separate entries with a space.
    lib/wlfullclient.jar lib/wseeclient.jar lib\ws.api_1.1.0.0.jar lib\org.eclipse.persistence_1.1.0.0_2-1.jar
    In the Edit Deployment Profile Properties, select Include Manifest File, specify the main class to execute, and Add the classpath file to be included in the manifest.
    Deploy the jar file.
    In a deployment area, create the directory that will contain all the classpath jars (e.g. ./lib).
    Within the directory ./lib, extract all files from wseeclient.zip (found in {weblogic home}/server/lib)
    Copy wlfullclient.jar into the directory ./lib from the {weblogic home}/server/lib
    Copy ws.api_1.1.0.0.jar into the directory ./lib from {oracle middleware home}modules
    Copy org.eclipse.persistence_1.1.0.0_2-1.jar (for jaxb support) itno the directory ./lib from {oracle middleware home}/modules
    Copy the deployed client jar to the deployment area and execute, e.g.:
    java -jar ClientTest.jar myArguments

  • 10.1.3 EA1 library deployment to standalone oc4j problem

    I'm having trouble getting a library to deploy with EA1. It deployed OK with 10.1.3 DP.
    The deployment consists of the ViewController and Model projects (as created by jdev) plus a third project I created called businessobjects.
    The problem lies with a library that fails to be deployed but is needed by the Model and businessobjects projects. This results in "Missing class" error messages. (BTW, the library consists of a directory and a jar).
    With 10.1.3 EA1 under War Deployment Profile Properties>WEB-INF/lib>Contributers, the library does not show up whereas it does with 10.1.3 DP. As far as I can see it looks like I've specified all the dependancies and check-marked the appropriate boxes but obviously I must be doing something wrong.
    The application runs as expected within jdev.
    Anyone have any specific places I should double check?
    Regards,
    Al Malin

    Don't worry,
    It just means that the embedded server inside JDeveloper is a developer preview version. The OC4J team uses a different way to name their "early access" releases.

Maybe you are looking for

  • Installing new layer styles in PSE 7

    What is the correct way to install new layer styles into pse 7? ( I use Vista) Do I move my extracted style file into the layer styles folder by following this pathway: program data>adobe>photoshop elements>7.0>photo creations>layer styles. Do I need

  • Communication channels not shown in adapter monitoring

    Hello everybody, we got several communication channels running on the same file-adapter. But in adapter monitoring only ONE communication channels is shown. The other communication channels are not shown although we expected them at least with an err

  • When I ask for a new window I get five new windows, I want that to stop

    when I go to firefox and I go to file and ask for a New window I get FIVE new windows!! This is driving me nuts! Also, when I initially open firefox it opens with five windows and Yahoo is all over the place! Make it stop! any suggestions.

  • Need a little help here

    Hey everyone, I am brand new to JAVA and have hit a road block. It is my understanding that some information has to be added into the Environment variables. This is what I have so far. JAVA_HOME c:\Program Files\Java\jdk1.7.0 Path %JAVA_HOME%\bin; CL

  • Logic Express/Emagic emi6/2m problem

    I've recently started having a problem with my iBook/Logic Express (7.1.1) and Emagic emi6/2m audio interface. I'm getting regular audio pops and clicks when playing my synth plug-ins (it happens with all the ones I've got) and only happens when I pl