Pronlems with deploying CMP!

Hi folks!.... Im am fairly new to EJB's... Im having major problems trying to deploy a CMP bean im working on. I have restarted the App Server and deploy tool on numerous occasions but to no avail. The following is the error report.
distribute: C:\Sun\AppServer\j2eetutorial14\examples\ejb\mybook\BookApp.ear
deployment started : 0%
ERROR - Deploy Application in domain
!!! Operation Failed !!!
[Completed (time=14.1sec, status=13)]
Im using pointbase and have set up all JDBC Resources etc.... How do I post a 'log'?
Thanks in advance
Ru.

Thank you very much for replying....
Im using Sun Java� System Application Server Platform Edition 8 2004Q4 Beta version. A transcript of my log is as follows:
[#|2005-03-12T09:38:43.588+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=15;|
DeployThread.run: starting: deploy:3|#]
[#|2005-03-12T09:38:47.283+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=15;|
DeployThread.run: calling deploy() for: deploy:3|#]
[#|2005-03-12T09:38:55.986+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=15;|DPL5109: EJBC - START of EJBC for [BookApp]|#]
[#|2005-03-12T09:38:57.859+0000|WARNING|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=15;|JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'BookBean' in application 'BookApp' module 'ejb-jar-ic': Warning: JDO72310: All primary key columns in primary table BOOKBEAN of the bean corresponding to the generated class book.BookBean_1472265448_JDOState must be mapped to key fields.
Map the following primary key columns to key fields: BOOKBEAN.GENERATEDPKFIELD. If you already have fields mapped to these columns, verify that they are key fields.
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByCategory(java.lang.String).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findAll().
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByHigherCategoryPrice(java.lang.String,double).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByPriceRange(double,double).
|#]
[#|2005-03-12T09:38:57.879+0000|WARNING|sun-appserver-pe8.1|javax.enterprise.system.stream.err|_ThreadID=15;|
JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'BookBean' in application 'BookApp' module 'ejb-jar-ic': Warning: JDO72310: All primary key columns in primary table BOOKBEAN of the bean corresponding to the generated class book.BookBean_1472265448_JDOState must be mapped to key fields.
Map the following primary key columns to key fields: BOOKBEAN.GENERATEDPKFIELD. If you already have fields mapped to these columns, verify that they are key fields.
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByCategory(java.lang.String).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findAll().
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByHigherCategoryPrice(java.lang.String,double).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByPriceRange(double,double).
     at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:274)
     at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:615)
     at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
     at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:361)
     at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
     at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:286)
     at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
     at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:138)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:626)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:187)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:513)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:140)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
|#]
[#|2005-03-12T09:38:58.860+0000|WARNING|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=15;|Deployment Error
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'BookBean' in application 'BookApp' module 'ejb-jar-ic': Warning: JDO72310: All primary key columns in primary table BOOKBEAN of the bean corresponding to the generated class book.BookBean_1472265448_JDOState must be mapped to key fields.
Map the following primary key columns to key fields: BOOKBEAN.GENERATEDPKFIELD. If you already have fields mapped to these columns, verify that they are key fields.
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByCategory(java.lang.String).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findAll().
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByHigherCategoryPrice(java.lang.String,double).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByPriceRange(double,double).
     at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:274)
     at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:615)
     at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
     at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:361)
     at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
     at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:286)
     at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
     at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:138)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:626)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:187)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:513)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:140)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
