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>

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 !
    null

    Hi 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!

  • 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,
    srinivas

    Hi 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

  • Error while deploying jar file in jboss

    Hi,
    I am trying to deploy a jar file in jboss, i have copied the jar in jboss_home/server/default/deploy/ directory. and i am getting the following errors while starting the jboss server.
    ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
    0.5.GA/server/default/deploy/AdminServiceBean.jar
    org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
    d, see above for error messages.
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
    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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
    .java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
    rServiceMBeanSupport.java:238)
    at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
    erceptor.java:74)
    at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deployer
    InterceptorEJB.java:44)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
    create(SubDeployerInterceptorSupport.java:180)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
    ptor.java:91)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy26.create(Unknown Source)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy8.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:421)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:634)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:263)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
    bstractDeploymentScanner.java:336)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
    upport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
    eanSupport.java:245)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:417)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy4.start(Unknown Source)
    at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
    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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
    er.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
    or.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
    BeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
    java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
    at org.jboss.Main.boot(Main.java:200)
    at org.jboss.Main$1.run(Main.java:490)
    at java.lang.Thread.run(Thread.java:595)
    can anyone please help me on this
    Thanks,
    Malert

    Hanif,
    Check this wiki's,
    http://wiki.sdn.sap.com/wiki/display/JSTSG/(JSTSG)(Deploy)Problems-P29
    http://wiki.sdn.sap.com/wiki/display/JSTSG/(GP)CannotDeployGPContent-WrongManifestFileAttributes
    Good Luck!
    Sandeep Tudumu

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Error while updating a jar file

    I am trying to update a jar file using teh following command
    jar -uf project.jar fileMy.prop
    however while doing that i get the following error
    java.io.IOException: Error in writing existing jar file
    at sun.tools.jar.Main.run(Main.java:179)
    at sun.tools.jar.Main.main(Main.java:904)

    Perhaps some process (your java program perhaps) is still running that has the file open still? You'll need to shut down the process(es) that have it open. Or you don't have proper rights to the directory/file. Not a java issue.

  • 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,
    Phani

    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10105/deploy.htm#BIHIIEIA

  • How to deploy exploded war file(from JBoss-Eclipse IDE) to Sun Server 9

    anyone plz tell how to deploy exploded war file (from JBoss-Eclipse IDE) to sun application server 9.i deployed noramllay at tht time404 hrown.plzz tell urgent
    regards,
    S Sunder

    Hi!
    How did You deploy WAR file? Did You try to do this with Application Server Admin Console?
    Thanks,
    Roman.

  • Deploying 2 entity beans in the same jar file using jboss

    i have beans namely savings entity bean, checkings entity beans and teller session beans, i'm trying to deploy it with in the same jar file. but im getting an error 'savings bean : bean expects one persistance-type'. i hope someone could help me about this. its urgent. thanks

    Although I am not super familiar with Jboss, my guess is that looks like the ejb xml sheet is not specifying the persistance type correctly for an entity bean. Take a look at your ejb xml sheet or post it if necessary.
    -Dat

  • Error deploying to .jar file

    Hi everyone,
    I am forms developer and as such i am a completly clueless as to how to do some basic things in this new tool i am trying to learn.
    As a start, i am building some simple ADF/Swing applications, everything goes fine until i reach the point when i want to deploy my little proyect. Here's what i have been doing based on what help i could find in this forum. Thanks in advance and sorry for my poor english.
    1) Create a deployment profile, i select all the dependencies using the "Dependency Analisis" option under file groups. Question: regarding the long list of dependencies shown in this section, is it necesary to include all the libraries listed? if i include everything the resulting jar file is 120Mb in size, and that is for a very simple form. Is this normal/correct.?
    2) After the jar is deployed i try to run it with "java -jar xxx.jar" but i get the following exceptions: It seems to be related to the manifest file, and i find it very weird that, when i look in the jar file, there are TWO manifest.mf under the same META-INF folder, one is all uppercase and is quite small, the second is lowercase and quite large in size. I dont know if this is what's causing the problem and i cant find any other person that is having this same issue.
    The error:
    Exception in thread "main" java.lang.SecurityException: no manifiest section for
    signature file entry javax/media/rtp/event/SessionEvent.class
    at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVe
    rifier.java:260)
    at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier
    .java:172)
    at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
    at java.util.jar.JarVerifier.update(JarVerifier.java:194)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
    at java.util.jar.JarFile.getInputStream(JarFile.java:362)
    at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
    at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:543)
    at sun.misc.URLClassPath$3.run(URLClassPath.java:320)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
    at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Thanks.

    Hello Avrom
    Thanks for the quick reply, in answer to your suggestion, in fact, as you recommended, excluding the manifest from the deployment profile solved "that" error but... (there's always a but, also, by excluding the manifest i had to include the classpath in the command line to indicate the "entry" point or main class), now i am receiving another error wich is completly unrelated (i think) to the previous one.
    Thank you very much.
    Fabian.
    The error:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: view/NameOfMyCla
    ss (Unsupported major.minor version 50.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • Error while deploying a .war file

    Hi,
    I have a one Servlet class, which references two more classes for database
    connection. After creating a .war file, I am trying to deploy it on iAS, and I
    get the following error:
    Failed to deploy web application "MBSServlet". Jar file: /var/tmp/jar61304.tmp
    is missing its standard xml descriptor located at WEB-INF/web.xml
    I don't know anything about /var/tmp/jar61304.tmp, I don't know where is it picking it up from. And my web.xml is as follows:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" " " target="_new">http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
    <servlet-name>MBSServlet</servlet-name>
    <servlet-class>MBSServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MBSServlet</servlet-name>
    <url-pattern>/MBSServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    Any help!!
    thanks!!
    Shalu

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • Error while deploying the SAR file to EM Console.... MDS-01330: Failed to l

    Hi Team,
    We configured the HUDSON Tool with BPEL Projects. When I am trying to deploy the BPEL Projects to the SOA SERVER. I am getting an error associated with MDS. We never used MDS for storing teh metaData But still we are getting an error.
    10:35:42 deploy:
    10:35:42 [input] skipping input as property serverURL has already been set.
    10:35:42 [input] skipping input as property sarLocation has already been set.
    10:35:42 [deployComposite] setting user / password ..., user = weblogic
    10:35:42 [deployComposite] Processing sar = D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ/deploy/sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Adding sar file - D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ deploy \ sca_XYZ_rev1.17.jar
    10:35:42 [deployComposite] Creating HTTP connection to host: 10.246.161.147, port: 8020
    10:35:44 [deployComposite] Received HTTP response from the server, response code = 500
    10:35:44 [deployComposite] ----> response code = 500, error: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330: Failed to load the configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite]: MDS-01330: Failed to load configuration document MDS
    10:35:44 [deployComposite] MDS-01329: Unable to load the element "persistence-config"
    10:35:44 [deployComposite] MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 [deployComposite] MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 [deployComposite] weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44 [deployComposite].
    10:35:44
    10:35:44 BUILD FAILED
    10:35:44 D: \ Programs \ hudson \ jobs \ P6.1_XYZ \ workspace \ XYZ \ build.xml: 44: The following error occurred while executing this line:
    10:35:44 D: \ Oracle \ 11gR1ps1 \ jdeveloper \ bin \ ant-sca-deploy.xml: 132: Error during deployment: Error occured when creating target MDS instance.: Oracle.mds.config.MDSConfigurationException: MDS-01330 : Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    10:35:44: MDS-01330: Failed to load configuration document MDS
    10:35:44 MDS-01329: Unable to load the element "persistence-config"
    10:35:44 MDS-01370: The configuration for use MetadataStore store metadata \ "soa-infra-store \" is invalid.
    10:35:44 MDS-00922: Unable to create snapshot of heading ConnetionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl".
    10:35:44 weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..
    This is not pertaining to a single Project and this was happening with all BPEL Process.
    Please help us since it was blocking us to either delete a SAR file from EM Console as well as Deploy the SAR file to the EM Console.
    Thanks,
    Venugopal Raja

    weblogic.common.resourcepool.ResourceDisabledException: Pool mds-soa is Suspended, cannot allocate resources to applications ..Check server logs to find out why mds-soa is suspended. Make sure that datasource mds-soa is up and running on SOA servrs before deploying an application.
    Regards,
    Anuj

  • Where i Put my swing application jar file in jboss

    Hi experts...
    I develope swing application and convert it into jar file....I know jnlp deployment using tomcat..In tomcat i
    put my appcation.jar in webapps/root folder...This is not similar in jboss..I dont know where i put my applcation.jar in jboss.If any body know the idea please let me know..

    Hi
    You have to put your jar file in
    server/default/deploy
    Regards
    M Fazal Ur Rehman

  • Error while deploying an ear file in the Oracle Application Server

    Hi,
    There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
    Error
    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: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
    We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rar

    Hello
    did you configure the startweblogic file as mentioned in the admin guide ?

Maybe you are looking for

  • Using two KPI's in FOX Code

    Hi, I have two key figures in my aggregation level, actual and forecast and a calculated key figures, Revenue. The way i want to write a FoX code is if Fiscal Year Period is GREATER THAN OR EQUAL TO cURRENT MONTH, Revenue = Forecast else it is equal

  • I am looking for a tutorial I had found a few days back on Tabular data display in Flex

    Hi,     I picked up Flex programming a few days ago and I was learning about data grids and tabular display of data. I came across a tutorial with code samples that showed how to 1. display information in a tabular format. 2. how to read that informa

  • ISR template error in MSS PCR

    Hi all.. i am implementing MSS PCR on EP 60... MSS 100 when i user any of the scenarios in PCR, it gives me an error "Error in try-catch block - Template could not be retrieved" whereas ... the template in ISR scenario defination exists. this is the

  • SCROLL BAR PLACEMENT

    Hey, If the Forward/Back buttons are on the left, why is the scroll bar on the right? Wouldn't it make sense to have them close together? Or at least a preferences option to move the scroll bar to either side?

  • InfoPackage definition for Bespoke SIS Structure

    All I have a bespoke SIS R/3 Structure which I need to extract data from and import into BW. Everything is setup, but I am having trouble with defining my InfoPackage. In the SIS structure there is a field called Version (VRSIO), which has a “default