Error deployment to standalone oc4j (jdeve 11g tech prev 3)
something to do with persistence...
and entitymanager.. similar to bundleoc4j issue..
AnnotatedClassNotFoundException
even though the classes are chosen and checkmarked..
(as in 10g)
Caused by: java.lang.InstantiationException: Application: M2miAPplicationDemo is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:645)
at com.evermind.server.Application.setConfig(Application.java:448)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2114)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
... 7 more
Caused by: oracle.oc4j.persistence.PersistenceException: [M2miAPplicationDemo] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.PersistenceProvider for persistence unit Model.
at oracle.oc4j.persistence.PersistenceException.exceptionCreatingEntityManagerFactory(PersistenceException.java:113)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:177)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createPersistenceUnit(PersistenceUnitManagerImpl.java:139)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:79)
at oracle.oc4j.persistence.ServerPersistenceUnitManagerImpl.initialize(ServerPersistenceUnitManagerImpl.java:17)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:268)
at com.evermind.server.Application.setConfig(Application.java:551)
... 10 more
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [Model] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: m2mi.model.Hoststats to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: m2mi.model.Hoststats
Dependent class: oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor
Loader: oracle.toplink:11.1.1.0.0
Code-Source: /C:/jdeveloper/lib/java/shared/oracle.toplink/11.1.1.0.0/toplink-core.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdeveloper\j2ee\home\oc4j.jar
Hi,
please try this with the embedded OC4J that you can start as stand alone server. If you use the OC4J isntance you download from OTN then you get one of version TP1, which is probably not working well with the changes in JDeveloper 11 TP3
Frank
Similar Messages
-
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. -
Problem in ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
JyotiHi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank -
Problem :ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4
Hi,
I am running an ant task in Oracle JDeveloper 11g Tech Preview 4
the Task is as follows :
<target name="generate-from-wsdl5" >
<oracle:jaxwsGenImpl
wsdl="contract/wsdl/${SRC_WSDL}"
/>
</target>
The Output is :
D:\Pras3\WebServiceRi\ws>ant generate-from-wsdl5
Buildfile: build.xml
[taskdef] File D:\Pras3\WebServiceRi\ws\oracle\antlib.xml does not exist
generate-from-wsdl5:
BUILD FAILED
D:\Pras3\WebServiceRi\ws\build.xml:188: Problem: failed to create task or type antlib:oracle:jaxwsGenImpl
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
-D:\Jdev11-Tecpr4\ant\lib
-C:\Documents and Settings\jnandi\.ant\lib
-a directory added on the command line with the -lib argument
Total time: 0 seconds
I am getting the above error can sommeone please help me and please tell me how to use the ant task "oracle:jaxwsGenImpl " on Jdev 11G Tech Preview 4 or Jdev 11G Tech Prev 4 dont support this
Thanks and Regards
JyotiHi,
the JDeveloper 11 forum is: JDeveloper and OC4J 11g Technology Preview
Frank -
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 -
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 -
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 -
Error in configuring SOA from jdev 11g TP4
i get an error while configuring SOA from jdev 11g, error is in Test DB setting in first step. These are the details
DB Connection String : localhost:1521:XE
DB User Name: adrs_soainfra
DB Password: welcome1
error is “There was a problem in establishin a test connection to [localhost:1521:XE]. please review your Database settings and retry(oracle.jdbc.driver.T4CTTIoer processError
SEVERE: Throwing SQLException: ORA-00942: table or view does not exist
942
DB is up and connected via SQLPLUS. All required env parameters are there i.e ORACLE_HOME, PATH, ORACLE_SIDThis error is due to the scripts not being run correctly. Read the instructions carefully and run them again. The first script is run as user "sys", the second one as your user you indicate in the parameters to the first script. Make sure you use the _all scripts.
Heidi. -
Error happened when deployed my project in JDev 11g!Help!!!
First I ran the project successfully, then when I ran it again, error happened and other project had the same error. I found solution in forum that delete the file "system11.1.1.0.31.52.05" in the install path of JDeveloper 11g, but this needs to close the Jdev . It is so inconvenient.
Who would like to tell me how to fix it except above solution?
The following is the error message:
java.lang.RuntimeException: java.lang.NullPointerException
at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:88)
at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deplo... [Show more]I seem to have the exact same error, as you can see below..
Funny thing is, I was also able to run the application without any trouble.
From one moment to the other it gave this error.
Is there someone who knows the way to fix this?
My error message:
#### Deployment incomplete. #### Jun 24, 2009 4:15:03 PM
java.lang.RuntimeException: java.lang.NullPointerException
at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:88)
at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
Caused by: java.lang.NullPointerException
at oracle.ide.net.URLFileSystem$TrackedOutputStream.flush(URLFileSystem.java:2332)
at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.flush(MonitoredOutputStream.java:84)
at java.io.FilterOutputStream.close(FilterOutputStream.java:140)
at oracle.jdevimpl.deploy.stripe.MonitoredOutputStream.close(MonitoredOutputStream.java:89)
at oracle.jdevimpl.webapp.jsp.libraries.wl.WebLogicDeployerListener.prepared(WebLogicDeployerListener.java:146)
at oracle.jdevimpl.deploy.fwk.ListenerSupport.firePrepared(ListenerSupport.java:178)
at oracle.jdeveloper.deploy.common.AbstractDeployer.prepare(AbstractDeployer.java:78)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:430)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:82)
... 26 more
#### Cannot run application BrowseEditApp due to error deploying to DefaultServer.
[Application BrowseEditApp stopped and undeployed from Server Instance DefaultServer] -
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
-Janhi
I'm not sure if this is related to what I have found in readme.html that is part of JDeveloper 10g preview:
--8<----------
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<----------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 -
Error while running HRFacadeClient of JDev 11g Tutorial
Hi,
I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
Section 19 says to run application under OC4J,
<strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
Default Server - Log
D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Oct 30, 2008 12:39:05 PM AST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<Oct 30, 2008 12:39:05 PM AST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Oct 30, 2008 12:39:05 PM AST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<Oct 30, 2008 12:39:06 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:06 PM AST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 30, 2008 12:39:06 PM AST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
<Oct 30, 2008 12:39:08 PM AST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Oct 30, 2008 12:39:11 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
<Oct 30, 2008 12:39:12 PM AST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 30, 2008 12:39:12 PM AST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 9953 ms.
DefaultServer started.
[Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
Uploading credentials.
---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
Target platform is (Weblogic 10.3).
Running dependency analysis...
2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
Deploying Application...
<Oct 30, 2008 12:39:17 PM AST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.>
Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
<Oct 30, 2008 12:39:18 PM AST> <Warning> <EJB> <BEA-012035> <The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
Application Deployed Successfully.
Elapsed time for deployment: 4 seconds
---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
Run startup time: 5063 ms.
[Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
<strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
Now when I run <strong>HRFacadeClient</strong> the log shows following error.
EJBModel.jpr - log
[EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List<oracle.Departments> queryDepartmentsFindAll() in EJB Object
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
at $Proxy11.queryDepartmentsFindAll(Unknown Source)
at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
Process exited with exit code 1.
Please guide me how to solve this error and continue with tutorial...
Regards,
SanthoshHi Heidi,
I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
This message is repeatedly displaying in messages tab:
Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
Any comments will be appreciated.
Thanks again
Esfand
Edited by: user3788199 on Sep 8, 2008 6:50 AM -
Authentication Error while Configue SOA in JDev 11g TP4
Hi everyone.
I'm trying to configure SOA suite 11g in my local system. I have done the schema creation and already created a App server connection in JDev->Tools-> Java EE Runtime Preferences.
When I start the configue SOA, it failes to start or stop the oc4j instance as below phase:
[echo] Changing oc4j ports with following values:
HTTP Port : 8988 -> 8888
RMI Port : 23891 -> 12401
RMI SSL Port: 24043 -> 24043
JMS Port : 9227 -> 12601
[echo] Create jms queues/topics from new oc4j jms template
[echo] Changing jms.xml to use port : 12601
[echo]
* Configuring SOA Infrastructure. This will take 5-10 minutes. *
* Summary of SOA configuration parameters: *
** Oracle Home = F:\jdeveloper11g\
** Oracle Instance = F:\jdevinstance\system11.1.1.0.22.49.49
** SOA Database = localhost:1521:XE
** SOA Database User = jdev_soainfra
** HTTP Port = 8888
** RMI Port = 12401
** JMS Port = 12601
** Component Type = o.j2ee
** Component Name = embedded-oc4j
** Configure OWSM = false
** Configure SOA Console = true
** Configure B2B UI = false
** Configure XEngine = false
[echo] ==Stopping oc4j standalone...
[exec] Result: 1
[echo] ==Waiting max 240 second(s) for shutdown of URL http://ESFANDIYAR:8888...
BUILD FAILED
F:\jdeveloper11g\install\bpel\build.xml:10: The following error occurred while executing this line:
F:\jdeveloper11g\install\bpel\soa-infra-config.xml:48: The following error occurred while executing this line:
F:\jdeveloper11g\install\bpel\soa-infra-config.xml:89: ***************************************************
* Configuring SOA Infrastructure has FAILED.
* If following log files exists, please check them for possible cause:
* F:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
* F:\jdevinstance\system11.1.1.0.22.49.49\o.j2ee\embedded-oc4j\log\startsoa.log
Total time: 4 minutes 23 seconds
I checked the log file and it says it is encountered an authentication error. I'm wondering which user name and password it is referring and where shall I set the correct values. During the app server connection, I have entered the proper value for oc4jadmin/password.
Aug 30, 2008 11:37:00 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNING: J2EE JNDI-00005
Authentication failed when trying to connect to the server. You need to provide a valid username and password.
Caused by:class javax.naming.AuthenticationException: Not authorized
oracle.oc4j.admin.deploy.cmdline.AdminCommandException:
Failed to connect to the server with deployment URI (deployer:oc4j:ESFANDIYAR:12401). Please refer to the exception trace from server above to identify the cause.
at oracle.oc4j.admin.deploy.cmdline.AdminCommandBase.execute(AdminCommandBase.java:54)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:107)
at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdline.java:71)
Thanks for any help.
EsfandHi Heidi,
I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
This message is repeatedly displaying in messages tab:
Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
Any comments will be appreciated.
Thanks again
Esfand
Edited by: user3788199 on Sep 8, 2008 6:50 AM -
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. -
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 PMyou 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 ..... -
Deploying WAR file with jdev 11g in weblogic 10.0
Hello,
I´m Facing a problem deploying a simple aplication in Weblogic with jdev 11g
here´s the Error Message :
2009-05-06 13:52:41.781: Writing WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
2009-05-06 13:52:41.781: Wrote WAR file to C:\JDeveloper\mywork\Application3\Project1\deploy\webapp1.war
Deploying Application...
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp1 on AdminServer.: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
... 25 more
weblogic.application.ModuleException: Unmarshaller failed.
weblogic.application.ModuleException: [HTTP:101064][WebAppModule(webapp1:webapp1.war)] Error parsing descriptor in Web appplication "/opt/oracle/bea/user_projects/domains/alui/./servers/AdminServer/upload/webapp1/app/webapp1.war"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:858)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:285)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://www.bea.com/ns/weblogic/weblogic-web-app
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:329)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:296)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:306)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:287)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:164)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:853)
... 25 more
weblogic.application.ModuleException: Unmarshaller failed
#### Deployment incomplete. #### May 6, 2009 1:52:43 PM
Deployment Failed
does anyone had this problem , please help, i´m trying to solve this problem and still couldn´t make it.
Best Regard,
VitorApplications that you build with JDeveloper 11g are normally aimed at WebLogic 10.3 servers.
They require Java EE 1.5 and JDK 6.
Maybe you are looking for
-
How do I save transparency in a logo when saving to a pdf?
I have a logo with a transparent object (trying to achieve a stamped/weathered look), transparency set at 80%. When I go to save as pdf, the object looks jagged and 100% (no transparency). Help!
-
How to turn off screen rotation on itouch 5
I just upgraded to a 32 bit iTouch 5 and was wanting to know how to turn off the screen rotation when I'm playing music. I have the shake to shuffle off (great feature!) but would like to turn off the screen rotation. I just find that to be annoying
-
New 2600xps...can I upgrade???
Major newbie question here.... I have the KT3 Ultra ARU. Wondering if I can upgrade to the new 2600 AMD chips to soon come out. Do I need some sort of BIOS flash to do this, anything else, or does my board just support up to 2200? TIA :D
-
How to Remove the default Block for payment in MIRO
Hi, In MIRO after posting the document message is coming, "Document no. 5105600184 created (Blocked for payment)" But our requirement is to remove the default "Block for payment" What is the necessary setting to be done to remove it. Thanks Prasant
-
Should I repair an Ibook logic board
I can have a 12 inch ibook 1.2ghz if I pay to repair it. It was just 14 months old, had been treated with great respect, when the logic board failed. Needless to say its owner had not purchased any extended warranty. Its owner purchased a new macbook