|#]
[#|2005-03-12T09:38:58.870+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=15;|Total Deployment Time: 11426 msec, Total EJB Compiler Module Time: 0 msec, Portion spent EJB Compiling: 0%|#]
[#|2005-03-12T09:38:58.900+0000|SEVERE|sun-appserver-pe8.1|javax.enterprise.system.tools.deployment|_ThreadID=15;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- JDO74025: JDOCodeGenerator: Caught an Exception validating CMP bean 'BookBean' in application 'BookApp' module 'ejb-jar-ic': Warning: JDO72310: All primary key columns in primary table BOOKBEAN of the bean corresponding to the generated class book.BookBean_1472265448_JDOState must be mapped to key fields.
Map the following primary key columns to key fields: BOOKBEAN.GENERATEDPKFIELD. If you already have fields mapped to these columns, verify that they are key fields.
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByCategory(java.lang.String).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findAll().
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByHigherCategoryPrice(java.lang.String,double).
JDO75005: Incomplete deployment descriptor for bean BookBean: Missing or empty ejb-ql element in query element for method java.util.Collection findByPriceRange(double,double).
     at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:274)
     at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:615)
     at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
     at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:361)
     at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:209)
     at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:286)
     at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:176)
     at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:107)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:138)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:626)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:187)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:513)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:140)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)
