Application Jdevelopper 10.1.3.4.0 deployed to JBoss 4.0.5.GA

Hello,
We develop an application with Jdeveloper 10.1.3.4.0 and we want to deploy it to JBoss 4.0.5 GA but we have an error message like "EJB not bound".
Our application is formed by 2 pojects (Model and View). We have chosen to use a EJB SessionBean (Stateless), and a Local Interface.
For the mapping with te Database (Oracle 9i), we have a TopLink / Java Objects from tables ( SFMap).
Can you help me please because the deployment to JBoss doesn't work whereas, all works fine with OC4J.
I have heard that the deployment to JBoss4.0.5GA 's not possible with EJB3?
Thank you very much,
Diane

LS,
Seems that you have a perfect test case to submit to My Oracle Support (http://support.oracle.com) if it happens every time. That's what I would do.
John

Similar Messages

  • Application done using tomcat throwing eceptions while deploying in JBoss

    hi frds
    i devoloped an application using tomcat and its working fine. now i deploying the war generated by tomcat in JBOSS. after deploying application working fine with JBOSS also but the log contains the exception. the stack trace from log file is
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=LPCIntex.war,id=1039069946
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webContext: null
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] warURL: file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp29121LPCIntex-exp.war/
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser@12c937c
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
    2007-11-20 12:06:47,234 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/LPCIntex, warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp29121LPCIntex-exp.war/
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader@186dd93
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3@ef9d00{ url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp29121LPCIntex-exp.war/ ,addedOrder=39}
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader@ab95e6
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader@e39a3e
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader@a39137
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] addEnvEntries
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceEnvRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkMessageDestinationRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbLocalRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkServiceRefs
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkSecurityDomain
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] No security-domain given, using default: java:/jaas/other
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other
    2007-11-20 12:06:47,234 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End
    2007-11-20 12:06:47,281 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting
    2007-11-20 12:06:50,343 INFO  [org.apache.catalina.loader.WebappClassLoader] validateJarFile(C:\jboss-4.0.2\server\default\.\tmp\deploy\tmp29121LPCIntex-exp.war\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    2007-11-20 12:06:50,625 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)/Tomcat-5.5'
    2007-11-20 12:06:50,671 INFO  [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    2007-11-20 12:06:50,671 INFO  [org.apache.struts.util.PropertyMessageResources] Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    2007-11-20 12:06:51,859 ERROR [org.apache.commons.digester.Digester] Parse Error at line 99 column 17: The content of element type "struts-config" must match "(display-name?,description?,data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(display-name?,description?,data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1572)
         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
         at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
         at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
         at org.jboss.web.WebModule.startModule(WebModule.java:68)
         at org.jboss.web.WebModule.startService(WebModule.java:46)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:418)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy28.start(Unknown Source)
         at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:394)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy8.deploy(Unknown Source)
         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
         at $Proxy0.start(Unknown Source)
         at org.jboss.system.ServiceController.start(ServiceController.java:418)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy4.start(Unknown Source)
         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
         at $Proxy5.deploy(Unknown Source)
         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
         at org.jboss.Main.boot(Main.java:195)
         at org.jboss.Main$1.run(Main.java:463)
         at java.lang.Thread.run(Thread.java:595)any workaround to stop the exception
    thanks
    R

    The error message seems pretty clear : the order of your XML elements in your struts config file is wrong.
    These XML elements must be in the order defined in the parenthesis after "must match".

  • Oracle Application Server Release 2 (10.1.2) Deployment Notes question

    Hi!
    I'm following the Oracle Application Server Release 2 (10.1.2) Deployment Notes (http://download-uk.oracle.com/docs/html/B25947_01/deployment_topics006.htm) for deploying an application, built in Jdeveloper 10.1.3 to AS 10.1.2. I have a question about Configuring JDeveloper to Generate Configuration Files That Are J2EE 1.3-Compliant. Do I need all the files in table 34-3? (http://download-uk.oracle.com/docs/html/B25947_01/deployment_topics006.htm#CIHHBJAI)
    I already have some of these files. Can I change the version of existing files or do I need new ones? How can I change the version of existing files?
    Here are the headers of some of these files:
    web.xml: (Here I probably just change version="2.4" to version="2.3")
    <?xml version = '1.0' encoding = 'windows-1250'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
             version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    orion-application.xml: (Is version="10.0" the version I need to change to "1.2"?)
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                       xsi:schemaLocation="http://www.oracle.com/technology/oracleas/schema http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd"
                       version="10.0"
                       xmlns="http://www.oracle.com/technology/oracleas/schema">
    data-sources.xml.xml: (This file has only XML version, I don't believe this is the version I need to change)
    <?xml version = '1.0' encoding = 'windows-1250'?>I only have these three files from the table in my application. Do I need application.xml and oc4j-connectors.xml too?
    Thank you in advance!
    BB

    Found some more details on this error in emias.log:
    2007-11-21 09:22:54,538 [EMUI_09_22_54_/console/ias/oc4j/deployWiz/webModuleMappings$ctxType1=oracle*_ias$target=MY_AS_INSTANCE*_home$type=oc4j$ctxName1=MY_AS_INSTANCE$selectedStep=1]
    ERROR ias.oc4j doWebModulesNavigation.920 - DeployWiz: Caught exception in doWebModulesNavigation
    2007-11-21 09:23:49,054 [Thread-24] ERROR ias.oc4j doDeployWork.2628 - DeployWiz: Caught exception in doDeploy
    java.lang.NoClassDefFoundError: oracle/dms/instrument/CorrelationContext
    at oracle.ias.sysmgmt.task.TaskMaster.setContextECID(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.sysman.ias.sta.oc4j.DeployAppAdminObj.deploy(DeployAppAdminObj.java:164)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2594)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)
    2007-11-21 09:23:49,054 [Thread-24] ERROR ias.IASUtil displayError.753 -
    java.lang.NoClassDefFoundError: oracle/dms/instrument/CorrelationContext
    at oracle.ias.sysmgmt.task.TaskMaster.setContextECID(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
    at oracle.sysman.ias.sta.oc4j.DeployAppAdminObj.deploy(DeployAppAdminObj.java:164)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2594)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)
    2007-11-21 09:23:49,054 [Thread-24] ERROR util.iAS displayError.369 - An internal error occurred during the operation.
    java.lang.NoClassDefFoundError: oracle/core/ojdl/query/LogQueryException
    at oracle.sysman.ias.sta.oc4j.DeployWiz.removeAdminObjectsFromCache(DeployWiz.java:2708)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.doDeployWork(DeployWiz.java:2648)
    at oracle.sysman.ias.sta.oc4j.DeployWiz.access$000(DeployWiz.java:179)
    at oracle.sysman.ias.sta.oc4j.DeployWiz$DeployBean.doWork(DeployWiz.java:3098)
    at oracle.sysman.emSDK.eml.util.iAS.ProcessingBean$ProcessingThread.run(ProcessingBean.java:264)
    at java.lang.Thread.run(Thread.java:534)

  • Soap request with attachment --problem in deploye to jboss useing Jdevelope

    using Jdeveloper and oc4j application server i made two application.
    In application one i exposed a web service method.In this application their is a handler class which able to handle soap request and response with attachment.
    In application two a client is sends a soap request with attachment.
    If i deploye it in oc4j it is working fine. But if i Deploye to JBoss server [i made a jboss application server connection] and then trying to send the soap request with attachment from the client application i gets the following errors--
    Exception in thread "main" javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:152)
         at etrans.TripBean.a.ClientGateWay.msgEnvelope(ClientGateWay.java:50)
         at etrans.TripBean.a.ClientGateWay.main(ClientGateWay.java:60)
    Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
         ... 2 more
    Caused by: javax.xml.soap.SOAPException: Message send failed: Connection refused
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:458)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:865)
         ... 4 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:516)
         at java.net.Socket.connect(Socket.java:466)
         at java.net.Socket.<init>(Socket.java:366)
         at java.net.Socket.<init>(Socket.java:208)
         at javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:202)
         at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3115)
         at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:3858)
         at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2921)
         at HTTPClient.HttpOutputStream.close(HttpOutputStream.java:421)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.sendMessage(HttpSOAPConnection.java:724)
         at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:373)
         ... 5 more
    Am i made any mistake to deploye to jboss or it is not possiable to access the web service in such way?
    please suggest me what is the procedure to recover from this.

    Hello,
    How do you package you WS client application to be deployed in JBoss?
    The JAX-RPC clients are not that portable you may need to recompile the client with JBoss WebService implementation/tools, and check that you do have the different deployment descriptors for the client too.
    Regards
    Tugdual Grall

  • Deployment to jboss 5.1.0GA

    java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    *** DEPLOYMENTS IN ERROR: Name -> Error
    vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/ -> org.jboss.deployers.spi.DeploymentException: Error creating classloader for vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/
    DEPLOYMENTS IN ERROR:
    Deployment "vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/" is in error due to the following reason(s): java.io.FileNotFoundException: C:\JBoss\jboss-5.1.0.GA\server\default\tmp\vfs-nested.tmp\89b88157_Cal1.war (The system cannot find the file specified)
    at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
    at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
    at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
    at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
    at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
    at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    *** DEPLOYMENTS IN ERROR: Name -> Error
    vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/ -> org.jboss.deployers.spi.DeploymentException: Error creating classloader for vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/
    DEPLOYMENTS IN ERROR:
    Deployment "vfszip:/C:/JBoss/jboss-5.1.0.GA/server/default/deploy/EarTest.ear/" is in error due to the following reason(s): java.io.FileNotFoundException: C:\JBoss\jboss-5.1.0.GA\server\default\tmp\vfs-nested.tmp\89b88157_Cal1.war (The system cannot find the file specified)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
    at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
    at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
    at org.jboss.remoting.Client.invoke(Client.java:1724)
    at org.jboss.remoting.Client.invoke(Client.java:629)
    at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
    ... 15 more
    the ear file i deployed is down when i try to Up it, i get this error..
    i have made a war of viewController, a jar of Model and and ear of application and deployed the application
    http://serverfault.com/questions/20463/getting-deployment-error-for-coldfusion8-rds-on-jboss-how-to-fix-this
    In this link it is written that we have 2 set the value of JVM ho to set it i dnt know..
    please help

    User,
    As you may know, ADF 11g applications have only been certified/supported on WLS 10.3.x at the moment. Any other application server (whether it be JBoss, Tomcat, Glassfish, WAS, etc) aren't officially documented/supported. There are certainly people who have tried to get it working with varying degrees of success (a quick search of the forum would find some of them), and Shay has indeed highlighted a blog entry of someone who has worked with JBoss.
    John

  • Deployment in JBOSS

    Hi,
    I'm new to Aqualogic BPM. How do I deploy the application developed in Aqualogic BPM studio in JBOSS? Thanks in advance.
    Ram

    Hi,
    We deployed the application in Enterprise server and were able to generate a war file, which we then deployed in JBOSS. Applcn worked fine in JBOSS.
    Thanks,
    Ram

  • Need Urgent Help! Exception During Deployment of JBoss Scheduler Service

    Hi Folks,
    I have a web app (.war) to deploy to JBoss 4.0.2, and there's a class in the app that implements org.jboss.varia.scheduler.Schedulable.
    I want this thing to be invoked by the JBoss Scheduler, but I can't seem to get my Schedulable instance started.
    Note: This is simply a web deployment (WAR), not a J2EE Application (EAR).
    I've tried to deploy the Scheduler at the server level but i've got a deployment exception - "file is not not found".
    also, I've tried to add the scheduler-service.xml into my web app (in WAR file ~/META-INF/ directory).
    I'm open to suggestions on how to configure the scheduler services so it will work without any exceptions.
    My scheduler-service.xml is as follows:
    <server>
    <mbean code="org.jboss.varia.scheduler.Scheduler" name="TevaOrderScheduler:service=Scheduler">
         <attribute name="StartAtStartup">true</attribute>
         <attribute name="SchedulableClass">com.cnw.enfopack.TevaOrderScheduler</attribute>
         <attribute name="InitialStartDate">NOW</attribute>
         <!--<attribute name="DateFormat">dd/MM/yy HH:mm</attribute>-->
         <attribute name="SchedulePeriod">20 * 1000</attribute>
         <attribute name="InitialRepetitions">-1</attribute>
    </mbean>
    </server>
    Please HELP me, I'm working on this issue in the last 3 days!!!
    Many Thanks in advance,
    Sagi.
    Edited by: Sagi_MY on Feb 11, 2009 11:32 PM

    Thanks for your reply jwenting,
    But for me it's an urgent case since my Scheduler refuse to work!!!
    how it can be that you have'nt face such problem in JBoss 4.0.2?
    I've search the Internet and saw many people that have faced the same problem like me.
    (But, unfortunately, their answers didn't help me)
    Please try to help me since It's almost 10 days that I'm dealing with it.
    Many thanks mate.

  • Can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2

    can't remote debug appliaction with jdeveloper10.1.3 deployed in JBoss 4.2.2
    when i try to debugg with old version like jboss-4.0.3SP1 it is workking good
    but when i'm try to debugg with jboss-4.2.2.GA and add project newly libaray jboss client jars of this version i got error
    Exception in thread "main" java.lang.NoClassDefFoundError: in
    and the debugger stoped in URLClassLoader and throw NoClassDefFoundError exception, i think the reason is the client jars
    which jars should i add to project libarary to success remotely debugg application in jboss 4.2.2 GA ?

    Remote debugging with JBoss 4.2 is the same as for 4.0.
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=rem_p_servlet_general_html

  • Deploying to JBoss

    I am currently evaluating the JSF tool as a means of developing JSP and JSF for JBoss. I am having problems deploying to JBoss.
    When I select Window->Preferences->Server configurations->ADD I see only Tomcat and Weblogic. How do I specify JBoss?
    After I get over that hurdle, can I go through the develop/test/develop/test cycle without restarting JBoss?
    dwalsh

    Hi,
    The "Run With Application Server:" at Window > Preferences > NitroX > Server Configurations > Add... is a drop-down menu, and navigating this list should display supported servers (Jakarta Tomcat 5 / 4.1 / 4.0, BEA WebLogic 8.1 / 7.0, IBM WebSphere 5, JBoss 3.2 / 4.0, Caucho Resin 3, & Mort Bay Jetty 5)
    This list is common for all the NitroX products.
    M7 Support

  • How to access EJB deployed in JBOSS 4 from Creator

    Hello.
    I am trying to access EJBs deployed on JBOSS in order to develop a web app client, when I import the EJB set from Creator (sessions and entities packages in a jar file) I got the following error message....."No EJB set found in file....." .
    I presume there is an kind of xml file description specific for Sun App Server missing. I would like to know if there is other way to expose EJB in creator?....maybe write a config file by hand.
    I already read the tutorials related to EJB but those only use pre build EJB jars for Sun App Sserver.
    Also I read all the posted about JBoos and EJB in this forum but those are pretty general.
    By the way I have Delegate classes to access the EJB. How do I register my delegates in Creator in order to expose their methods?
    I�ll really appreciate some light in this matter.
    Thanks in advance!!!

    Hi,
    The below forum thread may help you :
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=51321
    Thanks,
    Runa.

  • Article written on EJB 3.0 , web services develop n deploy on JBOSS AS

    Dear Friends
    I would like to announce the article written on EJB 3.0 , web services development and deployment on JBOSS AS at the following location http://jamessmithjava.100webcustomers.com/index.html , I think this would help developers to increase interest on JBoss as well as EJBs
    Regards
    James
    [email protected]
    http://tech.groups.yahoo.com/group/james_smithjava

    Dear Friends
    I would like to announce the article written on EJB 3.0 , web services development and deployment on JBOSS AS at the following location http://jamessmithjava.100webcustomers.com/index.html , I think this would help developers to increase interest on JBoss as well as EJBs
    Regards
    James
    [email protected]
    http://tech.groups.yahoo.com/group/james_smithjava

  • Error  deployment  in jboss( cmp + sqlserver2000)

    Hi,
    I have created a cmp entity bean whose function was to create a table in sqlserver2000 and insert
    the record in the database,: (Source
    below), I have compiled and make a jar file to deploy on jboss,
    I encountered and error:
    10:47:29,934 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
    /jboss3/server/default/deploy/Props.jar
    10:47:30,074 INFO [EjbModule] Creating
    10:47:30,106 INFO [EjbModule] Deploying Props
    10:47:31,887 ERROR [JDBCCommand] Exception caught executing SQL
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Inc
    orrect syntax near the keyword 'key'.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
    Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
    Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(
    Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Sour
    ce)
    at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType
    (Unknown Source)
    at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
    Source)
    at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
    at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown
    Source)
    at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown S
    ource)
    at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown S
    ource)
    at org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.executeU
    pdate(LocalPreparedStatement.java:308)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand.executeStatementAnd
    HandleResult(JDBCUpdateCommand.java:61)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.j
    ava:176)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitComma
    nd.java:149)
    at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersiste
    nceManager.java:131)
    at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceMana
    ger.java:155)
    at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
    at org.jboss.ejb.Container.invoke(Container.java:752)
    at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy5.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:315)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy24.create(Unknown Source)
    at org.jboss.ejb.EjbModule.createService(EjbModule.java:386)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
    136)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy5.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:315)
    at org.jboss.system.ServiceController.create(ServiceController.java:243)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy9.create(Unknown Source)
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:377)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:435)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
    ploymentScanner.java:656)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:507)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    loop(AbstractDeploymentScanner.java:225)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    run(AbstractDeploymentScanner.java:202)
    10:47:32,465 INFO [EjbModule] Created
    10:47:32,465 INFO [EjbModule] Starting
    10:47:32,496 INFO [EjbModule] Started
    10:47:32,496 INFO [MainDeployer] Deployed package: file:/C:/jboss/jboss3/server
    /default/deploy/Props.jar
    why these exception comes, i m wrong somewhere, any thing else which should i have to define.
    thanx in advance
    regard
    sachin
    //mysql-service.xml
    <attribute name="JndiName">MySqlDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL"type="java.lang.String">jdbc:microsoft:sqlserver://faisal:1433;DatabaseName=master</config-property>
    <config-property name="DriverClass"type="java.lang.String">com.microsoft.jdbc.sqlserver.SQLServerDriver</config-property>
    <config-property name="UserName" type="java.lang.String">sa</config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    //standardjbosscmp-jdbc.xml
    <jbosscmp-jdbc>
    <enterprise-beans>
    <entity>
    <ejb-name>Props</ejb-name>
    <table-name>Props</table-name>
    <cmp-field>
    <field-name>key</field-name>
    <column-name>key</column-name>
    <jdbc-type>VARCHAR</jdbc-type>
    <sql-type>VARCHAR(256)</sql-type>
    </cmp-field>
    <cmp-field>
    <field-name>value</field-name>
    <column-name>value</column-name>
    <jdbc-type>VARCHAR</jdbc-type>
    <sql-type>VARCHAR(256)</sql-type>
    </cmp-field>
    </entity>
    </enterprise-beans>
    <defaults>
         <datasource>java:/MySqlDS</datasource>
    <datasource-mapping>MS SQLSERVER2000</datasource-mapping>
    <create-table>true</create-table>
    <remove-table>false</remove-table>
    <read-only>false</read-only>
    <time-out>300</time-out>
    <pk-constraint>true</pk-constraint>
    <fk-constraint>false</fk-constraint>
    <row-locking>false</row-locking>
    <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
    <read-ahead>
    <strategy>on-load</strategy>
    <page-size>1000</page-size>
    <eager-load-group>*</eager-load-group>
    </read-ahead>
    <list-cache-max>1000</list-cache-max>
    </defaults>
    //standradjaws.xml
    <jaws>
         <datasource>java:/MySqlDS</datasource>
         <type-mapping>MS SQLSERVER2000</type-mapping>
    <debug>false</debug>
    <default-entity>
    <create-table>true</create-table>
    <remove-table>false</remove-table>
    <tuned-updates>true</tuned-updates>
    <read-only>false</read-only>
    <time-out>300</time-out>
    <row-locking>false</row-locking>
    <read-ahead>false</read-ahead>
    </default-entity>
         <enterprise-beans>
    <entity>
    <ejb-name>Props</ejb-name>
    <remove-table>true</remove-table>
         <finder>
              <name>findValueEquals</name>
              <query>value = {0}</query>
              <order>key DESC</order>
              </finder>
    </entity>
    </enterprise-beans>

    Hi Volodymyr
    thanx to reply me,
    i was creating only small independent cmp dats by there was no need to create seprate xml files and did the same in corresponding jboss xml files.bt it will create problem when i will use more beans as u mentioned.
    ok i follow, what u specified. i created
    //jbosscmp-jdbc.xml
    <enterprise-beans>
    <entity>
    <ejb-name>Props</ejb-name>
    <table-name>Props</table-name>
    <cmp-field>
    <field-name>key</field-name>
    <column-name>key</column-name>
    </cmp-field>
    <cmp-field>
    <field-name>value</field-name>
    <column-name>value</column-name>
    </cmp-field>
    </entity>
    </enterprise-beans>
    //jboss.xml
    <jboss>
         <enterprise-beans>
              <entity>
              <ejb-name>Props</ejb-name>
              <jndi-name>Props</jndi-name>
              </entity>
    </enterprise-beans>
    </jboss>
    //ejb-jar.xml
    <enterprise-beans>
    <entity>
    <description>
    Entity bean Props
    </description>
    <ejb-name>Props</ejb-name>
    <home>props.PropsHome</home>
    <remote>props.Props</remote>
    <ejb-class>props.PropsEJB</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>props.SportTeamPK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-field><field-name>key</field-name></cmp-field>
    <cmp-field><field-name>value</field-name></cmp-field>
    </entity>
    </enterprise-beans>
    //mysql-service.xml
    <attribute name="JndiName">MySqlDS</attribute>
    <attribute name="ManagedConnectionFactoryProperties">
    <properties>
    <config-property name="ConnectionURL" type="java.lang.String">jdbc:microsoft:sqlserver://faisal:1433;DatabaseName=master</config-property>
    <config-property name="DriverClass" type="java.lang.String">com.microsoft.jdbc.sqlserver.SQLServerDriver</config-property>
    <config-property name="UserName" type="java.lang.String">sa</config-property>
    <config-property name="Password" type="java.lang.String"></config-property>
    </properties>
    </attribute>
    bt when i try to deploy the jar files the jboss console gives the same error:
    19:04:38,432 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
    /jboss3/server/default/deploy/Props.jar
    19:04:38,635 INFO [EjbModule] Creating
    19:04:38,667 INFO [EjbModule] Deploying Props
    19:04:40,573 ERROR [JDBCCommand] Exception caught executing SQL
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Inc
    orrect syntax near the keyword 'key'.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
    Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
    Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.processReplyToken(
    Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Sour
    ce)
    at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType
    (Unknown Source)
    at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
    Source)
    at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
    at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown
    Source)
    at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)
    at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown S
    ource)
    at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown S
    ource)
    at org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.executeU
    pdate(LocalPreparedStatement.java:308)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand.executeStatementAnd
    HandleResult(JDBCUpdateCommand.java:61)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.j
    ava:176)
    at org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitComma
    nd.java:149)
    at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersiste
    nceManager.java:131)
    at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceMana
    ger.java:155)
    at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
    at org.jboss.ejb.Container.invoke(Container.java:752)
    at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy5.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:315)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy24.create(Unknown Source)
    at org.jboss.ejb.EjbModule.createService(EjbModule.java:386)
    at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
    136)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
    ler.java:978)
    at $Proxy5.create(Unknown Source)
    at org.jboss.system.ServiceController.create(ServiceController.java:315)
    at org.jboss.system.ServiceController.create(ServiceController.java:243)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy9.create(Unknown Source)
    at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:377)
    at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
    nDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
    tScanner.java:435)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
    ploymentScanner.java:656)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
    canner.java:507)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    doScan(AbstractDeploymentScanner.java:212)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    loop(AbstractDeploymentScanner.java:225)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
    run(AbstractDeploymentScanner.java:202)
    19:04:41,135 INFO [EjbModule] Created
    19:04:41,151 INFO [EjbModule] Starting
    19:04:41,167 INFO [EjbModule] Started
    19:04:41,167 INFO [MainDeployer] Deployed package: file:/C:/jboss/jboss3/server
    /default/deploy/Props.jar
    Any ideas about where my code is falling over???? Please let me know....
    Thanks in Advance
    regards, sachin

  • Soft deployment in jboss

    hi,
    any body please tell me. how to do soft deployment in jboss server.
    thanks
    Ravi

    hi
    If u are using eclipse then deployment on JBoss is damn easy. after making necessary development in web project/ EJB project along with deployment descriptor, u can deploy the project directly from eclipse.
    Tushar

  • Very Strange Problem... Missing hidden field when deployed on JBOSS

    This problem is driving me nuts. Here it is... When I deploy my app to TomCat it works fine. When I deploy to JBoss everything works except the links . When I select a link rendered via JBoss the directory containing the JSP is displayed. I can also see that my filters are not being called in this case. I compared the HTML produced by TomCat to the HTML produced by JBoss and there was one minor difference. This hidden field was not rendered in JBoss:
    <input type="hidden" name="contentView:contentForm:_idcl" />When I manually include this in the JSP and run JBoss.. It works.
    I have spent a full day trying to figure out when the hidden field is not being rendered when deployed to JBoss... I would very much appreciate any suggestions.. Thanks in advance. Paul
    Here is a bigger snippit:
    <tags:layout
        heading = "/banner.jsp" 
        menu    = "/mainmenu.jsp">
         <f:subview id="contentView">
              <f:loadBundle basename="com.dygtig.bundles.labels" var="labels" />
         <h:messages layout="table" tooltip="Please review errors and resubmit."
                     fatalClass = "msgFatalText"
                     errorClass = "msgErrorText"
                     warnClass  = "msgWarnText"
                     infoClass  = "msgInfoText"/>
              <h:form id="contentForm" style="display:inline">
                   <f:verbatim><CENTER></f:verbatim>
                   <h:outputText value="Aircraft Types" styleClass="pageTitle"/>
                   <f:verbatim><br><br></f:verbatim>
                   <h:dataTable value       = "#{aCTypeListView.acTypes}"
                                var          = "ac"
                                first        = "0"
                                rows         = "15"
                                columnClasses= ""
                                styleClass   = "normaltable"
                                width        = "500px" title="Aircraft List"
                                rowClasses   = "normaltabletext1,normaltabletext2"
                                id           = "AircraftTable">
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Action"/>
                        </f:facet>
                        <h:commandLink action="#{aCTypeListView.updateActype}">
                             <f:param name="acId" value="#{ac.id}"></f:param>
                             <h:outputText value="Upd" styleClass="commandLink"/>
                        </h:commandLink>
                        <h:outputText value=" "></h:outputText>
                        <h:commandLink action="#{aCTypeListView.deleteActype}" >
                             <f:param name="acId" value="#{ac.id}"></f:param>
                             <h:outputText value="Del" styleClass="commandLink"/>
                        </h:commandLink>
                     </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Type-Suffix"/>
                        </f:facet>
                        <h:outputText value="#{ac.typeSuffixText}"/>
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Model"/>
                        </f:facet>
                        <h:outputText value="#{ac.model}"/>
                   </h:column>
                   </h:dataTable>
                   <dygtig:tablescroller tables="AircraftTable" />
                   <br>
                   <h:commandLink action="#{aCTypeListView.createActype}">
                        <h:outputText value="Create New Aircraft Type" styleClass="link"/>
                   </h:commandLink>
                   <br>
                   </CENTER>
                   <br>
                   <! manually add hidden field here>          </h:form>
         </f:subview>
    </tags:layout>

    Hi Paul,
    I have the same problem under deployment to WAS, all <h:commandLink>s are out of order. The hidden form field '...:_idcl' is missing in the generated JSP, but will be generated under Tomcat.
    Have you found a solution?
    Cheers, Ralf.

  • Application not visible in PDA  after server deployment

    Hi All,
    I developed an Mi 7.1 application.Deployed  all the sdas in the Mi server using sdoe_upload_archive.I created a device.Assigned all the mobile components to the device .I synchronized the device and it is successful.
    I can see the service and mobile ui component in the  mobileapps folder of the device.
    But I am not able to see the application in the application launcher of the  PDA.
    Any clues in resolving this?
    Thanks and regards,
    Rajesh.A

    Hi Rajesh,
    The application link may not be visible for the below given reason. Check whether it solves your issue :
    Reason 1. If the role SAP_DOE_ALL_APP_VISIBLE is missing for the user on the DOE system, then the application link is not visible on the home page.
    Solution 1. Add the role via agents in the NWM portal.You should also perform a delta download for the following data objects in the SAP BASIS 7.10 software component version (SWCV):
    1. USERDETAILS
    2. USER_AUTHORIZATION
    Reason 2. The application link is not visible because of the user authorization issue. Check whether the SAP BASIS 7.10 software component version is assigned to the device or not.
    If the SAP BASIS 7.10 software component version is not assigned to the device, then follow either of the steps specified below (2a or 2b):
    Solution 2a. Disable the authorization check on the mobile client
    (For PDAs)
    This can be done by creating a configuration.properties file in the \MI\Settings\ folder with the entry com.sap.tc.mobile.cfs.deploy.check_authorizations=false. Stop and start the client. The file is consumed, the authorization check is disabled, and then the application is visible in the application launcher.
    Solution 2b. Assign the authorization-related SWCV to the device (in the NWM portal)
    In the NWM portal, go to the DMSWCV tab in Device Management. Manually assign the SWCV containing the authorization data objects (SAP BASIS 7.10). Trigger an extract. Synchronize the device. The authorization objects are now available on the device. The application appears in the application launcher.
    Reason 3. If the installed client version and the NWMCLIENT.SCA version uploaded in the DOE are different, even then the application link is not visible on the home page.
    Solution 3. Upload the NWMCLIENT.SCA (same version of the client) to the DOE using transaction SDOE_UPLOAD_ARCHIVE.
    Regards,
    Suma

