Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

deploying jazn-data.xml

298372Feb 23 2005 — edited Feb 24 2005
I'm trying to set up container managed security from JDev (10.1.2) into an Oracle AS (10.1.2.0.0) all on the same Windows 2k box. The application is named cms and updating the cms-jazn-data.xml file + web.xml served to set up security in the stand-alone OC4j that runs from jdev. What I want to do is put those users and roles into the app server without going to OEM and setting up everything again.
the cms-jazn-data.xml file doesn't get assembled into the ear or the war so I created an orion-application.xml and jazn-data.xml in my META-INF directory for the project. When I try using jdev to deploy it tells me it deployed but nothing seems to exist on the app server. When I use OEM to deploy the EAR I get this error:
Deployment failed: Nested exception
Resolution:

Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Constructing UserManager for cms:caught oracle.security.jazn.JAZNInitException: C:\oracle\oraAS\j2ee\home\application-deployments\cms\jazn-data.xml (The system cannot find the file specified). deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Constructing UserManager for cms:caught oracle.security.jazn.JAZNInitException: C:\oracle\oraAS\j2ee\home\application-deployments\cms\jazn-data.xml (The system cannot find the file specified)

The file is in the ear, I checked it via winzip. Its under the meta-inf directory just where it appears to belong. What's the missing piece of the puzzle here?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2005
Added on Feb 23 2005
1 comment
354 views