Deploy to jar
Hi.
I develop simple project based on JDeveloper 11G
ADF Business Components 11.1.1.56.60
BPMN Editor 11.1.1.3.0.6.84
CVS Version Internal to Oracle JDeveloper 11g Release 1 (client-only)
Java(TM) Platform 1.6.0_23
Oracle IDE 11.1.1.3.37.56.60
SOA Composite Editor 11.1.1.3.0.25.57
Team Productivity Center 11.1.1.3.37.56.60
Versioning Support 11.1.1.3.37.56.60
I have tried to deploy my project to jar file using Developer deploy functionality.
I added manifest.mf file with all dependences. It looks like this:
Manifest-Version: 1.0
Class-Path: lib/xmlparserv2.jar lib/ojdbc6.jar lib/xdb.jar lib/orai18n-mapping.jar
After deployment in jar manifest.mf looks like this:
Manifest-Version: 1.0
Class-Path: lib/xmlparserv2.jar lib/ojdbc6.jar lib/xdb.jar lib/orai18n
-mapping.jar
Main-Class: client.handingXML
When I tried to run :
java -jar archive1.jar
As result got
E:\XML_Monitoring\database_monit>java -jar archive1.jar
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/DOMParser
at client.handingXML.ini_t(handingXML.java:76)
at client.handingXML.main(handingXML.java:254)
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.DOMParser
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Where am I wrong ?
Thanks in advance for reply.
Andrii.
The JARs need to be in the lib directory relative to the location of archive1.jar.
Not inside archive1.jar.
Similar Messages
-
Error while deploying a JAR-File into 8i !
Hello to all Oracle experts,
At the attempt to deploy a Jar file into the 8i the following
error message comes onto Shell level:
initialization complete
loading : com/sun/xml/tree/XmlDocumentBuilder
ORA-01536: space quota exceeded for tablespace 'PROCON_DATA'
Error while loading com/sun/xml/tree/XmlDocumentBuilder
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_LOB", line 700
ORA-06512: at "PROCON.LOADLOBS", line 1
ORA-06512: at line 1
creating : com/sun/xml/tree/XmlDocumentBuilder
Error while creating class com/sun/xml/tree/XmlDocumentBuilder
ORA-29509: incorrectly formed Java binary class definition
The command was:
loadjava -user procon/procon@t2srv1:1521:PROCON -thin -verbose -schema PROCON xml_un.jar
It would please me if somebody has an idea to this error !
nullHi Olivier,
you could try the following approach:
1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
-- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
-- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
Hope that helps! -
How to deploy a jar file in EBS R12
Hi,
I have developped an application to load data from a spreedsheat using a jar file. All work fine in JDev.
I want now to deploy it in the EBS instance.
How to deploy the jar that i used to be recognised.
Regards,
SaadCheck this link, may help you
http://www.unitask.com/oracledaily/2012/07/25/how-to-deploy-jar-file-into-r12-server-in-oa/
thanks -
Error in deploying a jar file on JBOSS
What could be the error here ?
12:49:30,643 INFO [URLDeploymentScanner] Started
12:49:31,074 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/conf/jboss-service.xml
12:49:31,094 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 1m:11s:663ms
12:49:57,121 INFO [MainDeployer] Undeploying file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
12:49:57,121 WARN [ServiceController] Ignoring request to stop nonexistent service: null
12:49:57,121 WARN [ServiceController] Ignoring request to destroy nonexistent service: null
12:49:57,131 WARN [ServiceController] Ignoring request to remove nonexistent service: null
12:49:57,171 WARN [DeploymentInfo] Could not delete directory file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/MyBank.jar/55.MyBank.jar restart will delete it
12:49:57,171 INFO [MainDeployer] Undeployed file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
12:49:57,181 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
12:49:57,692 WARN [verifier] EJB spec violation:
Bean : MySession
Section: 22.2
Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
Info : Class not found: au.com.tusc.MySessionSession
12:49:57,692 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
12:49:57,702 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@7380f9af{ url=file:/C:/jboss-3.2.1_tomcat-4.1.24/server/all/deploy/MyBank.jar, deployedLastModified=1065501444000 }
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)check ure ejb-jar xml & <ejb-class> tag & fully completed path with all pakages are are correct or not
<!-- Session Beans -->
<session >
<description><![CDATA[Description for Cal]]></description>
<display-name>Name for Cal</display-name>
<ejb-name>Cal</ejb-name>
<home>com.abc.bo.interfaces.CalHome</home>
<remote>com.abc.bo.interfaces.Cal</remote>
*<ejb-class>com.abc.bo.ejb.CalBean</ejb-class>*
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session> -
Unable to deploy a jar on WEBLOGIC 8
Hi everybody,
I have a problem to deploy a jar file on my server IOException ....
Informations :
Solaris 8
WEBLOGIC 8 SP1
ORACLE 9.0.2
Best regards,
Alain.
The time this task was completed.
Exception: Exception:weblogic.management.ApplicationException: prepare failed
for ReferenceDataEJB.jar Module: ReferenceDataEJB.jar Error: Exception preparing
module: EJBModule(ReferenceDataEJB.jar,status=NEW) Unable to deploy EJB: ReferenceDataEJB.jar
from ReferenceDataEJB.jar: Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
java.io.IOException: Compiler failed executable.exec at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:505)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364) at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372) at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)Hello,
Thanks a lot for your answer
This step alone work very well. So i have supected and bad domaine configuration
because I have deployed the same application onto another machine and everything
was good (and the OS is the same).
On the production machine (where there is a problem), i have check BEA_HOME, WL_HOME,
JAVA_HOME and everything is good.
Have you another tip for me ?
Regards,
Alain.
"Deepak Vohra" <[email protected]> wrote:
>
Compile ReferenceDataEJB.jar with ejbc before deploying the jar file.
"Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)"
is a ejbc error.
thanks,
Deepak
"GREGOIRE Alain" <[email protected]> wrote:
Hi everybody,
I have a problem to deploy a jar file on my server IOException ....
Informations :
Solaris 8
WEBLOGIC 8 SP1
ORACLE 9.0.2
Best regards,
Alain.
The time this task was completed.
Exception: Exception:weblogic.management.ApplicationException: prepare
failed
for ReferenceDataEJB.jar Module: ReferenceDataEJB.jar Error: Exception
preparing
module: EJBModule(ReferenceDataEJB.jar,status=NEW) Unable to deployEJB:
ReferenceDataEJB.jar
from ReferenceDataEJB.jar: Compiler failed executable.exec at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468)at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
java.io.IOException: Compiler failed executable.exec at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:505)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:364)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:468)at
weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:401)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1275)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:473)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2842)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1529)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1183)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1026)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2568)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2450)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:829)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:538)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:496)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) -
Error during deploying mapbuilder.jar file in oracle application server
hi all,
Iam trying to deploy mapbuilder.jar file in oracle 10g enterprise manager oc4j environment. It is giving an error that
" An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown'
i have deployed in the same way for mapviewer.ear. It was successfully deployed.
plz any body tell me what would be the reason. I there any other way to deploying .jar file in oracle 10g enterprise manager
thnx in advance...
Regards,
srinivasHi Srinivas,
There is no need to deploy MapBuilder in an Application Server. You can start it at the command line with for example:
java -jar mapbuilder.jar -noconnect
Joao -
How to deploy custom jar (forms PJC) file in R12.1.x
Hi ,
we need use forms pjc connecting to client pc'com port with ebs form,
we can deploy with ias standard form server , but EBS 's appsweb.cfg
was automatically generated by AutoConfig , so i don't know how to config our jar in EBS env.
i had search document in metalink for serval days , can some help us to solve this problem !
thanks for any help...
BR,NolemHi all, I am confronted by the same problem.
I have manually added my custom Jar files to the archive=2 section of the appsweb.cfg config file in the $INST_TOP/ora/10.1.2/forms/server and placed the Jar files in the $COMMON_TOP/java/classes/oracle/apps/fnd/jar.
I know that this is probably not the way to go, as autoconfig will override these settings, but my first priority is getting these jar files to run in Apps Forms without errors. I got as far as that my forms don't error out anymore but not all of them are working as they should. I am also trying to deploy the WebUitl utility in EBS R12. As far as I can tell this should be supported by Oracle as it comes as part of a standard Apps Installation (except for the Jacob.jar) it can be found in: $ORACLE_HOME/forms/webutil directory and the WEBUTIL_CONFIG reference to the webutil.cfg file can be found in the default.env in the same directory as the appsweb.cfg.
If you want to look at some very good examples of PJC's there is a very good blog: http://forms.pjc.bean.over-blog.com/. You can also look at Francois Degrelle's blog on Read/Write files on the client machine without Webutil.
Nevertheless information on how to deploy and run these PJC's under EBS is scarce. Metalink offers no solutions except very outdated notes.
I would appreciate to know how to properly deploy these jar files in EBS
I am also on 12.1.x. Btw there are more threads on this subject on OTN but most are outdated (threadID=1067917, 686329, 4246525) and don't provide the solution for EBS R12.1.x.
Any help would be appreciated. -
Error at the time of Deploying EJB jar on JBoss
Hi:
I am going to create web service using EJB3.0.
But at the time deploying file on JBOss i am getting following error:
12:22:51,856 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:533)
at org.jboss.ws.metadata.wsdl.WSDLUtils.getTypeNamespace(WSDLUtils.java:700)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:313)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:107)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:76)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:70)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.start(DeploymentAspectManagerImpl.java:144)
at org.jboss.wsf.container.jboss50.BareWSFRuntime.start(BareWSFRuntime.java:66)
at org.jboss.wsf.container.jboss50.deployer.AbstractDeployerHookEJB.deploy(AbstractDeployerHookEJB.java:48)
at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:60)
at org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.internalDeploy(WebServiceDeployerEJB.java:115)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
... 18 more
12:22:51,897 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
vfszip:/home/crayom/projects/tools/jboss-5.0.0.CR2/server/default/deploy/TempConvert.jar -> java.lang.StringIndexOutOfBoundsException: String index out of range: -1So, can any body tell me the solution of this problem?
Thank You.AnupDesai wrote:
Hi:
After adding require packages also i am getting the same error.
Well, if it's not a version problem with either the JDK (installing java 6 on top of a java 5 distribution) or the Jars (like JAXB) , then , as pointed out, you might have written your Web service using a packageless class:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1938)
at org.jboss.wsf.common.JavaUtils.getPackageName(JavaUtils.java:533)Restart a new project in your IDE with a packaged ws from the start, and see if it works. -
How can I deploy a jar with directory entries using deploy profiles?
Hi,
I'm trying to deploy a jar file using deloy profiles, but the jar file deployed contains no directory entry. Why?
Is it possible to do that using deploy profiles?my project looks like this:
src +
- test
+- Main.java
+- Test.java
when I create a jar with 'jar -cf‘, I get something like this (with flat folders view):
META-INF
test
Main.class
MANIFEST.MF
Test.class
but when I use deploy profile to deploy a jar, I get this:
Main.class
MANIFEST.MF
Test.class
The directory entries are missing in the jar file.
How can I fix this?
Edited by: zeta on 2013-3-29 上午11:15
Edited by: zeta on 2013-3-29 上午11:24
Edited by: zeta on 2013-3-29 上午11:24
Edited by: zeta on 2013-3-29 上午11:25
Edited by: zeta on 2013-3-29 上午11:26 -
Get server instance name without deploying weblogic.jar to client
I use wlclient.jar with my client. Using weblogic.jar instead causes the
size of the deployment package of my client to go from 4 meg to 34 meg
(roughly). I don't want full MBean functionality, all I want to do is find
out what the server instance name is. Surely there's a way to do this.Hi,
Weblogic provides you a way to create client jar files so that the complete weblogic.jar
doesn't need to be downloaded to the client. The tool is called verboseToZip.
See
http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
hope this helps, pat
"BEA" <[email protected]> wrote:
I am trying to deploy my client application on a standalone windows machine
and do not wish to deploy weblogic.jar with the client deployment. Is
there
any way of allowing my clients to use Weblogic JNDI without having to
deploy
weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
I find it hard to believe that everyone who is developing on weblogic
distributes this JAR file to their customers with their client
applications....?
Can you use something other than weblogic.jndi.WLInitialContextFactory
such
as the sun jndi provider instead....?
If anyone can shed some light on this deployment problem it would be
much
appreciated.....even if its simply 'thats just the way you have to do
it
!......will save me time trying to get other solutions to work...!
TIA -
Deploying, ReDeploying JAR file to WebLogic EM without restarting the serve
Hi
Can any one help me how to re-deploy .jar file on weblogic EM with steps.
Deploying, ReDeploying JAR file to WebLogic EM without restarting the server
Appriciate if you provide information in steps with screenshot.
Note: Not in weblogic 11g console.
Thanks,
Phanihttp://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA
-
Could not deploy an JAR archive because JNDI name is already in use.
Hi,
I have a problem.
When the WebLogic server starts, it cannot deploy an EJB application because a
JDNI name is already in use.
What can I do to unregister this name ?
If it is possible a better description is step by step.
The WebLogic server, when starts, prints the next lines:
<18/01/2002 12:35:24 PM GMT-06:00> <Error> <J2EE> <Error deploying EJB Component
: sui_ejb
weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested exc
eption is:
javax.naming.NameAlreadyBoundException: Can't rebind anything but a repl
ica-aware stub to a name that is currently bound to a replica-aware stub; remain
ing name ''
javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-awar
e stub to a name that is currently bound to a replica-aware stub; remaining name
<<no stack trace available>>
>
<18/01/2002 12:35:24 PM GMT-06:00> <Error> <J2EE> <Error deploying application
s
ui_ejb: Could not deploy: 'sui_ejb.jar': JNDI name in use
>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer> <WebLogic Server
st
arted>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer> <ListenThread liste
ning on port 7001, ip address 157.253.174.63>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer> <SSLListenThread
li
stening on port 7002, ip address 157.253.174.63>
In advance, thanks for your help.
- Ricardo De la Rosa (Colombia)Cameron,
I resolve the problem using your clues.
The problem was that I include the ejb.jar file in the .ear file and I copy the
ejb.jar file in the applications directory and it is redundant.
It is only needed to include the ejb.jar file in the .ear file.
Best regards,
- Ricardo (Colombia)
"Cameron Purdy" <[email protected]> wrote:
In that case, check the config.xml and make sure that the app isn't being
deployed in ways that you weren't expecting ... just double-check
everything. Sometimes the console does weird things.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Ricardo De la Rosa" <[email protected]> wrote in message
news:[email protected]...
Cameron,
I think that it isn't the problem because yesterday it deploys correctly,and
today I didn't touch the compilation options.
Thank you !
If you have another idea I really appreciate it.
Best regards,
- Ricardo (Colombia)
"Cameron Purdy" <[email protected]> wrote:
Hi Ricardo,
Certain items are not replica-aware, such as JMS queues, so they must
be
deployed to a single target in the cluster. It sounds like your EJB
is
compiled with an option that turned off the replica aware stubs.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you shouldbe!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Ricardo De la Rosa" <[email protected]> wrote in message
news:[email protected]...
Hi,
I have a problem.
When the WebLogic server starts, it cannot deploy an EJB applicationbecause a
JDNI name is already in use.
What can I do to unregister this name ?
If it is possible a better description is step by step.
The WebLogic server, when starts, prints the next lines:
<18/01/2002 12:35:24 PM GMT-06:00> <Error> <J2EE> <Error deployingEJB
Component
: sui_ejb
weblogic.ejb20.EJBDeploymentException: Error deploying stateless
EJB;
nested exc
eption is:
javax.naming.NameAlreadyBoundException: Can't rebind anythingbut
a repl
ica-aware stub to a name that is currently bound to a replica-awarestub;
remain
ing name ''
javax.naming.NameAlreadyBoundException: Can't rebind anything but
a
replica-awar
e stub to a name that is currently bound to a replica-aware stub;remaining name
<<no stack trace available>>
>
<18/01/2002 12:35:24 PM GMT-06:00> <Error> <J2EE> <Error deployingapplication
s
ui_ejb: Could not deploy: 'sui_ejb.jar': JNDI name in use
>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer> <WebLogicServer
st
arted>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer>
<ListenThread
liste
ning on port 7001, ip address 157.253.174.63>
<18/01/2002 12:35:26 PM GMT-06:00> <Notice> <WebLogicServer><SSLListenThread
li
stening on port 7002, ip address 157.253.174.63>
In advance, thanks for your help.
- Ricardo De la Rosa (Colombia) -
StackOverflowError when deploying sbConfig.jar in weblogic sbconsole
StackOverflowError when deploying sbConfig.jar in weblogic sbconsole
Hello,
We would like to determine the possible causes of the error encountered when importing sbconfig jar in OSB 10gr3. See error message below.
####<Jan 12, 2011 11:31:48 AM GMT+08:00> <Error> <ConfigFwk> <crmhpdqvm04> <AdminServer> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <1294803108771> <BEA-000000> <notifyBeforePrepare() failed for listener CoreToSessionPropagator
java.lang.StackOverflowError
at weblogic.xml.query.types.XQueryTypeSeqNode.kind(XQueryTypeSeqNode.java:24)
at weblogic.xml.query.compiler.StreamableTypeVisitor.visit(StreamableTypeVisitor.java:87)
at weblogic.xml.query.types.XQueryTypeSeqNode.visit(XQueryTypeSeqNode.java:113)
at weblogic.xml.query.types.XQueryTypeNode.visit(XQueryTypeNode.java:613)
at weblogic.xml.query.compiler.StreamableTypeVisitor.visit(StreamableTypeVisitor.java:99)
This error shows after clicking import, and this prevents us from reaching the activate or submit part.
We have tried importing using the 3 ways below but the same error above is encountered:
1. Workshop (publish via OSB - Run As Server, and OSB - Export Resources to Server).
2. OSB console.
3. WLST.
We would like to know what causes this javastackoverflow. Kindly verify also the java mem args set in setDomainEnv (as the issue might be related to java memory):
MEM_ARGS="-Xms1024m -Xmx1024m"
export MEM_ARGS
MEM_PERM_SIZE="-XX:PermSize=48m"
export MEM_PERM_SIZE
MEM_MAX_PERM_SIZE="-XX:MaxPermSize=512m"
export MEM_MAX_PERM_SIZE
We will appreciate any input you will provide. Thanks.I was able to activate the task with no out of memory issue after setting -Xmx to 2048m. The activation took around 25 mins. Not sure if this is just fine.
I am curious on the error logs below seen during the activation. See below:
<Jan 13, 2011 1:32:24 PM GMT+08:00> <Error> <WliSbTransports> <BEA-381502> <Exception in JmsInboundMDB.onMessage: com.bea.wli.sb.transports.TransportException: No transport information is registered for: ProxyService
<Jan 13, 2011 1:32:24 PM GMT+08:00> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
java.lang.AssertionError.
java.lang.AssertionError
at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:138)
These logs below were also noticed before the logs above appeared and also before out of memory issue.
<Jan 13, 2011 12:03:16 PM GMT+08:00> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 0 secs>
<Jan 13, 2011 12:11:20 PM GMT+08:00> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "608" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@1a2648e[
POST /sbconsole/sbconsole.portal?_nfpb=true&_windowLabel=ImportConfiguration&ImportConfiguration_actionOverride=%2Fdeployment%2FUpdateImportRepository&_pageLabel=SysAdmin_Imports_ViewImports HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://<IP>:7001/sbconsole/sbconsole.portal?_nfpb=true&_windowLabel=ImportConfiguration&ImportConfiguration_actionOverride=%2Fdeployment%2FLoadImportFile&_pageLabel=SysAdmin_Imports_ViewImports
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CWADS32; InfoPath.2)
Content-Length: 350
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: oracle.uix=0^^GMT+8:00; WINDOW_JSP_ID=Deployment_Import_ViewImportRepository; WINDOW_X_POS=0; WINDOW_Y_POS=0; ADMINCONSOLESESSION=HcRvNn4JLmwbwC2jLYPdNV3hpkZznMxrzQXGnqQTlwvBPbXv6KvJ!-1773346860
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.util.HashMap$HashIterator.<init>(HashMap.java:792)
java.util.HashMap$KeyIterator.<init>(HashMap.java:840)
java.util.HashMap$KeyIterator.<init>(HashMap.java:840)
Please advise.
Edited by: 827591 on Jan 12, 2011 10:43 PM -
Why i canot deploy cd.jar when using JBoss on linux
Hi,friends
I have successfully deploy the interest.jar on my linux box.But when deploying cd.jar it tells me that "Could not deploy file:/usr/local/JBoss-2.4.3_Tomcat-3.2.3/jboss/tmp/deploy/Default/cd.jar,
Cause:org.jboss.ejb.DeploymentException: Bean com.web_tomorrow.cd.CDBean not found within this application."
The source directory is described as below:
src
|_com
| |_web_tomorrow
| |_cd
| | (CD.class,CDBean.class,CDHome.class,
| | CDCollection.class,
| | CDCollectionBean.class,
| | CDCollectionHome.class,
| | CDExistsException.class)
| |_jspcd
| |_utils()
|_MATA-INF
| (ejb-jar.xml,jboss.xml)
|_WEB_INF
On src directory
#jar -cvf cd.jar com/web_tomorrow/cd/*.class \
com/web_tomorrow/utils/*.class META-INF/
When i cp the cd.jar to deploy directory jboss automatically begin deploying the cd.jar and echo the above message and stop deploying.
Here is my configuration file:
[ejb-jar.xml]
<?xml version="1.0" encoding="Cp1252"?>
<ejb-jar>
<display-name>MusicCDs</display-name>
<enterprise-beans>
<entity>
<description>Models a music CD</description>
<ejb-name>CDBean</ejb-name>
<home>com.web_tomorrow.cd.CDHome</home>
<remote>com.web_tomorrow.cd.CD</remote>
<ejb-class>com.web_tomorrow.cd.CDBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-field><field-name>id</field-name></cmp-field>
<cmp-field><field-name>title</field-name></cmp-field>
<cmp-field><field-name>artist</field-name></cmp-field>
<cmp-field><field-name>type</field-name></cmp-field>
<cmp-field><field-name>notes</field-name></cmp-field>
<primkey-field>id</primkey-field>
</entity>
<session>
<description>Models a music CD collection</description>
<ejb-name>CDCollectionBean</ejb-name>
<home>com.web_tomorrow.cd.CDCollectionHome</home>
<remote>com.web_tomorrow.cd.CDCollection</remote>
<ejb-class>com.web_tomorrow.cd.CDCollectionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-ref>
<ejb-ref-name>ejb/CD</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.web_tomorrow.cd.CDHome</home>
<remote>com.web_tomorrow.cd.CD</remote>
<ejb-link>com.web_tomorrow.cd.CDBean</ejb-link>
</ejb-ref>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>CDBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
[jboss.xml]
<?xml version="1.0" encoding="Cp1252"?>
<jboss>
<secure>false</secure>
<container-configurations />
<resource-managers />
<enterprise-beans>
<session>
<ejb-name>CDCollectionBean</ejb-name>
<jndi-name>cd/CDCollection</jndi-name>
<configuration-name></configuration-name>
</session>
<entity>
<ejb-name>CDBean</ejb-name>
<jndi-name>cd/CD</jndi-name>
<configuration-name></configuration-name>
</entity>
</enterprise-beans>
</jboss>
I am frustrated now! Any help is greatly appreciated!
Best Regards!$(jboss_home)/log/server.log told me that i should have a look at Container.java first.So i openned it and found the following code snippet:
Logger.debug("Binding an EJBReference "+ref.getName());
if (ref.getLink() != null) {
// Internal link
Logger.debug("Binding "+ref.getName()+" to internal JNDI source: "+ref.getLink());
Container refContainer = getApplication().getContainer(ref.getLink());
if (refContainer == null)
throw new DeploymentException ("Bean "+ref.getLink()+" not found within this application.");
OK,the DeploymentException is thrown because the refContainer is null.
Have a look at getContainer method below:
public Container getContainer(String name)
return (Container)containers.get(name);
where,
containers is a HashMap which holds the mapping between ejbName and container.So the reason is the jboss cannot find corresponding container from the given parameter - name.Its value is ref.getLink()'s return value,com.web_tomorrow.cd.CDBean.
open the ejb-jar.xml,i found link is defined as below:
<ejb-ref>
<ejb-ref-name>ejb/CD</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.web_tomorrow.cd.CDHome</home>
<remote>com.web_tomorrow.cd.CD</remote>
<ejb-link>com.web_tomorrow.cd.CDBean</ejb-link> <- wrong
</ejb-ref>
After i changed it to <ejb-link>CDBean</ejb-link> the jboss can deploy cd.jar normally.
The problem itself isnot complicate but it demonstrated that the open source is good for you to fix the bug up!
BTW,in order to making it easy to fix the bug, the jboss binay version is built with debug infomation.So you can rebuid it without any debug infomation.
<target name="compile" depends="prepare">
<mkdir dir="${build.classes.dir}"/>
<javac srcdir="${src.dir}"
destdir="${build.classes.dir}"
debug="on" <- change it to "off"
deprecation="off"
optimize="on"
includes="org/**"
excludes="**/activation/**, **/*BeanInfo.java"
>
<classpath refid="classpath"/>
</javac>
</target>
Thanks for all your help! -
Location for appserv-deployment-client.jar
Hi All,
I need small help from this forum. I was search two .jar files using Google. I didn't find this file location. If anybody have this following jar files or this two files location on web. Please send the .jar files to my personal id. [email protected] or share this web location, I'll download ...
1) appserv-deployment-client.jar
2) appserv-launch.jar
Thank You,
PattanaikI think I have found the solution:
Yes, POSSIBLE. Lets say we want to have "prog.jar" and "prog_lib.jar"
To do that:
1. First deploy "prog.jar" by excluding all libraries.
2. Then, deploy "prog_lib.jar" by excluding all classes but including libraries only.
Add the "prog_lib.jar" file into your classpath.
It should work.
Any other comments?
Maybe you are looking for
-
A Warring has UFC Assay Dark 40 results for the Botanist vs. Silva agitate book Fri period at the U.S. Depository Field in Cincinnati, River. In the primary event, Matt Chromatic faculty row off against Erick Woodland in a welterweight repugn. Costas
-
Using Flex SWC in Flash CS3 (ADOBE EXPERT NEEDED)
I've searched everywhere, and there is not one good answer to the question: "How do I use a Flex AS3 Class Library in Flash CS3?" So I decided to come to the source :) This question has also been asked on this forum twice, but got no answer. Any help
-
HT1473 how do i Athorize my computer
i cant get itunes to work because it says my computer isnt athorized help how do i athorize it?
-
Problem downloading purchased movie from itouch
I purchased two movies from itunes and one downloaded without a problem. The other movie will not download. I keep getting download error message and am unable to get it downloaded.
-
Authorization Control on Transaction Type Fields
Hi Friends, I have created 4 customised fields in Complaint Transaction Type. Lets say A1,A2 and B1,B2. Now the requirement is to control the fields based on roles or users. Is this Possible? if yes how? I mean UserA will be able to see and edit fiel