Urgent - Unable to deploy applications to oc4j
Hi
I am not able to do any thing on the server, I cannot create new oc4j instance, remove application or deploy a new ear file.
Earlier I tried increase the memory by using
OC4J instance -. Administration - >Server Properties -> Java options added the string -Xms512Mm -Xmx12m, looks like while doing so a junk character / multi lingual charcter was pasted instead of "-". I Copied and pasted this from some article. Thats when the server started behaving like this.
We have seen the special charcter in opmn.xml file as well as opmn.xml.bak file.
Server is getting started when we have removed the above opton from both the files. but we are not able to deploy or make any changes to ear/war files.
I am getting below error message:
An error occured while undeploying the application. The configuration files for this Oracle Application Server instance are inconsistent with the
configuration stored in the repository. In order to protect the repository,
no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
{0}
. Please also check the logs located at
ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
the configuration files on disk. Some possible causes are:
* permissions on files
* file contention issues on Windows NT
* internal Oracle error
After resolving the problem that prevented DCM from updating the configuration
files, you may use the dcmctl resyncInstance command to resolve the problem.
Alternatively, you can stop and then restart the active dcmctl or EMD
process and resyncInstance will automatically be performed.
Resolution:
Base Exception:
java.net.ConnectException
Connection refused. Connection refused
Appreciate your help on this regard.
thanks
Prasad
Also,
When I ran the command dcmctl error I am getting the response ADMN-906001
Similar Messages
-
Can multipule users deploy application to OC4J on 9iAS r2?
Is there a way to deploy applications to OC4J through the Enterprise Manager using different user than IAS_ADMIN?
Thanks
MarcelHi Marcel,
In Oracle9iAS R2 9.0.2, ias_admin is the only predefined admin user you can use to deploy an application (the Enterprise Manager website runs on it's own OC4J instance, config files are located in $ORACLE_HOME/sysman/j2ee/config, the admin user ias_admin is defined in $ORACLE_HOME/sysman/j2ee/config/jazn-data.xml). Futre release of Oracle9iAS will allow you to define additional admin users.
BTW, what's the purpose to deploy applications using a different user?
Regards,
Chen. -
Unable to Deploy Applications: "process is not defined in the descriptor"
All
I'm having a fairly serious issue here trying to take an LCA from one environment and get it in another environment. Both the source and destination environments are LCES 2.5 (LCES 2 with SP2). I have roughly 6 applications and there are some far dependencies (one application referencing an asset of another application) therein. I've taken an LCA of all these applicaitons from the source environment and the LCA imports just fine in the destination environment but I am unable to deploy any of the applications that have far dependencies. The error I consistently get when I attempt to deploy any application that has a far dependency is:
[Some process name].process is not defined in the descriptor.
I have tried all of the following:
1) Taking 1 LCA of all applications together
2) Taking multiple LCAs where each LCA contains only one application
3) Taking multiple LCAs where each LCA includes an application as well as all far dependencies for that application
Regardless of what I try, they won't deploy. I can import the LCA and I can get the applications in Workbench and play around with them but they simply won't deploy. I've also attempted to manually fix all depencies within the processes themselves but that doesn't work either.
Any help would be appreciated.Just wanted to follow up on the solution to my issue.
It appears the issue centers around circular far dependencies. In general, it seems LiveCycle chokes when two applications each reference one another. Note that I'm not talkinng about true circular referencing here wherein one process within application A references a process in application B while that same process refers back to the original process in application A. In fact, although I haven't tested recently, I believe LiveCycle may actually catch this kind of issue. The circular far dependencies I'm talking about is simply where a process in application A (call it a1) references a process in application B (call it b1) while a process in application B (call it b2) references a process in applicatoin A (call it a2). Apparently this kind of circular referencing causes the deployment of said applications to choke.
The fix was tedious as I had to manually delete all of the far dependencies from both application, deploy those two applications to get them into the runtime, and then implement those dependencies again.
Going forward it seems like a best practice to only ever have 1 direction for dependencies for any application. -
Deploying Application in OC4J 1013 using Ant
Hello All
I am trying to deploy my application in OC4J 1013 container using Ant. I am getting
/view/webappdev3_cruise_view/vobs/Apps/eTA/build_deploy_appl.xml:26: Execute failed: java.io.IOException: /oracle/apps/product/dev/sso/1013/opmn/bin/opmnctl: cannot execute
I have attached my build.xml file. Please let me know what could be the reason for this.
Thanks
Sri
Edited by: user3539708 on Oct 15, 2009 6:57 PMDenis -- This sounds like maybe the RMI port that you are using to connect is the one used by the home instance. Have a look at the other instance you deployed it to and see what RMI port it is using.
Thanks -- Jeff -
Hi,
I am deploying a simple web application on OC4J which comes with 9iAS infraStructure installation. I changed server.xml, application.xml, default-web-site.xml & application.xml in the META-INF folder of my app but i couldn't access the appln after starting OC4J. I am attaching the code snippet that i added to these files. Could anyone please let me know if you could figure out the problem here..
Thanks,
Sathya.
j2ee/home/server.xml:
<application name="myapp" path="../applications/myapp" auto-start="true" />
j2ee/home/default-web-site.xml:
<web-app application="myapp" name="web" root="/myapp"/>
j2ee/home/application.xml:
<web-module id="myapp" path="../../home/applications/myapp"/>
myapp/META-INF/application.xml:
<module>
<web>
<web-uri>web</web-uri>
<context-root>/web</context-root>
</web>
</module>Hi,
I am facing a deployment problem with ear file.
I have prepared an EAR file using Oracle JDeveloper 9.0.5.1.
When I try to deploy it on Oracle 9iAS (Windows platform) it gets deployed successfully.
But when somebody tries to deploy it on Oracle 9iAS (Unix platform) she gets error mentioned below. I have checked the deployment descriptor (web.xml) and found that everything is alright, including the location (WEB-INF/web.xml).
Could anyone please help me find out the problem so that I can fix it?
ADMN-300158
Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(WarFile.java:87)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(EarFile.java:561)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:88)
at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:74)
at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(EarDeployerImpl.java:143)
at oracle.ias.sysmgmt.deployment.j2ee.console.WarDeployerImpl.<init>(WarDeployerImpl.java:99)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:220)
at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:247)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(DcmCmdLine.java:3728)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(DcmCmdLine.java:4072)
at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(DcmCmdLine.java:4771)
Thanks,
Aatash -
Urgent :- Issue with deploying application in Oracle Application server
Hello All,
Hope all of you are doing good ! I am facing an issue relating to deploying applications using the Enterprise manager. When i deploy the war file using Deploy WAR file option in the OEM, i get the following error -
Failed to deploy web application "gCube". Failed to deploy web application "gCube". . The configuration files for this OracleAS 10G instance are inconsistent with the
configuration stored in the repository. In order to protect the repository,
no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
{0}
. Please also check the logs located at
ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
the configuration files on disk. Some possible causes are:
* permissions on files
* file contention issues on Windows NT
* internal Oracle error
After resolving the problem that prevented DCM from updating the configuration
files, you may use the dcmctl resyncInstance command to resolve the problem.
Alternatively, you can stop and then restart the active dcmctl or EMD
process and resyncInstance will automatically be performed.
Root Cause: invalid stream header
Resolution: . invalid stream header
Please could you throw some light on this issue and also provide a resolution to fix this issue at the earliest ?
Your help in this , will be greatly appreciated.
Thanks and Regards,
Ramanan.Hello All,
Could anyone assist me with a fix for the problem ?
Would appreciate it greatly.
Thanks. -
Greetings,
Freinds I have installed Oracle 9i JDeveloper in Win 2000 with OC4J as the deployment tool. I am developing my EJbs and while deploying the .deploy file in OC4J server I prompted with this error....
---- Deployment started. ---- Apr 2, 2003 9:16:02 PM
Wrote EJB JAR file to D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.jar
Wrote EAR file to D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.ear
Invoking OC4J admin tool...
c:\jdk1.4\jre\bin\javaw.exe -jar D:\JDeveloper\j2ee\home\admin.jar ormi://kaushik/ admin **** -deploy -file D:\JDeveloper\jdev\mywork\TestSpace\Hello\deploy\hello.ear
-deploymentName hello
public class HelloHome_StatelessSessionHomeWrapper1 extends com.evermind.server.ejb.RemoteStatelessSessionEJBHome implements hellotest.HelloHome
^
1 error
com.evermind.compiler.CompilationException: Syntax error in source
at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:118)
at java.security.AccessController.doPrivileged(Native Method)
Please help.... how to get rid of this ??????The error seems to be to do with deployed components clashing with each other or with something already deployed on the server.
This chap suggests a solution, does it work for you?
http://judahlim.blogspot.co.uk/2011/11/same-url-pattern-error-on-glassfish-ose.html
Kevin -
Hi experts,
We are facing issues with deployment of application
===========================================================================
Deployment started Mon May 16 17:28:23 GMT+01:00 2011
===========================================================================
Starting Deployment of tc/srmcat/custom/pr/archives
Aborted: development component 'tc/srmcat/custom/pr/archives'/'sap.com'/'MAIN_SMDM0201_D'/'20110408151524'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/tcsrmcatcustomprarchives.. Reason: Application alias [VendorSearch/Config1] for application [sap.com/tcsrmcatcustomprarchives] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/tcsrmcatpr~archive].; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException:
Application alias [VendorSearch/Config1] for application [sap.com/tcsrmcatcustomprarchives] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/tcsrmcatprarchive]. at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:151) at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:153) at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:608) at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:323) at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:309) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326) at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3190) at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554) at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException: Application alias [VendorSearch/Config1] for application [sap.com/tcsrmcatcustomprarchives] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/tcsrmcatprarchive]. at com.sap.engine.services.servlets_jsp.server.container.DeployAction.deploy(DeployAction.java:151) at com.sap.engine.services.servlets_jsp.server.container.WebContainer.deploy(WebContainer.java:153) at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:608) at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:323) at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:309) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326) at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3190) at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:554) at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment of tc/srmcat/custom/pr/archives finished with Error (Duration 37252 ms)
As suggested in other thread to undeploy the one application.
When i logon to sdm and search for application * [sap.com/tcsrmcatpr~archive]*,i did not find it in sdm.
Now i am facing problem of deploying application * [sap.com/tcsrmcatcustomprarchives]* .
I am getting above mentioned error.
Kindly help as this is very critical to us.
Thanks,
SudhanshuHi Sudhanshu,
Please go through this thread ---> NW04S Java application remians in "starting apps" phase.
You need to increased the amount of application threads via ConfigTool.
To be precise increase the default value of the parameter setting "MaxThreadCount " from 40 to 100.
You can do this by carrying out the following steps:
- Open ConfigTool
- Expand the nodes Global server configuration -> ApplicationThreadManager
- On the right-hand side, you have to increase the parameter MaxThreadCount accordingly.
Please bear in mind that setting the Max threadcount to a high value can impair performance.
Regards,
Shreyas Pandya -
Urgent :- Unable to deploy EAR file in Oracle application server
Hello folks,
I am trying to deploy an application containing jsps and servlets
packaged into EAR using ant. However when am trying to do so by using
the Deploy EAR option in the Enterprise manager, it throws the
following error -
"Invalid J2EE application file specified - Jar file:
/var/tmp/jar47241.tmp is missing its standard xml descriptor located at
META-INF/ejb-jar.xml"
I suspect that something could be wrong with regards to the way the ear
file has been created.
Please if someone could pin point the problem and help me understand
the the above error message , it will be of great help to me and I d
really appreciate this.
Many Thanks,
Ramn.Hello,
I try to deploy an ear file (contains jar and war files) in Oracle Application server in linux, but the time is so long. The same file I deploy in a OAS in windows and the deploy time was 2 minutes, but in linux I leave the hole night and the session close and the deploy in unable.
I don't know if I need configure an especial option in the OAS in Linux, how I can load my ear file.
The OAS in windows was installed with oc4j options only, but the OAS in linux was full installation
Please help me....
Thanks. -
Error while deploying application in oc4j
following error message appear when deploying an application
(1) on consol error message is al folows :
An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In order to protect the repository, no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating the configuration files on disk. Some possible causes are: * permissions on files * file contention issues on Windows NT * EMD and dcmctl running concurrently * internal Oracle error After resolving the problem that prevented DCM from updating the configuration files, you may use the dcmctl resyncInstance command to resolve the problem. Alternatively, you can stop and then restart the active dcmctl or EMD process and resyncInstance will automatically be performed.
(2) in ora9ias_home\dcm\logs\dcmctl_logs\log.xml and
ora9ias_home\dcm\logs\emd_logs\log.xml error message is as follows :
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2002-05-07T18:55:16.830+05:30</TSTZ_ORIGINATING>
<COMPONENT_ID>OC4J</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_GROUP>n/a</MSG_GROUP>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>HIRED6</HOST_ID>
<HOST_NWADDR>144.12.16.48</HOST_NWADDR>
<MODULE_ID>iAS_dcm/oracle/defaultLogger/ExceptionLogger</MODULE_ID>
<PROCESS_ID>null-Thread[Orion Launcher,5,main]</PROCESS_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<PAYLOAD>
<MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to connect to Directory Server:javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]
at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:331)
at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:416)
at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initialize(IASEntryPoint.java:98)
at oracle.sysman.emSDK.eml.svlt.NavCfgHandler.startElement(NavCfgHandler.java:220)
at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:580)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:166)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1082)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
at oracle.sysman.emSDK.eml.svlt.EMServlet.init(EMServlet.java:332)
at oracle.sysman.eml.app.ConsoleSN.init(ConsoleSN.java:87)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4020)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4119)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:579)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:376)
at com.evermind.server.Application.getHttpApplication(Application.java:657)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:663)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:524)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:230)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:244)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:147)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:1818)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1154)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
at java.lang.Thread.run(Thread.java:484)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
Urgent solution requiredwelcome to the club - reintalling ias90x.
seriously, after reinstalling oracle, disable em interface. never use it again.
use
$oraclehome\dcm\bin\dcmctl dcmctl saveinstance -directory somedir
$oraclehome\dcm\bin\dcmctl deployapplication blah blah..
if something goes wrong,
$oraclehome\dcm\bin\dcmctl restoreinstance
read up on how to use dcmctl.
Ken -
Very Urgent Unable to Launch Application using Web Start using JDK 1.4.2
Hi all
I am very serious issue i have ejb client swing application that uses
RMI to contact a session bean deployed in JBoss now i want the client app to be installed in the client machine using web start . Also i understand i require security permission to access network resources. so i have signed all the JAR files with same certificate created using self certificate avialiable in JDK by default also in the JNLP file in have included the following tag
<security>
<all-permissions/>
</security>
Now when I launch my application using Web start it gives an error that " Unsigned application is trying to access local resources"
I unable to understand what could be the problem . Please help me with the steps to be followed where in client should be able to RMI call to the server
Thanks in Advance
NaveenYou may have tried this already, but you might have to sign the jars via command line, outside any export process from your IDE.
$ jarsigner {filename}.jar {key from keystore}
I also had problems using webstart and RMI through an RCP
Ben -
Error while deploy application in OC4J version 10.1.3.2
I have the OC4J version 10.1.3.2, I trying deploy the java application, but I have some problem. Somebody help-me? please, help into [email protected]. Thank you!
The messange from error in console:
[java] 06/07/2007 16:32:35 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES
FROMTHE_REMOTE_SERVER
[java] WARNING: Exceção retornada pelo servidor remoto: {0}
[java] java.rmi.RemoteException: bindWebApp() failed!; nested exception is:
[java] oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web
-site
[java] Active sites are:
[java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
[java] at com.evermind.server.administration.DefaultApplicationServerAdmini
strator.bindWebApp(DefaultApplicationServerAdministrator.java:420)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
mpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
ccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
[java] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(R
eleasableResourcePooledExecutor.java:303)
[java] at java.lang.Thread.run(Thread.java:534)
[java] Caused by: oracle.oc4j.admin.internal.DeployerException: Unknown sit
e: http-web-site
[java] Active sites are:
[java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
[java] at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApp
licationBinder.java:191)
[java] at com.evermind.server.administration.DefaultApplicationServerAdmini
strator.bindWebApp(DefaultApplicationServerAdministrator.java:418)
[java] ... 7 more
[java] Error: bindWebApp() failed!; nested exception is:
[java] oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web
-site
[java] Active sites are:
[java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
[java] Java Result: 17user583805,
As it tells you in the error message:
File "http-web-site.xml" is replaced by file "default-web-site.xml" in OC4J 10.1.3.x
Good Luck,
Avi. -
Problem: Deploying application in OC4J
HELP ME!!!
I'm deploy j2ee application which is a simple SessionBean, to my OC4J container (for example, OC4J_my)
Then I try to start this application via JDeveloper903.
Application fails with next error:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1; nested exception is:
javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1
java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
RMIContext.java:134
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
InitialContext.java:350
void Samplemypackage2.MySessionEJBClient.main(java.lang.String[])
MySessionEJBClient.java:18Denis -- This sounds like maybe the RMI port that you are using to connect is the one used by the home instance. Have a look at the other instance you deployed it to and see what RMI port it is using.
Thanks -- Jeff -
Exception when i try to deploy application to OC4J
Hi
Thank you for reading my post
i get the following exception when i try to deploy the application from Jdeveloper 10.1.3.1 to the same application server. that i download and install.
Binding web application(s) to site default-web-site begins...
Binding register web-module for application register to site default-web-site under context root register-register-context-root
Exception: NoClassDefFoundError: oracle/jbo/JboException
Operation failed with error:
oracle/jbo/JboExceptionDid you install adf runtime (tools -> adf runtime installer ->standalone oc4j)?
-
Help!A problem of deploying application to oc4j of oracle9ias!
I have used jdeveloper to create an application.It is a
simple servlet application to connect the database in
another host.It runs correctly.But now I want to deply it on the oracle9ias in the host in which the database reside.
I see the online help.It says that the next step is to
create a connection named connect1 and a deploy file which is deployed to this connection.This connection is ok.But when i select the option "deployed to connect1",
it shows the error like this:
Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
Invoking Oracle9iAS admin tool...
E:\Oradev\jdk\jre\bin\javaw.exe -jar E:\Oradev\j2ee\home\admin.jar ormi://server.oracle9i.com:3101/ admin **** -deploy -file E:\Oradev\jdev\mywork\test\test\test.ear -deploymentName test
Security error: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
Exit status of Oracle9iAS admin tool (-deploy): 1What type of Application Server connection did you choose ?
Following is the how-to document which might come handy.
http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
raghu
JDev Team
Maybe you are looking for
-
I updated my creative cloud apps last week. Now when I try to open a raw image (CR2's that work a week ago), photoshop opens then crashes before camera raw can open? I have also tried to open images from bridge and it does the same thing? I have un
-
I would like to download my music from my iPod touch to iTunes library, is that possible? Our old computer fried and we were unable to salvage any information. All of the music that I downloaded from CD's is not in iTunes on our new computer. Will
-
I don't know if anyone else has experienced this, but often, when I want to place multiple Word files, it places the same text. Even just now, I changed my preferences to link to the files so I can see the name of the file I was placing in the Links
-
Installed 8.2 on Dell with lots of memory and XP. Equalizer box just shows top 1/3- the adjustment bars are completely missing, and no way to adjust. It's driving me nuts- any ideas? Thanks
-
Reg.VAT configuration guide
Dear Experts How to configure VAT for newly created company code ? Pls help me soon. Thanks in advance Rajakumar.K