Checkiin Universal from Jdeveloper(webservices)
HI
Im trying to consume the checkinuniversal service from my webcenter application.
Steps done as instructed in the URL below
http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
But when i try to cehkin the document from my webcenter application it showin an error ' Content item 'scs' was not successfully checked in. The content item must have a primary file.'
Is there any other way to checkin content from webcenter application through java code/CIS/ or any one has idea about primary file issue-how to resolve it.
Can you please share your ideas/ sample code(CIs) if any
thanks Smith
Smith,
Have you tried on either the ECM or WebCenter forums? I'd probably start with the [url http://forums.oracle.com/forums/forum.jspa?forumID=390]ECM one.
Best,
John
Similar Messages
-
OC4J Deployment from JDeveloper 10.1.3 Webservice Instantiation ERROR
I am trying to deploy an EJB web service from JDeveloper 10.1.3 and keep getting this error: InstantiationException.
Note: in the readme.txt, it describes running OC4J with the EBJ3.0 option.
(OC4J -start -ejb3)
-start [-ejb3] : start OC4J with EJB30
enabled
This did not work. Any suggestion?
See below for error message.
The OC4J version is: Version 10.1.3.0.0 build#060119 Java Standalone version.
2006-02-09 15:48:21.812 NOTIFICATION Processing EJB module: ApplicantEJBWS.jar
2006-02-09 15:48:21.828 ERROR J2EE EJB3027 [ApplicantEJBWS] An error occured dep
loying EJB module: javax.ejb.EJBException: nested exception is: java.lang.reflec
t.InvocationTargetException
2006-02-09 15:48:21.828 NOTIFICATION application : ApplicantEJBWS is in failed s
tate
06/02/09 15:48:21 WARNING: Application.setConfig Application: ApplicantEJBWS is
in failed state as initialization failedjava.lang.InstantiationException: Error
initializing ejb-modules: nested exception is: java.lang.reflect.InvocationTarge
tException
Feb 9, 2006 3:48:21 PM com.evermind.server.Application setConfig
WARNING: Application: ApplicantEJBWS is in failed state as initialization failed
java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
on is: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Error initializing ejb-modules: nested exception is: java.lang
.reflect.InvocationTargetException
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:510)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:191)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:93)
06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
erRunnable.doRun(OC4JDeployerRunnable.java:52)
06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
nnable.run(DeployerRunnable.java:81)
06/02/09 15:48:21 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
r.run(PooledExecutor.java:814)
06/02/09 15:48:21 at java.lang.Thread.run(Thread.java:595)
06/02/09 15:48:21 Caused by: java.lang.InstantiationException: Error initializin
g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:1056)
06/02/09 15:48:21 at com.evermind.server.ApplicationStateRunning.initializ
eApplication(ApplicationStateRunning.java:210)
06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
.java:391)
06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
.java:308)
06/02/09 15:48:21 at com.evermind.server.ApplicationServer.addApplication(
ApplicationServer.java:1771)
06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:507)
06/02/09 15:48:21 ... 6 more
06/02/09 15:48:21 Caused by: javax.ejb.EJBException: nested exception is: java.l
ang.reflect.InvocationTargetException
06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:352)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:343)
06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:92)
06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
tionListeners(AnnotationParser.java:197)
06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
ions(AnnotationParser.java:69)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
aData(EJBPackageDeployment.java:964)
06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:831)
06/02/09 15:48:21 ... 11 more
06/02/09 15:48:21 Caused by: java.lang.reflect.InvocationTargetException
06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:39)
06/02/09 15:48:21 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
06/02/09 15:48:21 at java.lang.reflect.Method.invoke(Method.java:585)
06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:83)
06/02/09 15:48:21 ... 15 more
06/02/09 15:48:21 Caused by: java.lang.NoClassDefFoundError
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.ValueType
Modeler.<init>(ValueTypeModeler.java:53)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModele
r.<init>(RmiModeler.java:103)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.RmiModelInfo.g
etModeler(RmiModelInfo.java:93)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.ModelInfo.buil
dModel(ModelInfo.java:167)
06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.Processor.runModeler(
Processor.java:72)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
enerator$DeploymentCompileTool.run(DeploymentGenerator.java:190)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
enerator.generateDeploymentArtifacts(DeploymentGenerator.java:121)
06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.EJBWebServi
ceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
06/02/09 15:48:21 ... 20 more
2006-02-09 15:48:21.843 NOTIFICATION Application Deployer for ApplicantEJBWS FAI
LED.
2006-02-09 15:48:21.843 NOTIFICATION Application UnDeployer for ApplicantEJBWS S
TARTS.
2006-02-09 15:48:21.843 NOTIFICATION Removing all web binding(s) for application
ApplicantEJBWS from all web site(s)
2006-02-09 15:48:22.062 NOTIFICATION Application UnDeployer for ApplicantEJBWS C
OMPLETES.
06/02/09 15:48:22 WARNING: DeployerRunnable.run java.lang.InstantiationException
: Error initializing ejb-modules: nested exception is: java.lang.reflect.Invocat
ionTargetExceptionoracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Error initializing ejb-modules: nested exception is: java.lang
.reflect.InvocationTargetException
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nes
ted exception is: java.lang.reflect.InvocationTargetException
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
at com.evermind.server.ApplicationStateRunning.initializeApplication(App
licationStateRunning.java:210)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1771)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:507)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:191)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
tionTargetException
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:352
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:343
at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
notatedClass(WebServiceAnnotationListener.java:92)
at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(An
notationParser.java:197)
at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationP
arser.java:69)
at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackage
Deployment.java:964)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:831)
... 11 more
Caused by: 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:585)
at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
notatedClass(WebServiceAnnotationListener.java:83)
... 15 more
Caused by: java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.processor.modeler.rmi.ValueTypeModeler.<init>(V
alueTypeModeler.java:53)
at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.<init>(RmiMode
ler.java:103)
at oracle.j2ee.ws.common.processor.config.RmiModelInfo.getModeler(RmiMod
elInfo.java:93)
at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo
.java:167)
at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:7
2)
at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$Deploym
entCompileTool.run(DeploymentGenerator.java:190)
at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generat
eDeploymentArtifacts(DeploymentGenerator.java:121)
at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationPars
er.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
... 20 more
2006-02-09 15:48:22.062 WARNING java.lang.InstantiationException: Error initiali
zing ejb-modules: nested exception is: java.lang.reflect.InvocationTargetExcepti
on
Message was edited by: mritchson
user486624I fixed the problem.
Removed the Java standalone version OC4J 10.1.3 and installed the FULL Application server ver 10.1.3. -
Error in deploying a web service from jdeveloper 10 to weblogic 10
hi , I succeed to create connexiion to weblogic 10 from jdeveloper 10 but in deploying my service i have this Exception:
---- Deployment started. ---- 1 mai 2009 09:21:45
Target platform is WebLogic Server 9.x (webAppli).
Checking weblogic.xml for completeness...
Wrote WAR file to D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\WebServices.war
Wrote EAR file to D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear
D:\jdevstudio10134\jdk\jre\bin\javaw.exe -classpath C:\bea\wlserver_10.3\server\lib\wlclient.jar weblogic.Deployer -adminurl http://aymen:7001 -user weblogic -password **** -debug -verbose -deploy -upload -source D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear -name Soustraction-SoustarctionWS-WS
weblogic.Deployer invoked with options: -adminurl http://aymen:7001 -user weblogic -debug -verbose -deploy -upload -source D:\jdevstudio10134\jdev\mywork\Soustraction\SoustarctionWS\deploy\Soustraction-SoustarctionWS-WS.ear -name Soustraction-SoustarctionWS-WS
WebLogicDeploymentManagerImpl.<init>():103 : Constructing DeploymentManager for J2EE version V1_4 deployments
WebLogicDeploymentManagerImpl.getNewConnection():146 : Connecting to admin server at aymen:7001, as user weblogic
ServerConnectionImpl.getEnvironment():282 : setting environment
ServerConnectionImpl.getEnvironment():285 : getting context using http://aymen:7001
ServerConnectionImpl.close():328 : Closing DM connection
ServerConnectionImpl.close():348 : Unregistered all listeners
weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://aymen:7001': Destination unreachable; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:306)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:143)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:93)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.Deployer.run(Deployer.java:70)
at weblogic.Deployer.main(Deployer.java:54)
Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:425)
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:287)
... 6 more
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:142)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
... 9 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: http://aymen:7001: Destination unreachable; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:48)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:739)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:343)
at weblogic.jndi.Environment.getContext(Environment.java:263)
at weblogic.jndi.Environment.getInitialContext(Environment.java:167)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:324)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:296)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:140)
... 11 more
Caused by: java.net.ConnectException: http://aymen:7001: Destination unreachable; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:199)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:137)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:324)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:319)
... 16 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'aymen' and port: '7001' a WebLogic Server?; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:465)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:316)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:255)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:199)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:220)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:187)
... 21 more
**** weblogic.deploy returned with non-zero exit status: 1
**** weblogic.deploy returned with non-zero exit status: 1
Elapsed time for deployment: 2 seconds
#### Deployment incomplete. #### 1 mai 2009 09:21:47
please someone help me.
thank you
aymenHi Wenhao,
I did face something similar ....but when i tried it again...it worked..
In case it does not then before u try to start the procedure to dwnld the Enterprise service wsdl....
uncheck the wsdl validator check box in NWDS...
I suggest u first try to consume the wsdl by importing it locally...
just follow this blog by Boris step by step..
/people/boris.mohr/blog/2007/01/23/how-to-guide-for-consuming-a-web-service-with-a-standalone-client-using-sap-netweaver-application-server-javatm-ee-5-edition
Once u r able to do this..then u can try to consume it from service registry
Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:28 PM
Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:30 PM -
Deploying a project from Jdeveloper
I have created a project consisting of four classes, in order to connect webservices (Content Services). I want to be able to deploy this project from different client machines based on Operative system timer such as "AT".
How do make a deployment set in order to do this from Jdeveloper version 10.1.3.?
With Kindest Regards
Armenoui Pogosian
SoftBASE A/SHi,
select the project, choose NEW from the context menu and select the deployment profile node under the General node. Not sure what you mean by deploying the the project based on OS timer, this for sure isn't in the scope of a development IDE
Frank -
Jdeveloper webservice authentication - HELP!
Hi
ok, this is the situation: I developed a java webservice that i installed in aplication server 10g. It's working fine without authentication! What I need is to force anyone that tries to access the web service to authenticate himself against OID.
I tried a lot of things that worked throw a web browser but they don't work throw a client stub! My goal is when the clent stub tries to access the web service, some kind of authentication mechanism is fired. I need some help urgent on how to secure my web service in AS10g.
What do I need to do from the client side and from the server side? I read the Oracle Application Server web services documentation but the only thing that it states is that it is possible to secure but it doesn't say how!
Please someone respond! I'm using JDeveloper 90501 and AS 10g, my client stub accesses by SOAP.
Thanks in advanced
Vitor CardosoVictor,
there's a way doing it, but NOT against OID per default - you can use as a first step basic auth from your webservice stub, and do the rest programmaticly from you stub by calling a login method for example that does authentication on the server;
For basic authentication, there's an article on my weblog
http://clemensblog.blogspot.com/2004_05_01_clemensblog_archive.html - that points to a detailed howto.
hth clemens -
Java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub error even though jdeveloper run time is in class path?
Works Fine under jdeveloper, have an issue when deployed into 11.5.10?
is there a way I can have WrappedDocLiteralStub.class copied somewhere to get through this error?
please advisePosted in similar thread. Below are contents.
As a solution, Extract the required files from jar available in JDev. Now make a seperate jar file with any name like roy.jar. In that jar file, include the classes which >>are being reported missing like WrappedDocLiteralStub. Now add this jar file to your class path on server. Thus the missing file will be available to you.Abdul Wahid -
Call PL/SQL procedure from JDeveloper
Is that possible to call PL/SQL procedure from JDeveloper?
What's the setup and coding requirements?
Thanks for any input.This is the Code:_
package oracle.e1.bssv.J594101;
import java.util.Hashtable;
import javax.naming.NamingException;
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.InitialContext;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.sql.*;
public class CallSQLProcedure3 {
public CallSQLProcedure3() {
public static void main(String[] args) {
// try {
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.rmi.RMIInitialContextFactory");
// env.put(Context.PROVIDER_URL,
"ormi\\://localhost\\:23891/current-workspace-app");
// env.put(Context.PROVIDER_URL,
"ormi://localhost:23791/E1Services-LOCALDEV");
env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
// env.put(Context.PROVIDER_URL,
"ormi://localhost\\:23791/current-workspace-app");
env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
env.put(Context.SECURITY_CREDENTIALS, "welcome");
Context ctx3 = null;
try {
ctx3 = new InitialContext(env);
} catch (NamingException e) {
// TODO
// Context ctx = null;
try {
// NamingEnumeration n= ctx3.list("ormi://localhost:23791");
// System.out.println(n.hasMore());
Hashtable h = ctx3.getEnvironment();
// while(h.elements().hasMoreElements())
System.out.println(" name " +
h.elements().nextElement().toString());
// InitialContext initialContext = new InitialContext();
// javax.sql.DataSource ds =
(javax.sql.DataSource)initialContext.lookup("jdbc/DBConnection1DS");
// javax.sql.DataSource ds =
(javax.sql.DataSource)ctx3.lookup("jdbc/DBConnection1DS");
// javax.sql.DataSource ds =
(javax.sql.DataSource)ctx3.lookup("jdbc/OracleDS");
javax.sql.DataSource ds =
(javax.sql.DataSource)ctx3.lookup("jdbc/DBConnection1DS");
java.sql.Connection conn;
try {
conn = ds.getConnection();
} catch (SQLException e) {
// TODO
// ctx = new InitialContext();
Context initCtx = new InitialContext();
Context envCtx = (Context)initCtx.lookup("java:comp/env");
// Hashtable h = envCtx.getEnvironment();
// while(h.elements().hasMoreElements())
// System.out.println(" name " + h.elements().nextElement().toString());
DataSource ds2 = (DataSource)envCtx.lookup("DBConnection1DS");
// Connection conn;
// try {
// conn = ds.getConnection();
// } catch (SQLException e) {
// TODO
// } catch (NamingException e) {
// // TODO
// DataSource dataSource = null;
// } catch (NamingException ne) {
// try {
// dataSource = (DataSource)ctx.lookup("jdbc/DBConnection1DS");
// } catch (NamingException e) {
// e.printStackTrace();
// String myError1="Error occured with Initial Context";
Connection conn2;
try {
conn2 = ds2.getConnection();
// conn = ds.getConnection();
} catch (SQLException e) {
// TODO
} catch (NamingException e) {
// TODO
e.printStackTrace();
System.out.println("Error looking up " +e);
This is the Error:_
error message from executing a code ds.getConnection();
D:\oracle\jdevstudio10133\jdk\bin\javaw.exe -client -classpath
D:\e812\ETDV812\Java\classes;D:\oracle\jdevstudio10133\webservices\lib\jaxrpc-api.jar;D:\oracle\jdevstudio10133\webservices\lib\wsclient.jar;D:\oracle\jdevstudio10133\webservices\lib\wsserver.jar;D:\oracle\jdevstudio10133\webservices\lib\wssecurity.jar;D:\oracle\jdevstudio10133\webservices\lib\wsdl.jar;D:\oracle\jdevstudio10133\webservices\lib\orasaaj.jar;D:\oracle\jdevstudio10133\webservices\lib\saaj-api.jar;D:\oracle\jdevstudio10133\webservices\lib\orawsdl.jar;D:\oracle\jdevstudio10133\webservices\lib\orawsrm.jar;D:\oracle\jdevstudio10133\webservices\lib\jaxr_api.jar;D:\oracle\jdevstudio10133\webservices\lib\orajaxr.jar;D:\oracle\jdevstudio10133\webservices\lib\relaxngDatatype.jar;D:\oracle\jdevstudio10133\webservices\lib\jaxb-impl.jar;D:\oracle\jdevstudio10133\webservices\lib\jaxb-libs.jar;D:\oracle\jdevstudio10133\webservices\lib\xsdlib.jar;D:\oracle\jdevstudio10133\webservices\lib\mdds.jar;D:\oracle\jdevstudio10133\jlib\jaxen.jar;D:\oracle\jdevstudio10133\jlib\oraclepki!
.jar;D:\oracle\jdevstudio10133\jlib\ojpse.jar;D:\oracle\jdevstudio10133\jlib\osdt_core.jar;D:\oracle\jdevstudio10133\jlib\osdt_cert.jar;D:\oracle\jdevstudio10133\jlib\osdt_xmlsec.jar;D:\oracle\jdevstudio10133\jlib\osdt_wss.jar;D:\oracle\jdevstudio10133\jlib\osdt_saml.jar;D:\oracle\jdevstudio10133\jlib\repository.jar;D:\oracle\jdevstudio10133\jlib\ojmisc.jar;D:\oracle\jdevstudio10133\j2ee\home\lib\http_client.jar;D:\oracle\jdevstudio10133\j2ee\home\jazncore.jar;D:\oracle\jdevstudio10133\j2ee\home\oc4jclient.jar;D:\oracle\jdevstudio10133\rdbms\jlib\xdb.jar;D:\oracle\jdevstudio10133\diagnostics\lib\ojdl2.jar;D:\e812\ETDV812\ini\sbf;D:\e812\System\Classes\Base_JAR.jar;D:\e812\System\Classes\BizLogicContainer_JAR.jar;D:\e812\System\Classes\BusinessLogicServices_JAR.jar;D:\e812\System\Classes\Connector.jar;D:\e812\System\Classes\EventProcessor_JAR.jar;D:\e812\System\Classes\Generator_JAR.jar;D:\e812\System\Classes\JdbjBase_JAR.jar;D:\e812\System\Classes\JdbjInterfaces_JAR.jar;D:\!
e812\System\Classes\JdeNet_JAR.jar;D:\e812\System\Classes\Maf2Base_JAR
.jar;D:\e812\System\Classes\mafsecurity.jar;D:\e812\System\Classes\Metadata.jar;D:\e812\System\Classes\MetadataInterface.jar;D:\e812\System\Classes\PMApi_JAR.jar;D:\e812\System\Classes\SBFFoundation_JAR.jar;D:\e812\System\Classes\Spec_JAR.jar;D:\e812\System\Classes\System_JAR.jar;D:\e812\System\Classes\SystemInterfaces_JAR.jar;D:\e812\System\Classes\castor.jar;D:\e812\System\Classes\log4j.jar;D:\e812\System\Classes\xerces.jar;D:\e812\System\Classes\xml-apis.jar;D:\e812\System\Classes\Rijndael.jar;D:\e812\System\Classes\ManagementAgent_JAR.jar;D:\e812\System\Classes\commons-logging.jar;D:\e812\System\Classes\commons-codec-1.3.jar;D:\e812\System\Classes\commons-httpclient-3.0.jar;D:\e812\System\Classes\jmxremote.jar;D:\e812\System\Classes\jmxremote_optional.jar;D:\e812\System\Classes\jmxri.jar;D:\e812\System\Classes\rmissl.jar;D:\e812\misc\ojdbc5.jar;D:\e812\misc\mssqlserver.jar;D:\e812\misc\msutil.jar;D:\e812\misc\msbase.jar;D:\e812\misc\db2java.zip;D:\e812\misc\jt400.jar;D:\!
e812\misc\sqljdbc.jar;D:\oracle\jdevstudio10133\lib\xmlparserv2.jar;D:\oracle\jdevstudio10133\lib\xml.jar
oracle.e1.bssv.J594101.CallSQLProcedure3
name com.evermind.server.rmi.RMIInitialContextFactory
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/bcel/generic/Instruction
at
oracle.oc4j.sql.spi.ConnectionHandle.getConnectionHandle(ConnectionHandle.java:725)
at
oracle.oc4j.sql.spi.ManagedConnectionImpl.getConnectionHandle(ManagedConnectionImpl.java:273)
at
oracle.oc4j.sql.spi.ManagedConnectionImpl.getConnection(ManagedConnectionImpl.java:255)
at
com.evermind.server.connector.ApplicationConnectionManager.createConnectionHandle(ApplicationConnectionManager.java:1786)
at
com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1472)
at
oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at
oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at
oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
at
oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
at
oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
at
oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
at
oracle.e1.bssv.J594101.CallSQLProcedure3.main(CallSQLProcedure3.java:70)
Process exited with exit code 1. -
Error While Running a ADF Page from JDeveloper
Hi
I am facing the following problem while running a page from JDeveloper 11g
please find the below stack trace and help me in fixing this
IntegratedWebLogicServer startup time: 181886 ms.
IntegratedWebLogicServer started.
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:39:33 PM] ---- Deployment started. ----
[12:39:33 PM] Target platform is (Weblogic 10.3).
[12:39:35 PM] Retrieving existing application information
[12:39:35 PM] Running dependency analysis...
[12:39:36 PM] Deploying 2 profiles...
[12:39:43 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:39:44 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:39:44 PM] Deploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216184760' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:39:58 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:39:58 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:39:58 PM] #### Deployment incomplete. ####
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[12:39:58 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]
[Running application TestApp on Server Instance IntegratedWebLogicServer...]
[12:45:12 PM] ---- Deployment started. ----
[12:45:12 PM] Target platform is (Weblogic 10.3).
[12:45:12 PM] Retrieving existing application information
[12:45:12 PM] Running dependency analysis...
[12:45:12 PM] Deploying 2 profiles...
[12:45:13 PM] Wrote Web Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp\ViewControllerWebApp.war
[12:45:13 PM] Wrote Enterprise Application Module to C:\Documents and Settings\hari.kempula\Application Data\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\TestApp
[12:45:13 PM] Redeploying Application...
<ConfigHelper><getParsedElements> oracle.adf.share.config.ConfigHelper
java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.invokeIO(MetadataRegistryBigImpl.java:130)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryBigImpl.openStream(MetadataRegistryBigImpl.java:50)
at oracle.adf.share.common.rc.util.impl.MetadataRegistryImpl.getDomDocument(MetadataRegistryImpl.java:602)
at oracle.adf.share.config.ConfigHelper.getParsedElements(ConfigHelper.java:221)
at oracle.adf.share.config.ADFSettingsImpl.parseSettings(ADFSettingsImpl.java:144)
at oracle.adf.share.config.ADFSettingsImpl.readConfig(ADFSettingsImpl.java:134)
at oracle.adf.share.config.ADFSettingsImpl.<init>(ADFSettingsImpl.java:68)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateADFSettings(ConfigContainerFactory.java:88)
at oracle.adf.share.config.ConfigContainerFactory.findOrCreateConfig(ConfigContainerFactory.java:65)
at oracle.adf.share.ADFContext.getADFSettings(ADFContext.java:701)
at oracle.adf.controller.config.ControllerSettings.getCurrent(ControllerSettings.java:51)
at oracle.adf.controller.config.ControllerSettings.getPhaseListeners(ControllerSettings.java:74)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.initControllerConfigListeners(ADFLifecycle.java:38)
at oracle.adf.controller.v2.lifecycle.ADFLifecycle.setInstance(ADFLifecycle.java:22)
at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl.<init>(JSFLifecycleImpl.java:33)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:39)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:243)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified).
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1273216513742' for task '1'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
<May 7, 2010 12:45:18 PM GMT+05:30> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'TestApp'.>
<May 7, 2010 12:45:18 PM GMT+05:30> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.io.FileNotFoundException: \java\META-INF\adf-settings.xml (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.ide.net.FileURLFileSystemHelper.openInputStream(FileURLFileSystemHelper.java:758)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Truncated. see log file for complete stacktrace
>
[12:45:18 PM] #### Deployment incomplete. ####
[12:45:18 PM] Remote deployment failed
#### Cannot run application TestApp due to error deploying to IntegratedWebLogicServer.
[Application TestApp stopped and undeployed from Server Instance IntegratedWebLogicServer]Thanks in Advance
KumarHi Frank,
I am using JDeveloper Studio Edition Version 11.1.1.2.0,
Even i try to run different application but still i am getting the same error.
Regards,
Kumar
Edited by: harikumarmpl on May 7, 2010 2:50 AM -
Urgent.....Error while running a jsp report from Jdeveloper
Hi,
I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
Error details:
Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
Reports Error Page
Wed Oct 17 20:03:22 IST 2007
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
at MyReport.jspService(MyReport.jsp:4)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Could anyone help me out in resolving this issue.
Thanks
Siva...Hi,
I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
Thanks
Siva... -
Getting error while running OAF page from jdeveloper
Hi All,
While running a OAF page from jdeveloper i am getting the below error, please help me out.
http 500 Internal Server Error
ThanksHi ,
Check in Embedded oc4j Server preference by
tools-> Embedded oc4j Server preferences ->Startup ->
choose the radio button for Host Name or IP Address as
Specify Host name as your laptops ip Address.
If still it didn't work, share your Jdev console log error.
Thanks,
With regards,
Kali.
OSSi. -
Error while running a jspx from jdeveloper
Hi
I am trying to run a page from jdeveloper. I ran the page in design mode and got the below error.
Pls guide me in resolving this issue.
OracleJSP error:
The following JSP error occurred:
Request URI:/Setuptest-ViewController-context-root/popuptest.jspx
The following exception occurred:
java.lang.RuntimeException: Cannot find FacesContext
Thanks
NagendraHi
Looks like ADF Faces library is missing in your view controller project.
Another thing is: please post the questions related to ADF and JDeveloper at JDeveloper and ADF
Thanks & Regards !
Vik
Fusion Apps Developer Relations
http://blogs.oracle.com/fadevrel
Please mark the response helpful or answered appropriately -
Error while running Helloworld page from Jdeveloper
Hi
I am getting the following error while running HelloworldPG.xml from Jdeveloper.
Any help in this will be greatly appreciated ..
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
SQLCODE = -20001
SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
ORA-06512: at "APPS.APP_EXCEPTION", line 52
ORA-06512: at "APPS.FND_GLOBAL", line 63
ORA-06512: at "APPS.FND_GLOBAL", line 967
ORA-06512: at "APPS.FND_GLOBAL", line 547
ORA-06512: at line 1
; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:876)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:523)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
SQLCODE = -20001
SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
ORA-06512: at "APPS.APP_EXCEPTION", line 52
ORA-06512: at "APPS.FND_GLOBAL", line 63
ORA-06512: at "APPS.FND_GLOBAL", line 967
ORA-06512: at "APPS.FND_GLOBAL", line 547
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
SQLCODE = -20001
SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
ORA-06512: at "APPS.APP_EXCEPTION", line 52
ORA-06512: at "APPS.FND_GLOBAL", line 63
ORA-06512: at "APPS.FND_GLOBAL", line 967
ORA-06512: at "APPS.FND_GLOBAL", line 547
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
at runregion.jspService(runregion.jsp:103)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)Adding another Error
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG; (Could not lookup message because there is no database connection)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:454)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534) -
Error while running jspx page from Jdeveloper
Hi,
I'm trying to customize LegalEntityDashboard.jspx of finance common ear , but while running the page from Jdeveloper I'm getting below error,
<04-Nov-2013 07:12:05 o'clock GMT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.applcp.model\f7pg9o/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
<04-Nov-2013 07:12:05 o'clock GMT> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>
<04-Nov-2013 07:12:05 o'clock GMT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.as.scheduler.platform.wls.deploy.ESSApplicationLifecycleListener is ignored because the application XXFinCommonApp is not versioned.>
<04-Nov-2013 07:12:08 o'clock GMT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\o.j2ee\drs\XXFinCommonApp\Project1WebApp.war/WEB-INF/web.xml of module Project1WebApp.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
... 33 more
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:1012)
at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
... 41 more
.>
<04-Nov-2013 07:12:08 o'clock GMT> <Error> <HTTP> <BEA-101064> <[WebAppModule(XXFinCommonApp:financialCommon)] Error parsing descriptor in Web appplication "D:\Users\<>\Documents\MyWorkspace\system11.1.1.7.40.65.57.3\o.j2ee\drs\XXFinCommonApp\Project1WebApp.war"
weblogic.application.ModuleException: Unmarshaller failed
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1335)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.ListenerBeanImpl@101029ea(/Listeners[oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
at weblogic.j2ee.descriptor.WebAppBeanImpl.setListeners(WebAppBeanImpl.java:1012)
at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Truncated. see log file for complete stacktrace
I didn't edit web.xml file manually, please help.
Thanks,Is that al what you see in logs? If there is more then please go through again carefully. There are certain serlvet and filter dependencies that are required to be commented out in the web.xml to be able to run it. Also have a look at https://blogs.oracle.com/fadevrel/entry/tip_to_quickly_test_jdeveloper
Hope this helps
Vik
http://blogs.oracle.com/fadevrel -
Cannot deploy BPEL Process from Jdeveloper
Hello,
I am using JDeveloper 10.1.3.2 on my laptop.
I have Oracle SOA Suite 10.1.3 deployed and running on my laptop as well (port 8888) (running MS Vista).
Some background:
I can access my app server at http://127.0.0.1:8888, http://localhost:8888, http://toral-pc:8888 using browser with no problems at all.
However, when I try to deploy a business process (using ant on build.xml) from JDeveloper I get the following error:
BUILD FAILED
C:\product\10.1.3.1\OracleAS_1\j2ee\home\SalesforceIntegration\LoginToSalesforce\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
Please make sure the server is running on host "127.0.0.1", port "8888".
I have turned off any firewalls and also my hosts file includes a line for 127.0.0.1 localhost.
I am at a loss as to why JDeveloper thinks the BPEL server is not running on 127.0.0.1:8888 when I know it is and I can using the BPEL Server GUI to deploy the Business Process jar just fine.
Please Help.
Thank you Much !
Regards,
Toral Kalewell am facing the same problem ... but i don't know if this is the problem .. but i copied the from project from another pc , jdeveloper versions are the same
the following is the error am facing when i try to deploy
"Buildfile: C:\ApprovalApplication\BPELProcess1\build.xml
pre-build:
validateTask:
[echo]
| Validating workflow
[validateTask] url is file:/C:/jdev10131/integration/bpm/support/files/WorkflowTaskDefinition.xsd
[validateTask] Validation of workflow task definitions is completed without errors
compile:
[echo]
| Compiling bpel process BPELProcess1, revision 1.0
[bpelc] validating "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel" ...
[bpelc] BPEL suitcase generated in: C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
[bpelc] Warning: BPEL validation has warnings.
[bpelc] The following warnings were reported during validation:
[bpelc]
[bpelc] [Warning ORABPEL-10041]: Trying to assign incompatible types
[bpelc] [Description]: in line 293 of "C:\ApprovalApplication\BPELProcess1\bpel\BPELProcess1.bpel", <from> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessRequest anonymous type" is not compatible with <to> value type "{http://xmlns.oracle.com/BPELProcess1}BPELProcess1ProcessResponse anonymous type".
[bpelc] [Potential fix]: Please make sure that the return value of from-spec query is compatible with the to-spec query.
[bpelc]
[bpelc]
[bpelc]
deployProcess:
[echo]
| Deploying bpel process BPELProcess1 on localhost, port 9700
[deployProcess] Deploying process C:\ApprovalApplication\BPELProcess1\output\bpel_BPELProcess1_1.0.jar
BUILD FAILED
C:\ApprovalApplication\BPELProcess1\build.xml:79: A problem occurred while establishing a connection to the BPEL Server.
Please make sure the server is running on host "localhost", port "9700".
Total time: 15 seconds
and i noticed that i have this error when i try to rebuild the project
"Error: C:\ApprovalApplication\.adf (Access is denied)"
any hint what to do ..? -
Error creating Universe from BW query
Hi
Creating the Universe connected to BW query (BI 7).
Connection is proper and universe designer is connected to BW system without any problem. I have already used many queries to connect to universe and webi documents has been developed.
The only difference in this BW query is, it is using hierarchy with 'derivation type' in 'select hierarchy date'.
BW query is working as expected in BEx designer.
This is the error message when trying to create the universe from BW query -
Error getting dimensions for cube <infoprovider name>/<query name>(catalog <infoprovider name>): Unknown error when executing MDX
Product name : SAP BusinessObjects Enterprise XI 3.1 Client Tools SP3
Please respond how this can be resolved.
Thanks
SreedhSreedh,
I was wondering whether you could resolve this error?
Would appreciate if you can convey the resolution.
I am getting the same error - ( BOE XI 3.1 ).
Thank you,
PK
Maybe you are looking for
-
I need to install Adobe Reader to take a course but I cannot get it to work
I am trying to take a 3 hour course online and I have to download adobe reader. I have done this or so my computer says I have, but still cannot get the information I need to take the course to work. I get a message saying "if the I need to install
-
National Stock Number (NSN) as an Alternate Item Number in PeopleSoft FSCM
My company is a supplier of defense related products to the United States military and sometimes foreign militaries. The Defense Logistics Agency of the Department of Defense assigns items IDs to material which the United States military buys, transp
-
How to enable SSID broadcast? (E4200 Cloud f/w)
I got E4200 v.2 with the latest cloud firmware. On the previous (non-cloud) firmware there was an option to enable or disable SSID broadcast, and I disable it. Now I want to enable it back, but can not find this option in Cisco Connect Cloud. So ther
-
The last time I used Labview was about 5 years ago and I have not kept up with the changes. I assume Labview can use COM components, ActiveX (COM with a GUI), C DLL's, and possibly C++ DLLs. Of these types, which do Labview users prefer? Background I
-
"Outlook Data File" vs. My email address - Why both?
When I go to the Outlook Mail tab and select Folders View, I see two groups of items: - Outlook Data File - [email protected] Both have an Inbox, Sent Items, Deleted Items, Junk Email and Search Folders entry with the Outlook Data File also having Ca