Deploy issue from JDeveloper 10.1.3.5 to OAS 10.1.2
I have written an application using ADF on JDeveloper 10.1.3.5 and need to deploy it to our OAS 10.1.2. I have run the adfinstaller on the linux server to upgrade the ADF libraries to the correct versions, updated the web.xml files to have the correct versions, changed to J2SE 1.4.2_19 for the application and have still got deployment issues.
Error
An error occurred while redeploying application "FormsSiebelIntegration". See base exception for details.
Resolution:
See base exception for details.
Base Exception:
java.lang.UnsupportedClassVersionError
com/sun/faces/application/ApplicationAssociate (Unsupported major.minor version 49.0). com/sun/faces/application/ApplicationAssociate (Unsupported major.minor version 49.0)
Removing the jsf-impl.jar file allows the application to deploy, but when running on the app server I get the following errors:
OracleJSP: oracle.jsp.parse.JspParseException:
/codename.jspx: Line # 6, <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
Help! I'm starting to have total mind block as to what to do next.
Error: Unable to load taghandler class: http://java.sun.com/jsf/html
I had already applied all of this before trying to deploy.
The error seems to be a versioning error in the jsf-impl.jar file as the ApplicationAssociate class is found there. I have changed the JDK and J2EE to 1.4.2 and 1.3 respectively, rebuilt everything, updated all the settings to the right versions for 10.1.2 but it still keeps failing on the deploy.
Similar Messages
-
What are the requirements to deploy Portlets from Jdeveloper 10.1.3.2
Hi all,
I'm new in version Jdeveloper 10.1.3.2
plz which version of Application Server (infrastructure and middle-tier)
or web-center are required to deploy portlet from jdeveloper 10.1.3.2
can you send me links about these requirments
thanksI had already applied all of this before trying to deploy.
The error seems to be a versioning error in the jsf-impl.jar file as the ApplicationAssociate class is found there. I have changed the JDK and J2EE to 1.4.2 and 1.3 respectively, rebuilt everything, updated all the settings to the right versions for 10.1.2 but it still keeps failing on the deploy. -
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 -
Deployment problem from JDeveloper 10 g
Dear Experts,
I am trying to deploy my application from JDeveloper. But receiving unexpected compilation Error as <Oracle Home>/bpel(Access denied). Also My JDeveloper tool was very slow. Please suggest me to solve this issue.
Versions:
JDeveloper: 10.1.3.1
Oracle SOA: 10.1.3
Thanks,
RajeshUse Oracle JDeveloper 10.1.3.3 or 10.1.3.4
Make sure you hjave access to the Oracle_Home directory
Marc -
Unable to deploy BPEL from jdeveloper 11g
Hi
I tried to deploy a simple bpel project from jdeveloper 11g to SOA 11g
but i get the following error in the jdeveloper..
Buildfile: D:\software\JDeveloper 111100\jdeveloper\bin\ant-sca-compile.xml
scac:
[scac] Validating composite : 'D:\software\JDeveloper 111100\jdeveloper\system\mywork\DeployedBpelApplication\TestBpel\composite.xml'
BUILD FAILED
D:\software\JDeveloper 111100\jdeveloper\bin\ant-sca-compile.xml:242: Java returned: 1 Check log file : D:\software\JDeveloper 111100\jdeveloper\system\mywork\DeployedBpelApplication\TestBpel\SCA-INF\classes\scac.log for errors
Total time: 4 seconds
The Log file for ur reference ..
java.lang.NoClassDefFoundError: 111100\jdeveloper\
Caused by: java.lang.ClassNotFoundException: 111100\jdeveloper\
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: 111100\jdeveloper\. Program will exit.
Exception in thread "main"
Help me with these issue
Thanks & Regards
BalaYes.
Like pointed out by Theo,
the exception is : "java.lang.NoClassDefFoundError: 111100\jdeveloper\."
Its trying to look in the folder "111100" which does not exist (due to space instead of ....\JDeveloper 111100\.... , it starts right from \111100)
I guess you will have ro re-install the JDev
regards,
Ketan -
Unable to deploy BPEL from JDeveloper 10g in Vista
Dear Experts,
When deploying bpel process from JDeveloper I am getting the following errors.
Note: I am using Vista. Both Application server & JDeveloper versions are
synchronized . My versions are Oracle Application Server SOA suite 10.1.3.1 &
JDeveloper 10.1.3.1. Both are deployed in Vista. Is there any special configuration
set up is neccessary with vista. Please suggest me.
Note: Also from my jdeveloper I can able to establish connection for both integration server & application server
successfully. But unable to deploy.
BUILD FAILED
A problem occurred while establishing a connection to the BPEL Server.
Please make sure the server is running on host "eway-pc", port "8888".
Thanks,
RajeshCan you post the full error statck, this error is very generic and can be misleading.
Are you able to deploy other processes.
There are some know issue with Vista, have a look at this metalink note. 444112.1
cheers
James -
Websphere 7.x deployment fails from JDeveloper
The following message occurs when trying to deploy my app from JDeveloper 11.1.2.3 to Websphere Application Server 7.1.
Note that the Websphere server is remote. So, I don't believe I have the necessary files installed locally for this to work.
Here is what appears in the websphere.Wsadmin tool window:_
"C:\Oracle\Middleware\oracle_common\common\bin\wsadmin.cmd" -host edgewater.gac.gulfaero.com -port 8880 -user oracleadmin -password **** -c set apps [$AdminControl queryNames WebSphere:name=NamApplication,*,cell=edgewaterCell02,node=edgewaterNode02,Server=OracleAdminServer]; if {[llength $apps]>0} {$AdminApp uninstall NamApplication {-cell edgewaterCell02 -node edgewaterNode02 -server OracleAdminServer}; $AdminConfig save}; $AdminApp install "C:\\JDeveloper\\mywork\\NamApplication\\deploy\\NamApplication.ear" {-cell edgewaterCell02 -node edgewaterNode02 -server OracleAdminServer -usedefaultbindings}; $AdminConfig save
WAS_HOME is not a valid WebSphere directory: C:\ade\IIBUIL~1\oracle\WEBSPH~1
Here is what appears in the Deployment window:_
[10:28:03 AM] ---- Deployment started. ----
[10:28:03 AM] Target platform is (WebSphere 7.x).
[10:28:03 AM] Running dependency analysis...
[10:28:03 AM] Building...
[10:28:20 AM] Deploying 3 profiles...
[10:28:21 AM] Wrote Web Application Module to C:\JDeveloper\mywork\NamApplication\NamViewController\deploy\NamViewControllerWar.war
[10:28:23 AM] Wrote Archive Module to C:\JDeveloper\mywork\NamApplication\NamModel\deploy\NamModelJar.jar
[10:28:34 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\NamApplication\deploy\NamApplication.ear
[10:28:36 AM] Elapsed time for deployment: 33 seconds
[10:28:36 AM] ---- Deployment finished. ----You need to take a look at the opmn log for the OC4J instance you are deploying to on the app server to better understand the error you are encountering.
-
Error deploying application from JDEVELOPER
I am getting following in my log when I try to deploy application from my JDeveloper 10g to Application Server 10g. Application is deployed correctly but the status is never reflected in the Jdeveloper log.
Please help.
---- Deployment started. ---- Mar 5, 2004 8:30:16 AM
Target platform is Oracle9i Application Server (CCA_DEV_01_MIDT_OC4J_CCABID).
Wrote WAR file to C:\mydata\Dev\bid\deploy\ccabid_war.war
Wrote EAR file to C:\mydata\Dev\bid\deploy\ccabid_ear.ear
Invoking DCM servlet client...
C:\j2sdk1.4.1_05\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\JDev905\jdev\lib\oc4j_remote_deploy.jar http://cca-dev-01.correctionscorp.com :1811/Oc4jDcmServletAPI/ ias_admin **** redeploy /opt/oracle/product/904midt C:\mydata\Dev\bid\deploy\ccabid_ear.ear ccabid OC4J_CCABID
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy /opt/oracle/product/904midt C:\mydata\Dev\bid\deploy\ccabid_ear.ear ccabid OC4J_CCABID
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = 0a010146713c603e7aba452414fab32c1b98f475320
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=0a010146713c603e7aba452414fab32c1b98f475320
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has not finished yet
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=0a010146713c603e7aba452414fab32c1b98f475320
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
DCM command completed successfully.
Output:
Exit status of DCM servlet client: 0
Elapsed time for deployment: 1 minute, 15 seconds
---- Deployment finished. ---- Mar 5, 2004 8:31:31 AMI have the same problem ,but I deployed the application to a standalone oc4j ,I got the following error message,C:\OC4J\j2ee\home>java -jar oc4j.jar
04/03/13 15:47:28 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
initialized
04/03/13 15:57:44 Notification ==> Application Deployer for servletDemo STARTS [
2004-03-13T15:57:44.000CST ]
04/03/13 15:57:44 Notification ==> Undeploy previous deployment
04/03/13 15:57:44 Notification ==> Copy the archive to C:\OC4J\j2ee\home\applica
tions\servletDemo.ear
04/03/13 15:57:44 Notification ==> Unpack servletDemo.ear begins...
04/03/13 15:57:44 Auto-unpacking C:\OC4J\j2ee\home\applications\servletDemo.ear.
.. done.
04/03/13 15:57:44 Notification ==> Unpack servletDemo.ear ends...
04/03/13 15:57:44 Notification ==> Initialize servletDemo.ear begins...
04/03/13 15:57:44 Auto-unpacking C:\OC4J\j2ee\home\applications\servletDemo\serv
letDemo.war... done.
04/03/13 15:57:44 Copying default deployment descriptor from archive at C:\OC4J\
j2ee\home\applications\servletDemo/META-INF/orion-application.xml to deployment
directory C:\OC4J\j2ee\home\application-deployments\servletDemo...
04/03/13 15:57:44 Notification ==> Initialize servletDemo.ear ends...
04/03/13 15:57:44 Notification ==> Initialize servletDemo begins...
04/03/13 15:57:44 Notification ==> Initialize servletDemo ends...
oracle.oc4j.admin.internal.DeployerException: C:\OC4J\j2ee\home\config\server.xm
l (¾Ü¾ø·ÃÎÊ¡£)
at oracle.oc4j.admin.internal.ApplicationDeployer.storeConfig(Applicatio
nDeployer.java:421)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:129)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
---- Embedded exception
java.io.FileNotFoundException: C:\OC4J\j2ee\home\config\server.xml (¾Ü¾ø·ÃÎÊ¡£)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at com.evermind.xml.XMLConfig.storeToURL(XMLConfig.java:439)
at com.evermind.xml.XMLConfig.store(XMLConfig.java:426)
at com.evermind.server.ServerComponent.store(ServerComponent.java:794)
at com.evermind.server.ServerComponent.store(ServerComponent.java:766)
at oracle.oc4j.admin.internal.ApplicationDeployer.storeConfig(Applicatio
nDeployer.java:418)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:129)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
04/03/13 15:57:44 Notification ==> Application Deployer for servletDemo FAILED:
C:\OC4J\j2ee\home\config\server.xml (¾Ü¾ø·ÃÎÊ¡£) [ 2004-03-13T15:57:44.500CST ]
04/03/13 15:57:44 Notification ==> Application UnDeployer for servletDemo STARTS
[ Sat Mar 13 15:57:44 CST 2004 ]
04/03/13 15:57:44 Error updating file:/C:/OC4J/j2ee/home/config/server.xml: C:\O
C4J\j2ee\home\config\server.xml (¾Ü¾ø·ÃÎÊ¡£)
oracle.oc4j.admin.internal.DeployerException: Unable to remove web bindings for
application servletDemo: C:\OC4J\j2ee\home\config\http-web-site.xml (¾Ü¾ø·ÃÎÊ¡£)
at oracle.oc4j.admin.internal.ApplicationUnDeployer.doUndeploy(Applicati
onUnDeployer.java:84)
at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java
:52)
at oracle.oc4j.admin.internal.ApplicationDeployer.undo(ApplicationDeploy
er.java:146)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:89)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
04/03/13 15:57:44 Notification ==> Application UnDeployer for servletDemo FAILED
: Unable to remove web bindings for application servletDemo: C:\OC4J\j2ee\home\c
onfig\http-web-site.xml (¾Ü¾ø·ÃÎÊ¡£) [ Sat Mar 13 15:57:44 CST 2004 ]
ÒÔÉÏÊÇÎÒÓÃJDeveloper 10gÏòStandaloneOC4JÖÐDeployÒ»¸ö¼òµ¥µÄJ2EE Web³ÌÐòµÄʱºò,OC4J·µ»ØµÄ´íÎóÐÅÏ¢,ÎҵĻúÆ÷ÊÇWindowns 2003 Server jdk 1.4»¹Çë¸ßÊÖÖ¸½Ì. -
Is it possible to deploy app from JDeveloper 12c to WLS 10.3.6 ?
Or I need to upgrade to wls 12c?
If can. How to install ADF 12c to WLS 10.3.6 (jdk 1.7)?If you are using ADF 12c you need WLS 12c.
If you are building a non-ADF simple Java EE application and using Java EE 5 you should be able to deploy to WLS 10.3.6 from JDeveloper 12c. -
DEBUGGING deployed war from JDeveloper
Hi,
I am running from JDeveloper Run->Debug Server Instance.
Now the only thing I want is to able to debug my deployed war.
Please note that I do not have any specific .java that contains Main.
So, cannot just right-click on a java and click on Debug.
I want to able to debug the WHOLE application, which is deployed as war.
This should be about Remote Debugging.
Note:
If you need to know, this is an applet application, but going to .html file and clicking on Debug,
does not work neither. Because in this case does not deploy any thing, just try to run the html.
And if I deploy the war before doing this, it gives me error that I already have the context-root.
Edited by: 984315 on Jan 26, 2013 7:55 AM
Edited by: 984315 on Jan 26, 2013 7:56 AMWhat I understand is that you want to debug an applet. Applets do not execute within the application server. They are executed by the JVM of the local browser (e.g. by the browser's Java Plug-In) locally on the workstation. You should attach your debugger to this JVM instead of the application server's JVM. (You cannot debug an applet by right-clicking the Web application in JDeveloper and starting it in debug mode, because in this way you attach the debugger to the application server's JVM (e.g. to WebLogic's JVM) but not to the browser's JVM).
In order to debug an applet you should configure the browser's Java Plug-In to start in a debug mode and then you should attach a Java debugger to it. You can use either a standalone Java debugger or the debugger integrated in JDeveloper IDE. Have a look here for instructions:
[url http://docs.oracle.com/javase/6/docs/technotes/guides/plugin/developer_guide/debugger.html#how]How to Debug Applets in Java Plug-in
[url http://docs.oracle.com/cd/E16162_01/user.1112/e17455/run_debug_java.htm#BABBDICF]Debugging Remote Java Programs in JDeveloper
Dimitar -
Deploy servlet from JDeveloper to Tomacat
I got this msg when I called the servlet from URL:
java.lang.NoClassDefFoundError: oracle/jdeveloper/servlet/DbServletImpl
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:436)
at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoader.java:141)
at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:294)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)
Is anyone know how to fix this??
Thanks
nullWhen login to the enterprise manager on the server click Runtime Ports in the Administration section, it will show you all information you need, host name and ports used, to ensure that hostname is resolved correctly add the proper entry to your machine's hosts file too. You have to define both application server and integration server to deploy service successfully
-
Failure upon calling web service on the ESB deployed from jDeveloper
Hello!
I've created a database adapter and a routing service that calls the database adapter. When registering the services on the ESB, I get error when I try to call it, as the Wsdl references a wsdl file on http://localhost:8888...... As I see it, it should refer to in on the same server as the esb (soa suite) runs? I think this might be a deployment issue in jDeveloper, maybe ant? Any clue on this?
brgds, Paul JørstadThank you very much for you reply!
But I do not get any further.. In the ESB control, the Soap Endpoint URI still says:
SOAP Endpoint URI
http://localhost:8888/event/xal/rs_product_p_get_complete_bom_flat
And in my wsdl file:
<soap:address location="http://oslsoad1/event/xal/rs_product_p_get_complete_bom_flat"/>
I've tried to de-register, and register the service. -
Hi All,
I've a small deployment issue which you guys might be able to help me with.
I've developed an ADF BC JSF project using JHeadstart 10.1.3.2.50 and it was running fine on my self contained OC4J instance. But when I try to deploy it across to my Oracle 10G AS version 10.1.2.0.2., it had the following errors:
----- START OF LOG ------
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy D:\OraHome_3 D:\jdevstudio10133\jdev\mywork\PAM2070C\ViewController\deploy\webapp1.ear webapp1 UNDEFINED
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = c0a8238746b50fc1d5b78e274fcfb38b81a490036726
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=c0a8238746b50fc1d5b78e274fcfb38b81a490036726
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-8)
#### HTTP return code was -8
Exit status of DCM servlet client: -8
Elapsed time for deployment: 18 seconds
#### Deployment incomplete. #### 15/05/2008 17:00:33
---- END OF LOG ----
Has anyone been able to deploy ADF JSF project with JHeadstart using JDeveloper 10.1.3.3.0 to Oracle 10G AS 10.1.2.0.2? I'm using window environment. Any feedback is much appreciated. Thank you for your assistance and have a nice day.
Kind Regards,
JohnHi all,
I had also tried out something else...
I am now portalizing the ADF application using PortalFacesBridge and portlet.xml. Then I deploy it on the Local OC4J of my system and expose it as a WSRP Portlet using the url: 'http://hostname:portname/warFileName/info and generating a WSDL URL...
I am then using this WSDL URL to regester this portalized application on the Oracle Portal10.1.4 which i am able to accomplish successfully...
However after regestration, when I try to view this on the portal page, It is throwing the following error:-
Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
Also I would like to add that this method was working perfectly fine previously...
What might be the clue for this sudden error...
Any kind of help is greatly appriciated... Thanks... -
OC4J deployment from jdeveloper RC2
I have downloaded and installed the Jdeveloper rc2 with accompanying BI Beans, and I have completed a BI Beans tutorial, except for the last step: Deploying a JSP Application.
The JSP run fine in the embedded OC4J environment, my problem is when deploying it to my IAS server.
I have downloaded the oc4j_extended.zip from 25. march, installed it on my solaris 2.8 server where my oracle 9.0.1.2 databases are running, and started it with:
"java -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar &"
as per instructions in the tutorial.
Pointing my browser to http://myhost:8888 gives me the default version 9.0.2.0.0A startup page, with a link to some samples etc..
I am able to run the NumberGuess sample without any errors.
Furthermore, I have followed the instructions and created a deployment profile in my Jdeveloper BIWorkspace, and tested the connection successfully.
Now, when I try to deploy the project, Jdeveloper creates a .ear and .war file locally, but they are never transferred to my oc4j server. Neither has the server.xml file etc. been updated to include my application jsp.
These are the messages from the deployment message window:
Wrote WAR file to C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.war
Wrote EAR file to C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.ear
Invoking Oracle9iAS admin tool...
C:\ora_misc\jdev9i_rc2\jdk\jre\bin\javaw.exe -jar C:\ora_misc\jdev9i_rc2\j2ee\home\admin.jar ormi://sunset/ admin **** -deploy -file C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.ear -deploymentName webapp
My PC chugs along for a while, the stops working, with no error messages.
More worrying is that on the server, in the window that started the oc4j server, the following appear:
java.lang.NullPointerException
at java.io.ObjectInputStream.inputArray(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at java.io.ObjectInputStream.readObject(Compiled Code)
at com.evermind.server.rmi.RMIInputStream.readType(RMIInputStream.java:118)
at com.evermind.server.rmi.RMIConnection.handleMethodInvocation(Compiled Code)
at com.evermind.server.rmi.RMIConnection.run(Compiled Code)
at com.evermind.util.ThreadPoolThread.run(Compiled Code)
Any advice on how to proceed to:
a: Fix the automatic deployment...
b: Deploy manually.
Jens
Ps. The steps I am following can be found in the document: http://otn.oracle.com/docs/products/bib/tutorials/building_a_jsp/9_deploy_JSP.htmlOk, I'm a bit further:
I changed my PATH and CLASS_PATH env. variables to make sure that /usr/j2se is first,
and issued the command
alias java="/usr/j2se/java"
so that java -version now return:
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)The nullPointer exception on the server node has now disappeared, and the deployment completes, but with errors.
The file webapp.ear is copied to the applications directory, and the jdeveloper deployment log window contains the following:
Wrote WAR file to C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.war
Wrote EAR file to C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.ear
Invoking Oracle9iAS admin tool...
C:\ora_misc\jdev9i_rc2\jdk\jre\bin\javaw.exe -jar C:\ora_misc\jdev9i_rc2\j2ee\home\admin.jar ormi://sunset/ admin **** -deploy -file C:\ora_misc\jdev9i_rc2\jdev\mywork\BIWorkspace\Project1\webapp.ear -deploymentName webapp
Error: java.lang.OutOfMemoryError
Exit status of Oracle9iAS admin tool (-deploy): 1
#### Deployment incomplete. #### Apr 30, 2002 1:15:20 PM
A little more background info:
The OC4J server is invoked on my oracle db-server, a sunfire V880 dual cpu and 4Gig ram.
Of course, running Oracle, this server has been optimised for shared memory, so could it be that I need to change my /etc/system settings to leave more ram available?
Or could it be that the OutOfMemoryError is just the symptom of an underlying cause?
Any hints would be welcomed.
Thanks,
Jens -
Problem deploying to BPEL-container from JDeveloper
Hi - after searching for a solution both here and on Metalink for some time, I've reached the point where I think I need to post my problem:
(I've already posted this on the JDeveloper forum - and been directed to this forum from there.)
On client; Windows XP with JDeveloper 10.1.3.4.0, on server Windows Server 2003 with Oracle SOAsuite 10.1.3.
Created a very simple bpel process (ftp get a remote file -> write locally) that I want to deploy on the dedicated SOA-server.
From JDeveloper, the "Application Server and ESB Server connections checks out fine. But the "BPEL Process Manager Server" check failes with the error:
"BPEL Identity Service: Failed" - Details: "oracle.xml.parser.v2.XMLParseException:Whitespace required."
I have not found any postings/info on the "Whitespace required" error anywhere... mighty strange....
I'm therefore unable to use the BPEL Process Deployer, it states that "Server Mode: Server is unreachable".
I've triple-checked all ports etc. The Integration Server Connection is using port 80.
I'm able to access and open the BPELConsole (& EM & ESB) on the server from my JDeveloper workstation.
A "opmnctl status -l" on the SOA-server gives:
Processes in Instance: SOAProd.aresrv136.gard.local
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component | process-type | pid | status | uid | memused | uptime | ports
---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
ASG | ASG | N/A | Down | N/A | N/A | N/A | N/A
OC4JGroup:default_group | OC4J:OC4JUDDI | 364 | Alive | 707857842 | 153388 | 17:33:58 | jms:12603,ajp:12503,rmis:12703,rmi:12403
OC4JGroup:default_group | OC4J:oc4j_soa | 500 | Alive | 707857841 | 266220 | 17:33:58 | jms:12601,ajp:12502,rmis:12701,rmi:12401
OC4JGroup:default_group | OC4J:home | 804 | Alive | 707857840 | 153080 | 17:33:58 | jms:12602,ajp:12501,rmis:12702,rmi:12402
HTTP_Server | HTTP_Server | 2020 | Alive | 707857839 | 67188 | 17:33:30 | https1:443,http2:7200,http1:80
I cannot find the "deploy_service" as a separate service on my server however. Only the hw_services are up and running, but it contains a "deploy" web module.
Would be immensely grateful for any information that might help me further in solving this issue, as I'm rather stuck right now....
Regards,
-Haakon-HI ALL...
i am no wfacing with the same problem, tried restarting the services also but the problem persists.
The test connection status from jdeveloper for application and integration server shows success always. But when trying to deploy, the domain is always refresh state. From the BPEL process deployer, the server status is unreachable.
my bpel pm 10.1.2 is on application server 10.1.2 and my jdev is 10.1.3.3
JDEV version i thunk should not be problem at this level i think.
Please suggest....
Maybe you are looking for
-
When using Family Sharing, it appears that all family members have the ability to lock and erase all devices that are linked to the family account. This does not seem very secure. For example, I wouldn't want my disgruntled family member to arbitrari
-
Can an IMAC support multiple iclouds, i.e. can each family member have their own cloud
-
My iPod turn off randomly. I plugged it in to the charger, and after several hours, it still will not turn on. I even plugged it into my computer and pulled up iTunes, where it showed up on the screen as plugged in, but still it will not turn back on
-
Hi, for CMP, we have findByPrimaryKey, I'm wonding how to implement a findByUniqueKey. Can any idea? Thanks John Toronto
-
Itunes is detecting my iphone in recovery mode whereas my phone is plugged in with normal mode
I tried to sync my iphone today but the itunes says it can nt read the cntents of my iphone so i have to restore it. It says it will erase all my data n will restore it from d recent backup but the problem is i dont hav any backup of my iphone. So wi