Deploying a JDeveloper 10.1.3 app to 10.1.2 Server
I am deploying a 10.1.3 JDev app to a 10.1.2 Oracle Application Server on Unix.
I have changed the J2EE version to 1.3 and the JDK version to 1.4, setup my data source on the server and unchecked bundle data sources, setup a connection to the server, setup a new OC4J instance, commented out the following libraries in the application.xml, and included libraries in my deploy. I am not using ADF only JSF. But I cannot get the page to come up.
Libraries commented out in application.xml for this OC4J instance:
<!--library path="../../../BC4J/lib"/-->
<!--library path="../../../jlib/ojmisc.jar"/-->
<!--library path="../../../ord/jlib/ordim.jar"/-->
<!--library path="../../../ord/jlib/ordhttp.jar"/-->
<!--library path="../../../jlib/jdev-cm.jar"/-->
<!--library path="../../../uix/taglib"/-->
Libraries included in the deploy:
Checked and greyed:
JSF
JSTL 1.1
JSTL 1.1 Tags
Commons Logging 1.0.3
Commons Beanutils 1.6.1
Commons Collections 2.1
Commons Digester 1.5
Libraries available and checked:
Oracle JDBC
JSP Runtime
BC4J Oracle Domains
SQLJ Runtime
The message on Enterprise Manager for the application under Servlets/JSPs is:
Name: Faces Servlet
Status: Not Loaded
Type: Servlet
Source: javax.faces.webapp.FacesServlet
Active Requests: 0
Req Client Time: 0
Req per Sec: 0
Startup Priority: 1
Name: jsp
Status: Loaded
Type: Servlet
Source:
Active Requests: 0
Req Client Time: Not Yet Available
Req per Sec: Not Yet Available
Startup Priority:
The Logs show the following:
Application.log shows
06/10/12 16:46:07 consult-list: JspServlet: unable to dispatch to requested page: Exception:java.lang.NullPointerException
This runs fine though on the embedded OC4J with JDK 1.5.
Redirected Output/Error (I don't normally restart the app)
06/10/12 16:44:40 Notification ==> Application Deployer for consultlist COMPLETES [ 2006-10-12T16:44:40.097PDT ]
06/10/12 16:44:41 Error: null
06/10/12 16:44:41 Errors parsing jar:file:/home/oracle/as102/j2ee/cisjsf/applications/consultlist/consult-list/WEB-INF/lib/standard.jar!/META-INF/fn.tld
06/10/12 16:44:41 Error: null
06/10/12 16:44:41 Errors parsing jar:file:/home/oracle/as102/j2ee/cisjsf/applications/consultlist/consult-list/WEB-INF/lib/standard.jar!/META-INF/permittedTaglibs.tld
06/10/12 16:44:41 Error: null
06/10/12 16:44:41 Errors parsing jar:file:/home/oracle/as102/j2ee/cisjsf/applications/consultlist/consult-list/WEB-INF/lib/standard.jar!/META-INF/scriptfree.tld
06/10/12 16:45:16 Stop process
06/10/12 16:45:18 Shutting down...
06/10/12 16:45:20 Start process
06/10/12 16:45:28 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
06/10/12 16:46:06 Error: null
06/10/12 16:46:06 Error: null
06/10/12 16:46:06 Error: null
06/10/12 16:46:07 Error: loading Tld's into cachedConfigTable: null
06/10/12 16:46:07 Error: loading Tld's into cachedConfigTable: null
06/10/12 16:46:07 Error: loading Tld's into cachedConfigTable: null
Default Web Access log
addy - - [12/Oct/2006:16:46:06 -0800] "GET /consultlist/Consult_Search.jsp HTTP/1.1" 500 346
I have tried removing the Standard.jar from the Project Dependancies in the deployment profile and it still gives me the same errors on parsing the 3 files in Standard.jar.
I have ran other non-JSF applications prior to trying to deploy this application.
Any help is very much appreciated
Thanx
Pam
Hi,
do you deploy from JDeveloper ? In this case all datasources will be created for you and the libraries are copied as well. If using ADF, make sure the ADF runtime libraries are deployed
Frank
Similar Messages
-
Please need Help with web application deployment in Jdeveloper 12c
Hi,
I am desperate for help guys. am trying to deploy a web application in weblogic server, but nothing works!!
I created a project in jdeveloper and created a jsp page inside the project, all what i want is to run that page!
I followed the instruction here: Deploying Fusion Web Applications , I don't really know if i did it right or wrong, the document is too detailed and not understood clearly.
I am a newbie oracle user, and trying to build jsp web application connected to oracle database. application deployment fails it says: cannot run application error deploying IntegratedWeblogic..
please could you tell me the steps of application deployment in Jdeveloper 12c?
what deployment profiles I need to create (ear, war , mar)?
what deployment descriptor I need for my app to work?
please guys I am newbie to oracle, if you could give me simplified answers and straight instructions it will be appreciated .
thank youhi Timo,
I am building a local web application, meaning the server is internal and will not connect to the web, only to local pcs via network. the application will insert/select data from the database server. My company wants to embed oracle technology on the datatabse and that what am trying to. I am not that expert in java and oracle in general, my main knowledge are in php, html and mysql programming. through my long internet research a lot has recommended jsp with html to be a good choice.
At beginning I played around with ADF faces, I found it annoying because I prefer coding than using drag and drop interfaces, which always create unwanted results.
Also am not that professional java programmer, i started learning jsp and found it easier.
What I am thinking of is to make a web based application that works in browsers (like php), this application has forms to insert data, and also has forms to output data for printing. that's all. I tried to make it in php, but through my little knowledge and internet researches it seems php does not work with oracle and java is the recommended choice (or it works with php but too complicated to make it)
any recommendation will be much appreciated
thank you -
Error deploying from Jdeveloper 10.1.3.4 to OAS 10.1.2
I've upgraded my Jdeveloper to 10.1.3.4 and imported an old project written in Jdev 10.1.2.0 (build 1811).
My application uses Struts, JSP, Log4j and EJB's
I can deploy to my local o4cj in the new Jdev and the applciation runs fine but when I try to deploy to my 10.1.2 app server I get the following error within the DCM log file:
TM] Remote evaluate failed.
Current StackTrace:
java.lang.Throwable
at oracle.ias.sysmgmt.task.TaskMaster.remote_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.redeploy(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.redeploy(Unknown Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.executeCommand(Unknown Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandThread.run(Unknown Source)
remote exception: oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Nested exception
Resolution:
Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
remote exception StackTrace:
java.rmi.RemoteException: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test: Error
loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1621)
at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1572)
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 oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exception Error in application careers-test:
Error loading package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:429)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:348)
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: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(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.InstantiationException: Error initializing ejb-module; Exception Error in application careers-test: Error loading
package at file:/opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar,
Error compiling /opt/oraias/OraHome_1/j2ee/oc4j_dev/applications/careers-test/careers.jar: Error finding a suitable DataSource: SQL
Error opening DataSource: invalid arguments in call; nested exception is: java.sql.SQLException: invalid arguments in call; nested exception
is:
java.sql.SQLException: invalid arguments in call
at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBContainer.java:2461)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:2445)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2225)
at com.evermind.server.Application.postInit(Application.java:557)
at com.evermind.server.Application.setConfig(Application.java:171)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1996)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:430)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:138)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
... 10 more
It looks like it's not picking up the datasource yet it works fine via the local oc4j. From my understanding the datasource is picked up from the connections in Jdeveloper but i've tried adding a datasource.xml to my "Model" tier within the "META-INF" folder but the error is still being generated.
I've amended the J2SE version to 1.4.2_02 on both the ViewController and Model project properties as recommended within the Jdev 10.1.3.4 documentation. I've also just read the following but i'm not sure how relevant it is as the error seems to be that it can't find a datasource not that the password is not being read.
"Data-Sources Password Handling and Application Server 10.1.2
It is important to note that deploying an application that uses connections defined in data-sources.xml developed using JDeveloper 10.1.3 that is deployed to Application Server 10.1.2 will result in a deployment failure. One example would be an application that uses an EJB to connect to a database. This is due to differences in the way Application Server 10.1.3 and Application Server 10.1.2 interpret password indirection. We are expecting a patch for Application Server 10.1.2 to be made available that will allow deployment of these types of applications to Application Server 10.1.2."
I imported the project datasource files from my old project that were developed in Jdev 10.2.3 rather then creating the connection via Jdev 10.1.3.4 but this still hasn't cleared the error.
I've spent a few days on this so far so any help would be most appreciated.
Thanks."Not really. You can exclude the data-sources.xml from the EAR file and rely on the setup of the Global Datasource, created before deployment.
--olaf"
Thanks. Yes I did try this but when I setup the datasource via the datasources tab within the console I still received the error. This may have been due to an error on my part but I can't be sure as i've tried all sorts of different approaches over the last few days. I initially didn't have a datasource.xml so there wasn't one to exclude (via the deploy properties in Jdev) I had relied on Jdeveloper to setup the datasource via my connections. I read somewhere that Jdev does this fduring deploy and indeed it works fine for my embedded oc4j and when deplolying from Jdeveloper 10.1.2 so it would seem odd that the same approach doesn't work for Jdeveloper 10.1.3.
Surely the release notes regarding the password issue is the reason why I can't deploy from Jdev 10.1.3.4 to app server 10.1.2?
The release notes say that a patch is due to fix the issue with password indirection, Olaf do you know where I can get this?
Also how do I setup Jdev not to write the datasources during deployment? If I don't have a datasources.xml then there is nothiing to exclude. Is there a setting somewhere in Jdev 10.1.3.4?
Edited by: [email protected] on 05-Mar-2009 08:08
Edited by: [email protected] on 05-Mar-2009 08:12 -
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. -
Hi all
I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3.2 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error:
Operation failed with error:
org/apache/log4j/Category
Deployment failed
I tried to copy log4j-1.2.15.jar,commons-logging.jar and commons-digester.jar to
oc4j\BC$J\lib directory ; this time my application was deployed in oc4j but i get the following Error :
07/09/25 14:43:44 log4j:WARN No appenders could be found for logger (com.sun.fac
es.config.ConfigureListener).
07/09/25 14:43:44 log4j:WARN Please initialize the log4j system properly.
Ps:
The Actual Error in ocgj is:
07/09/25 16:52:21 WARNING: DeployerRunnable.run java.lang.ExceptionInInitializer
Errororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitiali
zerError
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139
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 com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:252)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:5
70)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:16
03)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lan
g.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons
.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Clas
s;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.N
oClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.j
ava:48)
... 17 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@900079 for org.apache.commons.logging.impl.Log4J
Logger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
... 21 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
... 22 more
Could any body tell me where the problem is or how can I resolve the problem?
Any help would highly be appreciated.
thank you in advance.
AlirezaIt is an old post, but I want to add and ask something anyway:
I had the same problem and solved it through similar steps (didn't get the same errors and added the log4j to my project also) but don't you have the navigation problem?
Now that I have deployed the application the first page that appears after launching the application is my Home.jspx which is not the same page that comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
http://farbod:8888/TestApp/faces/pages/Employees.jspx
instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
I get this error:
500 Internal Server Error
Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
I also tried changing the initial address throughout the application:
<% response.sendRedirect("faces/pages/Home.jspx"); %>
but I still get the above error.
Thanks,
Farbod -
Installed SP 2013 Foundation in my Hyper-V machine
Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
for self signed certificate
copied those two certificates in my local machine(base machine) D drive
(D:\Cert)
Both VM and base machine are in same domain
Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
Just created and hit F5 to run in my base machine, but getting this error
Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
Please help me to resolve this issue, trying to figure out from last 2 days
Thanks in Advance
ArunHi Harminder,
This happens because an app has already been deployed and you are deploying it again using the same version.
Resolution:
Open the AppManifest.xml file and change the version.
Vivek Jagga - MCTS SharePoint
SharePointExcellence -
Hi all
I have developed an application using jheadstart 10.1.3.1 and jdeveloper 10.1.3 and I want to deploy it in oc4j 10.1.3.3. I have installed Adf Runtime libiraties in oc4j home. during deploying my Application I get the following error:
Operation failed with error:
org/apache/log4j/Category
Deployment failed
I tried to copy log4j-1.2.15.jar,commons-logging.jar and commons-digester.jar to
oc4j\BC$J\lib directory ; this time my application was deployed in oc4j but i get the following Error :
07/09/25 14:43:44 log4j:WARN No appenders could be found for logger (com.sun.fac
es.config.ConfigureListener).
07/09/25 14:43:44 log4j:WARN Please initialize the log4j system properly.
Could any body tell me where the problem is or how can I resolve the problem?
Any help would highly be appreciated.
thank you in advance.Ps:
The Actual Error in ocgj is:
07/09/25 16:52:21 WARNING: DeployerRunnable.run java.lang.ExceptionInInitializer
Errororacle.oc4j.admin.internal.DeployerException: java.lang.ExceptionInInitiali
zerError
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:139
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 com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ExceptionInInitializerError
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi
stener.java:252)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1141)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:5
70)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:16
03)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lan
g.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons
.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Clas
s;@900079 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.N
oClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at com.sun.faces.config.beans.FacesConfigBean.<clinit>(FacesConfigBean.j
ava:48)
... 17 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@900079 for org.apache.commons.logging.impl.Log4J
Logger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
... 21 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
... 22 more -
Best practice to deploy some secret credentials in AIR app
Hi,
Can someone suggest the best practice way to deploy some
secret credentials in an AIR app please?
For example, network connection settings or passwords ?
In my particular case (and since this is only for testing)
I'd like to deploy a password in an AIR app. So is there any way to
effectively deploy an encrypted store with the app ? (hope that
makes sense!)
Tks,
AlexI think the best practice is not to do it. You can't deploy
an encrypted local
store file to another computer. You could encrypt the
information some other
way, but that just moves the problem. If you have a server,
you could have the
app connect to the server to get the sensitive information
and put it into the
ELS (ideally through HTTPS). -
BPEL processes not available on BPEL console when deployed from JDeveloper
Installation: SOA Suite 10.1.3.4 (Upgraded through patch) (Standalone OC4J)
When I deploy the BPEL processes through JDeveloper, they do not show up in the BPEL console. JDeveloper does not display any error message but in fact displays successful deploy. I am able to manually deploy processes from the BPEL console itself or by dropping in the BPEL suitcase in the deploy directory.
I noticed this issue when I tried installing AIA foundation pack 2.4. The installation showed the message below -
Failed to read wsdl at "http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl", because "Failed to read WSDL from http://AMVAIDYA-US:8888/orabpel/default/AIAErrorTaskAdministrationProcess/AIAErrorTaskAdministrationProcess?wsdl:WSDL not found".
Make sure wsdl is valid. You may need to start the OraBPEL server, or make sure the related bpel process is deployed correctly.
[Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).
I noticed that issue is independent of AIA since I cannot deploy any BPEL process through JDeveloper (or even through using the ant deploy in JDev)
Please help!
Thanks
AmolI did try the verbose=true option but there are no errors there. The ant deploy task shows up as successful just like it shows from the right click -> Deploy to domain on the BPEL project. I created a sample async BPEL for this - it has just one assign activity with some dummy values for output. It builds fine. If I deploy the jar file created from this manually in the console it works. But it doesnt work from JDev or Ant. Is there anything I missed during the upgrade patch from 10.1.3.1 to 10.1.3.4? I did execute all the post and pre install tasks (including the orabpel, oraesb schema updates etc)
FYI, I can register an ESB from JDeveloper and it shows up in the ESB console. -
Deploy permissions for side loaded win8 app
Hello everybody,
I've just implemented and deployed a custom Windows 8 app for my Company and deployed it using side loading.
The app makes use of a background task which is essential for it, because the main purpose of the app is displaying some information on ist live tile. Unfortunatly this only works, after I start the app once and accept to add the app to the lock screen.
Now, here's my question:
How can I automatically rollout this permission for this app?
Is there a way doing this by
gpo
powershell
sccm
I only need this functionality for the automatical deployment in my Company. The app is not deployed by the store.do you know if permissions need to be reset after each app update? I've already published a version of the app and just want to prevent that each user needs to set the permission once again. Updates are getting really annoying for the users if they have
to authorize the app after each update to run in the Background..
I've updated the app using system Center and checked replacing previous version. -
Hi,
I am trying to deploy using JDeveloper i created public_html folder under my project directory and created deployment descriptor, now when i click on the deployment descriptor and select deploy to an ear file i get many deployment errors saying
Error(7,1): method releaseTagHandler(javax.servlet.jsp.PageContext, org.apache.struts.taglib.tiles.InsertTag, int) not found in class oracle.jsp.runtime.OracleJspRuntime
I tried to play with the libraries but i still have these errors does any one have an idea how to solve this issue???Hello,
Why are you creating your own public_html folder under your project folder ?
Couldn't you create the deployment descriptor without it ? Any error ?
Have you tried to see if you can successfully deploy and run one of the following tutorials?
- Deploying a J2EE Application from JDeveloper 10g
http://www.oracle.com/technology/obe/obe_as_1012/j2ee/deploy/deploytoappserver/lesson_deployment.htm
- Deploying J2EE and ADF Applications
http://www.oracle.com/technology/obe/obe9051jdev/deployToAppServer/lesson_Deployment.htm
Hope this will help/guide you .
Regards,
Steff -
When you attempt to deploy a windows 10 C++ Universal app that has a reference to a Windows Runtime component, to a Remote Machine (windows 10 machine), you will get an error message instead of successful deployment.
Right click solution, Go to Properties -> Configuration Properties -> Configuration - Uncheck "Deploy" checkbox for the Windows Runtime Component project. Then retry deployment to remote machine.
-
"JSP-compiling" on deployment from JDeveloper
Hi
Can i remove compilation for JSP-files on deployment from JDeveloper 903?
When I'm compiling and deploying a project from JDev it tries to compile my *.jsp source files.
- Why?
And JDevs jsp-error-checking has BIG holes. (The pages runs well then OC4J-compiles them...) Some projects don't get trough while other projects with the same code style works fine for some reason.
I'm using JDeveloper version 9.0.3.10.35
Thanks,
-ErikYes you can.
Go into the "Settings..." of your deployment profile for your project. --> <yourprofile>.deploy
Under the "WAR File" click on WEB-INF/classes.
On the bottom right you'll see the option:
"How should the selected source files be deployed?"
Here you can select: "As source files only" and it won't
compile and deploy your class files.
Hope this helps,
-Chris -
Lowering deployment target of an existing iOS app
I am wondering if it is possible to lower the deployment target of an existing iOS app in the app store.
We want the initial release of our app to only target iOS 7+ users. We would then take time to ensure the iOS 6 version was up to par and ideally would be able to submit an update that lowers the deployment target to support iOS 6+ users.
Does anyone know if this is possible? My collegue is concerned that the update will be rejected because of a past experience where he tried to narrow the supported devices from "Universal" to just "iPhone".I don't see why there would be a problem other than the code required to make it work.
I'd like to see a verbatim copy of your friend's message from Apple because I also don't see why dropping support for some devices would cause rejection. -
Remote Deployment from JDeveloper using "Parent Application"
Hi,
I am newbie in remote deployment (from JDeveloper). I would like to deploy my application in the OAS 10g, but I want to set the "Parent Application" in a different value than default.
Is it possible?
Where could I find documentation of remote deployment alternatives (I cannot use the "dcmctl" command directly for security reasons)...
Best regards and thank you in advance for your help.Check out this thread.
Deploy Exception with new Jdeveloper 11.1.1.1.0
Maybe you are looking for
-
I was befuddled by this for a long time. Alert sounds would just stop making noise. This includes dings from txt messages and new mail. If I went to Settings>Sounds>Text Tone and select several options, all I would get were vibrations. I rebooted th
-
May be it's not correct question or theme Oracle - Job
Hello dear friends. I am professional Oracle developer and DBA, Exp with Oracle 6+ year. Now my position is : Oracle developers team leader (5 developers in team) on worlwide software company with headquarters in Russia. OCA in PL/SQL Development and
-
Use start screen for start menu
As a member of the rarest breed of people who like the start screen, it would be nice to combine where 10 is with where 8.1 has moved to with regards to the start screen. I would like to be able to disable the whole recently used/pinned left panel an
-
HT1229 how do you install older iPhoto suitable for Mavrick 10.9.5
for MacBook Pro OS 10.9.5 Mavrick - Problem, - I re-formatted the hard disk and reinstall the OS 10.9.5 Mavrick - for some reason the iphot either disappeared or did not appear on the system. Downloaded iPhoto from the App library - The new downloa
-
Shall I Put My Macbook To Sleep Or Shut It Down?
sorry for such a moronic question but I was wondering which would be better in the long run? I use my macbook for work from 8 to 2 in the morning and then shut it down. Then in the night around 9 Pm I sometimes use it again and leave it on for downlo