|#]
[#|2005-03-12T09:38:58.910+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=15;|
DeployThread.run: deploy() successful for: deploy:3|#]
[#|2005-03-12T09:38:58.910+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=15;|
DeployThread.run: deleting deploy file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\upload:3_null_2052535609.tmp|#]
[#|2005-03-12T09:38:58.910+0000|INFO|sun-appserver-pe8.1|javax.enterprise.system.stream.out|_ThreadID=15;|
DeployThread.run: done with: deploy:3|#]

Similar Messages

  • Trying to deploy CMP bean  on JBoss4.0.2 with MySQL

    Hi all I am trying to deploy CMP bean on JBoss4.0.2
    with MySQL db.
    The tables are created but I get the following error when trying to insert data in the db.
    Does anyone have a solution for this.
    I have been trying it for a week now.
    javax.ejb.EJBException: getGeneratedKeys returned an empty ResultSet
    at org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.executeInsert(JDBCMySQLCreateCommand.java:87)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:308)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:138)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572)
    at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266)
    at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:766)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113)
    at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
    at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
    at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
    at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
    at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
    at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
    at org.jboss.ejb.Container.invoke(Container.java:894)
    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:324)
    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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy59.create(Unknown Source)
    at com.cygnet.medina.HospitalManager.HospitalManagerEJB.addHospital(HospitalManagerEJB.java:59)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    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:324)
    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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy64.addHospital(Unknown Source)
    at com.cygnet.medina.Hospital.HospitalCreateAction.execute(HospitalCreateAction.java:58)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:534)
    19:29:12,828 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract com.cygnet.medina.Hospital.HospitalData com.cygnet.medina.HospitalManager.Hospital
    javax.ejb.EJBException: getGeneratedKeys returned an empty ResultSet
    at org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.executeInsert(JDBCMySQLCreateCommand.java:87)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:308)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:138)
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572)
    at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266)
    at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:766)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113)
    at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
    at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
    at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
    at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
    at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
    at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
    at org.jboss.ejb.Container.invoke(Container.java:894)
    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:324)
    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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    at $Proxy59.create(Unknown Source)
    at com.cygnet.medina.HospitalManager.HospitalManagerEJB.addHospital(HospitalManagerEJB.java:59)
    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:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    opola,
    Hi. it looks like you have run into at least the limitations on HD/IO access, security restrictions and running/viewing native processes - see the whitelist exclusion in the following link.
    Understanding Java Cloud Service Whitelist Criteria
    http://docs.oracle.com/cloud/CSJSU/dev_app.htm#CSJSU7121
    ERROR : 1:Type "java.lang.SecurityManager" not allowed.
    Overriding Java Security Manager
    ERROR : 17:Type "java.lang.Process" not allowed.
    Executing a new Process
    ERROR : 8:Type "java.nio.channels.FileLock" not allowed
    Java non-blocking IO
    Also see the unsupported API list
    http://docs.oracle.com/cloud/CSJSU/dev_app.htm#CEGEADDC
    thank you
    /Michael
    https://forums.oracle.com/forums/profile.jspa?userID=609861
    https://forums.oracle.com/forums/profile.jspa?userID=849227

  • Changing user & table name when deploying CMP from jdev902

    Hi
    How can I choose different user and table name when deploying CMP EJB other then Oracle/CMP name from Jdev902 to OC4J 902. I have tried edinting orion-ejb-jar.xml's entity-deployment tag with limited succes ie: it works fine when I deploy to the inbedded OC4J but when I try deploying to standalone OC4J I get table created in Oracle user and a table with the same name as the CMP.
    I have also tried deploying the connections.xml along with the java classes, that didn't work either.
    All help is appreciated - Thanks

    You can do a Restore for the iPod with your computer again, but bear in mind that it will erase all data on the iPod and replace with the library of music files on your iTunes.
    How to do a Restore? that is simple, download iTunes 7.01 and install it your computer, open it and plug your iPod with it, then click Restore.
    http://www.apple.com/itunes/download/
    to restore your iPod to factory settings.
    http://docs.info.apple.com/article.html?artnum=60983

  • Deploying CMP Entity Beans in Weblogic

    How to generate/convert the Orion xml file to Weblogic_RDBMS ?
    Thx

    petstore 1.3 will be available for the upcoming beta of weblogic 7.0...
    Andrew Sliwkowski(BEA)
    [email protected]
    "Nitin Sawant" <[email protected]> wrote in message
    news:3c04f6cd$[email protected]..
    >
    Appreciate if you can share your plans on releasing a petstore 1.3 patchfor weblogic.
    >
    >
    i am having problems deploying CMP Entity Beans in petstore 1.3 where theprimary
    key class is defined as java.lang.Object in the ejb-jar.xml descriptor(<prim-key-class>java.lang.Object</prim-key-class>).
    Does weblogic 6.1 with 1.3 features enabled support the above feature.
    Thanks,

  • How to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype

    Hi there,
    I was wondering whether anybody could tell me how to create a WMI filter in order to apply to machines that have Skype already installed with deploying a newer version of Skype.
    Your help would be much appreciated.
    Many thanks,
    Timbuctoo

    Hi,
    To create a WMI filter
    1.In the Group Policy Management Console (GPMC) console tree, right-click
    WMI Filters in the forest and domain in which you want to create a WMI filter.
    2.Click
    New .
    3.In the
    New WMI Filter dialog box, type a name for the new WMI Filter in the
    Name box, and type a description of the filter in the Description box.
    4.Click
    Add .
    5.In the
    WMI Query dialog box, either leave the default namespace (root\CIMv2) or enter another namespace by doing one of the following:
    ◦ In the
    Namespace box, type the name of the namespace that you want to use for the WMI query.
    ◦ Click
    Browse , select a namespace from the list, and then click
    OK .
    6.Type a WMI query in the
    Query box, and then click OK .
    7.To add more queries, repeat Steps 4 through 6 to add each query.
    8.After adding all queries, click
    Save .
    In the Query box, type the following WMI query:
    Select * from Win32_Product where Name LIKE “%Skype%”
    Best Regards,
    Erin

  • Problems with deployment in 6.1 on  tru64

              Hi,
              We are having problems with deployment of web applications in 6.1. We are running
              cluster ( 2 managed servers ) .The problem is that every time we restart the admin
              and managed servers, none of our application gets loaded and deployed. In the
              console, application looks ok i.e. targtes are listed and application is deployed
              but actually the application is not loaded and does not work. If I go and deploy/redploy
              the app , it works fine but again after every restart of the servers, application
              does not get loaded.
              Any idea. Your help is greatly appreciated.
              Thanks,
              Manoj
              

              Kumar,
              I do not see applicaitons being loaded and deployed at the time of server startup.
              In config.xml everything looks ok.
              Manoj
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Whenever an application is deployed you should see the
              ><br>following message in the server console or in the weblogic.log
              ><p><Mar 19, 2002 11:49:52 AM PST> <Info> <J2EE> <Deployed
              >:
              >certificate>
              ><p>Do you see such  messages or not?
              ><p>Manoj wrote:
              ><blockquote TYPE=CITE>Hi,
              ><br>We are having problems with deployment of web applications in 6.1.
              >We are running
              ><br>cluster ( 2 managed servers ) .The problem is that every time we
              >restart
              >the admin
              ><br>and managed servers, none of our application gets loaded and deployed.
              >In the
              ><br>console, application looks ok i.e. targtes are listed and application
              >is deployed
              ><br>but actually the application is not loaded and does not work. If
              >I
              >go and deploy/redploy
              ><br>the app , it works fine but again after every restart of the servers,
              >application
              ><br>does not get loaded.
              ><br>Any idea. Your help is greatly appreciated.
              ><br>Thanks,
              ><br>Manoj</blockquote>
              ></html>
              >
              

  • Deploying CMP's in WebSphereAppServer 5.0

    Hi All.....
    I'm deploying a CMP in WebSphere
    I'm using Oracle 9i Database......
    Please tell me how to make the settings in websphere for the cmp
    Please tell me soon.....

    Unless the spec has changed radically recently you are unlikely to be deploying CMPs. More like EJBs, EARs or WARs.
    Have you tried unsuccessfully to deploy one of the above?
    If so, what didn't work. If not, try then ask the question.

  • Fieldpoint doesn't work with deployed executable

    I have a LabView vi that communicates to a cFP device (cFP-180x) via serial (USB to serial converter actually).  The development vi works just fine (communicates with cFP), however, when I create an executable it does not communicate.  At first I thought it may be an issue with deploying to a separate machine, however, even when I try to run the executable on the machine that I'm doing the development work on, it does not work.  I have imported the .iak file into the project, however, I have noticed that when I click "Save" in MAX, it tends to lock up.  If I force it to close, and reopen, the computer will communicate with the cFP device in MAX and the development vi.
    Any thoughts would be appreciated.

    Hi,
    Do you get any error messages when the executable is launched? Also what version of LabVIEW and Real-Time are you using?
    You can follow the troubleshooting steps in this knowledgebase to see if it helps in resolving this issue.
    Regards
    Arham H
    Applications Engineer
    National Instruments

  • Update jta-datasource property with deployment plan

    hi,
    weblogic server needs the jta data source as a vendor parameter into the persistence xml? right?
    looks like:
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10" />
    <property name="javax.persistence.jtaDataSource" value="mysql" />
    </properties>
    so now i want to change the value (in my case mysql) to another with a deployment plan... but how does this work? i cannot change the attributes of the tag with my deployment plan, can i?
    my Deployment plan looks like:
    <variable-definition>
    <variable>
    <name>DataSource</name>
    <value>mysqltest</value>
    </variable>
    </variable-definition>
    <module-descriptor external="false">
    <root-element>persistence</root-element>
    <uri>META-INF/persistence.xml</uri>
    <variable-assignment>
    <name>JDBCDataSource</name>
    <xpath>/persistence/persistence-unit[name="serverpool"]/properties/property[name="javax.persistence.jtaDataSource"]</xpath>
    </variable-assignment>
    </module-descriptor>
    but after this my application dont work because the persistence xml isnt correct.
    so how can i change the attribte value of the tag property of my persistence.xm to change the jta-datasource of my application?
    thank you

    Firstly, I would validate with support that deployment plans cover the persistence.xml deployment descriptor. Someone else has encountered issues with deployment plans before and I believe they are only supported on certain types of deployment descriptor files. See this previous post:
    Problem with hibernate, JPA, and deployment plan
    Secondly even if it is supported, your XPATH is incorrect for the variable assignment. I'm not exactly sure what it would be since you're replacing an attribute value as opposed to the contents of an element itself, but it would look more like this:
    /persistence/persistence-unit/properties/property[@name='javax.persistence.jtaDataSource']@value
    But I'm sure that's wrong. I'm not sure I've seen an example that replaces an attribute value, the ones I've seen are usually a node value.

  • Problem with deploying : SDM could not start the J2EE cluster on the host .

    Hello, All
    I have following problem with deploying the aplication I get  this messenger:
    16/09/2008 07:59:44 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 192.168.0.14
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Aborted: development component 'ZChangeRequestDatabase'/'local'/'LOKAL'/'0.2008.05.03.04.24.17'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated. There is no cluster control instance running on host Jupiter which is described in SecureStorage . The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :|Name:JM_T1221612526745_0_penitus15 |Host:PENITUS15 |State:5|HostAddress:192.168.0.205||Name:JM_T1221612357814_0_Jupiter |Host:pfs |State:5|HostAddress:192.168.0.14||Name:JC_Jupiter_JTP_00 |Host:pfs |State:5|HostAddress:192.168.0.14|Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment exception : The deployment of at least one item aborted
    I dont'n know  How do I  solver this error?
    - I reviewed the virtual memory and I increase the virtual memory
    - I restarted the server and  the system
    - I reviwed the parameter in the config tool --> cluster --> security storage it is OK
    Any suggestion for solver this  problem
    Thanks
    Regards
    DS

    I found this messenger in   Additional log information., Please si 
    17/09/2008 03:04:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [004]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\JTP\JC00\SDM\program\log\sdmcl20080917200328.log]/>
    <!PATTERN[sdmcl20080917200328.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Sep 17, 2008 1:04:40 PM  Info: -
    Starting deployment -
    Sep 17, 2008 1:04:40 PM  Info: Error handling strategy: OnErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Update strategy: UpdateAllVersions
    Sep 17, 2008 1:04:40 PM  Info: Starting deployment prerequisites:
    Sep 17, 2008 1:04:40 PM  Info: Loading selected archives...
    Sep 17, 2008 1:04:40 PM  Info: Loading archive 'C:\usr\sap\JTP\JC00\SDM\program\temp\temp62604ZIssueDatabase.ear'
    Sep 17, 2008 1:04:41 PM  Info: Selected archives successfully loaded.
    Sep 17, 2008 1:04:41 PM  Info: Actions per selected component:
    Sep 17, 2008 1:04:41 PM  Info: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:41 PM  Info: Ending deployment prerequisites. All items are correct.
    Sep 17, 2008 1:04:43 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Saved current Engine state.
    Sep 17, 2008 1:04:45 PM  Info: Starting: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:45 PM  Info: SDA to be deployed: C:\usr\sap\JTP\JC00\SDM\root\origin\local\ZIssueDatabase\LOKAL\0\0.2008.04.17.10.53.03\temp62604ZIssueDatabase.ear
    Sep 17, 2008 1:04:45 PM  Info: Software type of SDA: J2EE
    Sep 17, 2008 1:04:45 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Starting cluster instance processes.
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: An error occured while starting a cluster instance.
    Sep 17, 2008 1:04:45 PM  Error: There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    Sep 17, 2008 1:04:45 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Aborted: development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated.
    There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Sep 17, 2008 1:04:45 PM  Info: Starting to save the repository
    Sep 17, 2008 1:04:46 PM  Info: Finished saving the repository
    Sep 17, 2008 1:04:47 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Sep 17, 2008 1:04:47 PM  Error: -
    At least one of the Deployments failed -
    Any help will be well received about this problema
    Thk
    Regards
    DS

  • Call report from java with deployment of java web start

    I need call report from java,the call function is:execURL ( String pURL )
    pURL is a url link to call report from report services .
    such as :http://10.20.1.43:8888/reports/rwservlet?destype=cache&desformat=PDF&report=test.rdf&user=scott/tiger@cims
    public static void execURL ( String pURL )
    String tempstr = new String();
    int posIdx = 0;
    if ( (System.getProperty("os.name").equals("Windows NT"))||
    (System.getProperty("os.name").equals("Windows 2000")) )
    posIdx = pURL.indexOf("&");
    while ( posIdx > 0 )
    tempstr = pURL.substring(0,posIdx)+"^"+pURL.substring(posIdx);
    pURL = tempstr;
    posIdx = pURL.indexOf("&",posIdx+2);
    try
    Runtime.getRuntime().exec("cmd /c start "+pURL);
    catch (Exception e1) {System.out.println(e1.getMessage()); }
    else
    try
    Runtime.getRuntime().exec("start "+pURL);
    catch (Exception e2)
    System.out.println(e2.getMessage());
    It's run with no problem with deployment of simple jar.
    But when i call report with deployment of java web start,it can not.
    I think it's java secuity problem,so i add
    Permission java.io.FilePermission "c://winnt//system32//cmd.exe", "execute";
    in java.policy file in client(windows 20000).However ,it can not too.
    Who can help me,Thanks in Advance!

    David,
    In your code, 'cmd' is invoked as Runtime.getRuntime().exec("cmd /c start "+pURL);
    but in your policy file you specify
    Permission java.io.FilePermission "c://winnt//system32//cmd.exe", "execute";
    Before creating a new process, the security manager checks for FilePermission(cmd,"execute")
    if cmd is an absolute path, otherwise it calls checkPermission with
    FilePermission("<<ALL FILES>>","execute"). Try specifying
    FilePermission("<<ALL FILES>>","execute") in your policy file.
    But, I believe using exec, may not be the right solution as it may not work on
    other platforms. Also you will have to expect the client m/c to relax security
    permission.
    Did you consider using java.net.HttpUrlConnection class instead to access the report
    service URL?
    HTH,
    Sathish.

  • Help with Deploy

    Can someone help me with deploying the sample application 'jdbc simple'?
    In have successfully built it using ant and have verified the JAR, WAR, EAR and EJB files are all in the corect place.
    In the administrative console, the tutorial says to select and expand the Applications node under the application server instance "server1".
    The problem is there are no applications that show up under the Applications node. I have stopped and started the app server and the console several times.
    Any help would be greatly appreciated.

    Hi Jim,
    I guess you did execute the ant target deploy .
    Use:
    c:\sun\appserver7\bin\>asant deploy
    to deploy the application.
    Get back if you have any issues.

  • Exception - Deploying CMP bean with Postgres DB

    Hi,
    When I deploy a CMP bean in Weblogic6.1 configured with Postgres Database it throws the following exception.
    <Oct 22, 2002 5:55:10 PM IST> <Error> <J2EE> <Error deploying application EjbTes
    t:
    Unable to deploy EJB: EjbTest.jar from EjbTest.jar:
    Exception: 'java.lang.NullPointerException' while trying to invoke: setB
    eanParamsForCreate at line 25
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    <Oct 22, 2002 5:55:10 PM IST> <Error> <Management> <Error deploying application
    .\config\siptech\applications\EjbTest.jar: java.lang.reflect.UndeclaredThrowable
    Exception>
    Thankx,
    Jagan

    Hi. This isn't a jdbc question, so you'll have better luck posting this to the ejb group.
    Joe
    Jagan wrote:
    Hi,
    When I deploy a CMP bean in Weblogic6.1 configured with Postgres Database it throws the following exception.
    <Oct 22, 2002 5:55:10 PM IST> <Error> <J2EE> <Error deploying application EjbTes
    t:
    Unable to deploy EJB: EjbTest.jar from EjbTest.jar:
    Exception: 'java.lang.NullPointerException' while trying to invoke: setB
    eanParamsForCreate at line 25
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    <Oct 22, 2002 5:55:10 PM IST> <Error> <Management> <Error deploying application
    .\config\siptech\applications\EjbTest.jar: java.lang.reflect.UndeclaredThrowable
    Exception>
    Thankx,
    Jagan

  • Deploying cmp bean on jboss3.2.5 with interbase

    Hi
    I am new to ejb.i tried to run a test application that delpy a cmp entity bean - i created an interbase db
    and stayted it on +created the relevant table.
    I add the interBase-ds.xml file(that i placed in the folder JBoss 3.2.5\server\default\deploy):
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>InterBaseDS</jndi-name>
    <connection-url>jdbc:interbase://localhost/D:/liat/InterBase/examples/database/MAESTRODB.GDB</connection-url>
    <driver-class>interbase.interclient.Driver</driver-class>
    <user-name>Sysdba</user-name>
    <password>masterkey</password>
    </local-tx-datasource>
    </datasources>
    In the jbosscmp-jdbc file I have these parameters:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jbosscmp-jdbc PUBLIC
    "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
    "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
    <jbosscmp-jdbc>
    <defaults>
    <datasource>java:/InterBaseDS</datasource>
    <datasource-mapping>InterBase</datasource-mapping>
    <create-table>false</create-table>
    <remove-table>false</remove-table>
    <pk-constraint>true</pk-constraint>
    <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
    </defaults>
    </jbosscmp-jdbc>
    That the exception i got when i ried to deploy the bean:
    13:25:42,065 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
    org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to
    ster driver for: interbase.interclient.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: interbase.intercl
    .Driver))
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:168)
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:504
    at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:214)
    at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444)
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:312)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
    Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: interbase.interclient.Driver; - nested throwable: (java.lang.
    sNotFoundException: No ClassLoaders found for: interbase.interclient.Driver)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:291)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:157)
    ... 132 more
    Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: interbase.interclient.Driver
    at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:185)
    at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:178)
    at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:132)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
    at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:77)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getDriver(LocalManagedConnectionFactory.java:273)
    ... 133 more
    What is missing in my deployment?
    I also want to know how can i set jboss deploymnet folder so it wont be the default folder.

    Do you copy the interbase driver (called interclient.jar) into the lib folder of your server configuration???
    JBOSS_HOME/server/default/lib
    JaimeS

  • Simple deploy of JSP with Bus.Cmps to OC4J

    Jdeveloper Ver. 10.1.2
    OC4J version 10.1.2
    I want to deploy a simple app from Jdeveloper to a standalone OC4J instance. I contains a simple table busines component and a UIX table component. I want it to be a public web page, not security/authentication/authorization needed. I deploy the ear file (which includes the war file needed for the jsp), the deployment works and gives me the url to acces the page. On a previous version of OC4j/jedevloper(9.0.3), this always worked without a problem. Now I get a 403 forbidden error when I go to the root location specified in the http-web-site.xml for this application.
    http://<server>:<port>/<root location for deployed application>
    I cannot find any logging to determine where the error is. Obvisouly there is some new security feature that has been added in this version of OC4j. What do I need to do to deploy a public applcation to this version of OC4j?

    Don't go to the root - go to a specific JSP or Struts action.
    Look at the URL that you get when you run inside JDeveloper to find out which page you need to get to.