Maybe you are looking for

  • Dynamic File Name - Suppress the Substitue varible

    Hi All, I am doing the scenarios like File name at the recevier end would be dynamic for that i take an extra field NAME mapped with UDF which return the file name dynamically. It is working fine and doing good. But the problem here is , this field i

  • Loading symbols by default in a new doc

    I'm new to illustrator, being seasoned with Photoshop, I thought it would be a breeze. But it's the most frustrating program I've ever used. Perhaps my assumptions from Photoshop are holding me back. All I want to do, is batch create a set of icons.

  • How to post to Twitter using oAuth and UTL_HTTP

    I've come across the ORA_TWEET package by Lewis Cunningham. But when I try to use it I get an error code 34. It looks like the Authentication method for twitter has changed to use the oAuth API. Does any know of some sample code that shows how to do

  • R3 Transaction iView Error!

    Hi all, I have created an iView for Trasaction SE16 with and R3 system. When i Click On PREVIEW after creating the iView..it is givin a Portal Runtime Error ... Kindly suggest some corrections..i think there is some parameter missing in the SAP R3 Sy

  • Given the table and data below, without joining the table to itself, how do

    Hi could you please help me about following? create table units ( report_date date , company_id number , units number ); insert into units values ('1-jan-2010', 1, 28); insert into units values ('3-jan-2010', 2, 20); insert into units values ('7-jan-