Not able deploy from Jdeveloper
Dear All,
While trying to deploy from Jdevloper i am getting below error
Authorisation Request
Enter user name and password for proxy
Realm Authetication scheme NTLM
[12:08:20 PM] Received HTTP response from the server, response code=407
[12:08:20 PM] Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 407
Please suggest
To which server? Standalone or integrated, if weblogic?
Similar Messages
-
"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 -
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 -
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. -
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. -
Oc4j r2: Problem with CMP deployment from JDeveloper 9i.
Hi,
When deploying a CMP Entity from jdeveloper, the actual table name used for looking up the bean by the container is modified to the Entities name ( meaning - not the one which i specified in the orion-ejb.xml myself) .
Has anyone stubmled across this one?
Thanks,
Yuval.Hi Yuval,
Yes, this is standard default behaviour for OC4J!
Let me guess -- you're using the JDeveloper deployment wizard, right?
Bad move, buddy! Gee, wouldn't it be great if the JDeveloper wizards
actually worked properly (sigh).
Easiest thing to do is to edit the "orion-ejb-jar.xml" file immediately
after deployment. Look for the "entity-deployment" element, and change
the "table" attribute so that it equals the correct name of your table.
Of-course, personally, I steer well clear of the wizards, because I
don't know what they're doing but I'm sure it's not something that I
want them to do.
I also suggest you check out the documentation from either:
http://www.atlassian.com
or
http://www.orionserver.com
Good Luck,
Avi. -
Deploying from JDeveloper 10.1.3 to Oracle AS 10.1.2
Hi!
I use JDeveloper 10.1.3 and Oracle Application Server 10.1.2.
When I want to deploy my application (TopLink + EJB Session Bean Facade + ADF Faces) from JDeveloper to Application Server an error occured:
---- Deployment started. ---- 16.05.2006 14:02:13
Target platform is Oracle Application Server 10g 10.1.2 (for Windows) (OracleAS10g).
**** Oracle Application Server 10g 10.1.2 (for Windows) only supports ejb version 1.1 and 2.0. Project DataModel.jpr makes use of a different version and is therefore not supported.
Elapsed time for deployment: 21 seconds
#### Deployment incomplete. #### 16.05.2006 14:02:34
Question: Is there an way to deploy my application to Oracle Application Server 10.1.2?There is!
First, be sure to create an J2EE 1.3 application (ie. no EJB 3.0, no EJB 2.0, no Servlets 2.4).
Second, apply a patch to Oracle AS 10.1.2 (see http://blogs.oracle.com/olaf/2006/02/09#a40) -
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 -
Direct deployment from JDeveloper
Hello,
I upgraded to the 10.1.2 jdev ( from 9.0.5 ) -- my direct deployment fails. Nothing much has changed on the target server. If I do a EAR file deployment from the console it works. Here is the trace of my deployment -- what should I be looking for ?
---- Deployment started. ---- Mar 6, 2006 1:22:32 PM
Target platform is Oracle Application Server 10g (plhqisl1).
Wrote WAR file to C:\oracle\src\OMRUtils\Utils\deploy\omrutils.war
Wrote EAR file to C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear
Invoking DCM servlet client...
C:\oracle\JDeveloper10g\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\oracle\JDeveloper10g\jdev\lib\oc4j_remote_deploy.jar http://pl-hq-isl1.us.oracle.com:1156/Oc4jDcmServletAPI/ ias_admin **** redeploy /oracle_nas/ias101202 C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear omrutils
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy /oracle_nas/ias101202 C:\oracle\src\OMRUtils\Utils\deploy\omrutils.ear omrutils 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
#### Command has failed
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Command has finished
Receiving command exit value
#### Could not receive command output from Oc4jDcmServlet
Receiving command output
#### Could not receive command output from Oc4jDcmServlet
**** 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: 11 seconds
---- Deployment finished. ---- Mar 6, 2006 1:22:43 PMNo, oc4j is included in oracle AS. But some older versions of oc4j produce errors when directly deploying from jdev.
Check if your AS contains oc4j version 9.0.2.0.0 if it is so, deployment should work fine. if not reinstall oc4j.
oc4j is not automatically installed during the oracle AS Installlation Process (at least when I tried it).
If theres no j2ee directory in your AS-home-directory, You should install it manually as descripted in the links in my posting.
Also You have to start it with "java -jar oc4j.jar"
Then it should work fine.
check my other answer for more information:
Re: User defind functons limitations -
Web AS Preview Download - Not able to from sdn dwnlds
Hi All,
I am not able to download 'Web AS Preview ' from sdn download section. Please guide.
Regards,
Ganga.Hi Ganga,
Did you use Internet Explorer to download? If so, please try to use Firefox to download and see what happens. I had the same problem.
Regards,
-Napadol -
Error in deploying from JDeveloper 10.1.3.1 to Oracle AS 10.1.3
Hi! all.
I'm getting an error while deploying my application from new JDeveloper10.1.3.1 to Oracle AS 10.1.3
It says:
isActive()z
Can anyone tell me where the error lies?
The same application is getting deployed from 10.1.3.0.4
Should I have to add any new libraries for compatatibility?
Or Should I do any configuration changes at the server?
Waiting for your reply,
Thanking in advance,
SambaHi! all.
I'm getting an error while deploying my application from new JDeveloper10.1.3.1 to Oracle AS 10.1.3
It says:
isActive()z
Can anyone tell me where the error lies?
The same application is getting deployed from 10.1.3.0.4
Should I have to add any new libraries for compatatibility?
Or Should I do any configuration changes at the server?
Waiting for your reply,
Thanking in advance,
Samba -
R12 irep can not be browsed from jdeveloper
I connect to a R12 Vision instance from jdeveloper 10.1.3.3 and try to connect to the IREP. I create a partner link and choose oracle application adapters but no objects are available. Should irep be installed ?
Hi,
there seems to be a workaround, if the problem occured when using jdev 10.1.3.3 (maybe it works for 10.1.3.4):
just add
"AddVMOption -Duser.language=en" and "AddVMOption -Duser.region=us" to jdev.conf.
(copied from http://puchaanirudh.blogspot.com/2008_01_01_archive.html)
Best regards,
Enrico Kochon -
BEPL Error While Deploying from Jdeveloper
Hi We are getting the below error while deploying BPEL process using JDeveloper. Login account is OC4JADMIN.I checked the notes/forums and checked the files. Everything seems OK.
Why we are getting read error when we login as oc4jadmin.
Connection says success.
Application Server: OK
BPEL Process Manager Server: OK
ESB Server: OK
Error is
BUILD FAILED
H:\jdevstudio10134\HelloWorld\HelloWorld\build.xml:48: A problem occured while connecting to server "soaapnx" using port "7777": java.security.AccessControlException: Access denied (com.collaxa.security.*DomainPermission default read)*
at java.security.AccessController.checkPermission(AccessController.java:108)
at com.collaxa.security.OC4JSecurityService.checkAccess(OC4JSecurityService.java:16)
at com.collaxa.security.SecurityService.checkDomainAccess(SecurityService.java:26)
at com.collaxa.cube.fe.util.ServletUtils.getLocatorWithoutUrlRewrite(ServletUtils.java:76)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:332)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:810)
Total time: 5 seconds
Thanks in advance for your help.
SreeHi Anirudh,
Thanks for th help.
I did not change any security settings in web.xml.
Pls let me know configuration files/log files that i need to look into.
Following is the error messages in access.log.
10.48.158.41 - - [15/Jun/2009:20:34:58 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 404 364
10.48.158.41 - - [15/Jun/2009:20:35:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:11 -0700] "GET /esb/ESBConsoleMain.html HTTP/1.1" 200 817
10.48.158.41 - - [15/Jun/2009:20:35:14 -0700] "GET /orabpel/xmllib/ws-addressing.xsd HTTP/1.1" 200 5263
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?domainPasswd=null&operationType=getVersions&domainId=default&processName=HelloWorld HTTP/1.1" 200 45
10.32.18.185 - - [15/Jun/2009:20:35:14 -0700] "GET /integration/services/testconnection/BPELConnection?operationType=getServerMode HTTP/1.1" 200 80
10.48.158.41 - - [15/Jun/2009:20:35:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.32.18.185 - - [15/Jun/2009:20:35:20 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.32.18.185 - - [15/Jun/2009:20:35:21 -0700] "POST /integration/services/deploy/deployHttpClientProcess.jsp HTTP/1.1" 403 89
10.48.158.41 - - [15/Jun/2009:20:35:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:35:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:19 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:29 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:39 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:49 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:36:59 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:09 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:20 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
10.48.158.41 - - [15/Jun/2009:20:37:30 -0700] "POST /policymanager/services/RegistrationService HTTP/1.0" 500 432
gateway.log shows
2009-06-15 20:54:34,039 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:44,069 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:54:54,124 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:04,161 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:14,191 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:24,219 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
2009-06-15 20:55:34,266 WARNING [Thread-39] configuration.PolicySetWatchdog - Failed to retrieve policy set from policy manager with url http://xxxxxxxxxxxxx:7777/policymanager/services/RegistrationService: com.cfluent.policymanager.sdk.base.exception.ServerException: java.lang.Exception: Invalid component ID - C0003 001
Sree -
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
Maybe you are looking for
-
My IPOD Touch initially had a white screen. I tried correcting this by restoring default settings via ITunes. The Restore Failed with error 1602 and now the IPOD touch is completely dead. It will not power on or respond when I plug it into my PC vi
-
Oracle 9i install failing on Solaris 10
Oracle 9i install on Solaris 10 fails at the Database creation stage with Ora error "Out of Memory" I have a Ultra 10 with 1GB RAM, 2GB swap and lot of space in the filesystem where I am installing Oracle The oracle release notes asks for increased v
-
Modify the SOAP attachment name
hi, I have a Service with Party, which sends messages in SOAP format to XI. When the SOAP message sent to XI contains a '&' character in its attachment name, the message gets failed to processed through XI. I believe this happens since '&' character
-
Gnome 3 change background script
I used a public domain perl script (by some Michael Moore) to change periodically the wallpaper under Gnome 2, here it is: #!/usr/bin/perl -w use strict; use warnings; my $searchPath = '~/wallpapers/'; # Set to the directory you want to have search
-
Hi, I've got the 8 GB 3G nano. And now a couple of days after I updated it to v. 1.0.2. some of my albums in Cover Flow have been re-aranged. Every album is right ordered after artist until it comes to 3 Doors Down, wich should be the last artist in