Maybe you are looking for

  • Iam not getting the data on screen after using the user exit zxpadu01

    Dear Freinds             As per my requirement when the user enters value Ansal  it should get defaulted to Amount field (bet01 ) based on the wage type i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i fou

  • Making calls on my iPhone/ LockScreen and Message freezing

    Hi, ive had my iphone for about six months now, im still under warranty and ive just recently been having few problems that are quiet annoying. My first problem , while making calls i can barely hear what the person is saying to me and they can barel

  • Is it possible to catch ConnectionException in PublishingCacheStore

    Hi All, We are using 3 clusters of coherence; where data flow is always one way, i.e Master Cache writes to 2 other redundant caches (these caches are read only.. No writes are expected in these things). We are using PublishingCacheStore along with E

  • ABAP proxy Creation error

    Hi All, I'm trying to create a synchronous ABAP proxy out of my outbound interface. When I do that I get an error saying that <b>Cannot generate proxy (object <attributename="type"> missing in WSDL, see long text)</b> Now when I remove the reponse me

  • Error E-82000134 while trying to redeem PSN Plus 365 Days Subscription.

    Hello, I am getting "Error e-82000134" every time i enter my playstation plus code. I got the code with my ps4 approxamitly 3 months ago and only opened the voucher the other day. Is there an expiry date on playstation plus vouchers? Please help.