[JBoss-user] [Installation, Configuration Deployment] - IS JBOSS IDE is not suitable for STRUTS????
Hi, I think JBOSS is not suitable for Struts Based MVC web Application. This is my assumption (experience) because, One month before I was in search of the single app server for my complete web application which will consist of Container for EJB (2.0) web container I had only 2 options (JBOSS JOnAS).Somebody told me that JBOSS is best for that purpose. So I tried to develop first Bean Components for my web application on JBOSS4.0.3-RC1 app server Successfully Completed deployed my EJB2.0 components on JBOSS. Now I am in the next step of my web project(Preparing web application using STRUTS framework). But in the first stage of my second step I got very bad experience on JBOSS, that is, when I tried to deploy my struts based web application, then for the first time it gets deployed successfully(I am using eclipse IDE for JBOSS). But After that when I did some modifications in my web application again tried redeploy it then it gave me error message that Deployment is out of date due to changes in the underlying Project contents. You'll need to mannually 'Redeloy' project to update the deployed archive. I am using JBOSS IDE for eclipse. Also When I am trying to undeploy project I am getting same error message. What IS problem with JBOSS?? Also now I can't change my app server because I have already used Some JBOSS specific tags in my EJB (like JBOSS-QL). So please tell me how to solve this problem of struts deployment on JBOSS? Is my opinion that JBOSS is not suitable for STRUTS is right? If not then please tell me how? Thanx. Prash. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931206#3931206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931206 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Is JBOSS IDE JBOSS are not suitable for STRUTS application
Hi, I think JBOSS is not suitable for Struts Based MVC web Application. This is my assumption (experience) because, One month before I was in search of the single app server for my complete web applicationwhich will consist of Container for EJB (2.0) web container I had only 2 options (JBOSS JOnAS).Somebody told me that JBOSS is best for that purpose. So I tried to develop first Bean Components for my web application on JBOSS4.0.3-RC1 app server Successfully Completed deployed my EJB2.0 components on JBOSS. Now I am in the next step of my web project(Preparing web application using STRUTS framework). But in the first stage of my second step I got very bad experience on JBOSS, that is, when I tried to deploy my struts based web application, then for the first time it gets deployed successfully(I am using eclipse IDE for JBOSS). But After that when I did some modifications in my web application again tried redeploy it then it gave me error message that Deployment is out of date due to changes in the underlying Project contents. You'll need to mannually 'Redeloy' project to update the deployed archive. I am using JBOSS IDE for eclipse 3.1. Also When I am trying to undeploy project I am getting same error message. What IS problem with JBOSS?? Also now I can't change my app server because I have already used Some JBOSS specific tags in my EJB (like JBOSS-QL). So please tell me how to solve this problem of struts deployment on JBOSS? Is my opinion that JBOSS is not suitable for STRUTS is right? If not then please tell me how? Thanx. Prash. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931207#3931207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931207 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Problem in JBOSS hot deployment...
Hi, I am developing a web application using Struts. I am using JBOSS 4.0.3RC1 as app server. The problem is that when I start up the server for the first time deploy the web application it deployed successfully through JBOSS IDE for eclipse. But when I am updating my web application (modifying some JSP's) the hot deployment not take place. Also When I m trying to redeploy/remove it through deployment box in eclipse it gives me error like:- = Deployment is out of date due to changes in underlying project content.You'll need to manually 'Redeploy'the project to update deployed archive. = Where is the proble??? Also when I restart server it works fine for the first time. Please help me. Thanx in advance. Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929401#3929401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929401 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem in EJB QL Finder Method.....
Hi, I am developing an application based on EJB CMP2.0 Spec. I have a CMP BEAN with finder method as follows:- = SELECT Object(b) FROM CartMaster as b where b.customerid = ?1 and b.status='active' and b.cartdate CURRENT_TIMESTAMP(0)-interval '48 hours' = I am using JBOSS4.0.3. But when I amdeploying bean over Server it gives me error like:- 11:16:23,156 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered CURRENT_TIMESTAMP at line 1, column 102. Was expecting one of: DATETIME_VALUED_PARAMETER ... DATETIME_VALUED_PATH ... What is wrong in above Query? How to correct it? Please help me. Thanx, Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926472#3926472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926472 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Pls help me regarding EJB CMR relationsiop using xdoclet....
Hi, I am new to EJB trying to implement simple database driven application using EJB CMP2.0. I want to implement CMR relationship between CMP EJB's using XDOCLET(one to one, one to many, many to many). Please tell me how to do that or tell me some resources on it. Also if u can help me CMR for my two one to many related sample tables cartmaster cartdetail which are having fields as follows:- cartmaster == cartid---PK of cartmaster == cartdetail == cartdetailid-Primary key cartid---Foreign Key from cartmaster === These are related fields in my two related tables . How to write one to many mapping betn these two using XDOCLET in BEAN implementation class? Please help me out. Thanx in advance for ur valuable help. Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920571#3920571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920571 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem in getting Max value of row element through EJB-QL..
Hi, I ve written following Doclet's in my beans implementation class = /** * @ejb.finder * signature = CartMaster findmaxid() * method-intf = Home * query = SELECT MAX(cms.cartid) FROM EmployeeMaster as cms */ == When I build my application using XDOClet is build successfully deployed Successfully under JBOSS 4.0.3 But Problem is that when I invoke my client Program containg code for Accesing findmaxid() method as follows:- === Employeemaster E1=null; Employeemaster E1=home.findmaxid(); It gives me error like = Cannot create CDBean: javax.ejb.FinderException: Find failed: java.sql.SQLException: Got a java.lang.String[cl=0, value=S105] while looking for a Beans.interfaces.EmployeeMaster[cl=18074979] = Pls tell me where i m wrong. Thanx, Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918603#3918603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918603 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error in accesing CMP Bean........
Hi, I am developing a simple bean application. The Bean gets deployed successfully. But the problem is that when i run client against bean for inserting data in database i get following error. === 15:10:30,593 ERROR [CartMaster] Error checking if entity exists java.sql.SQLException: ERROR: syntax error at end of input at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175) My code for Client application is:- === package econify.eb; import java.util.Hashtable; import javax.transaction.UserTransaction; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; import javax.naming.*; public class testClient { private static UserTransaction utx = null; public static void main(String[] args) { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.PROVIDER_URL, localhost:1099); Context initialContext=null; try { initialContext = new InitialContext(env); } catch (Exception e) { System.err.println(Cannot get initial context for JNDI: + e); System.exit(2); } // We want to start transactions from client: get UserTransaction System.out.println(Getting a UserTransaction object from JNDI); try { utx = (UserTransaction) initialContext.lookup(UserTransaction); } catch (Exception e) { System.err.println(Cannot lookup UserTransaction: +e); System.exit(2); } // Connecting to Home thru JNDI System.out.println(Connecting to the CDBeanHome); testHome home = null; try { home = (testHome)PortableRemoteObject.narrow(initialContext.lookup(ejb/testbeanHome), testHome.class); } catch (Exception e) { System.err.println(Cannot lookup +: +e); System.exit(2); } // Create a first CDBean System.out.println(Creating a new CDBean in database); test a1 = null; try { System.out.print(home.getEJBMetaData().toString()); a1 = home.create(Prashant,prashantpassword); System.out.println(Created cd bean successfully ..); } catch (Exception e) { System.err.println(Cannot create CDBean: + e); System.exit(2); } } } == My ejb-jar.xml file is as follows:- === ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar ![CDATA[No Description.]] display-nameGenerated by XDoclet/display-name enterprise-beans ![CDATA[Description for test]] display-nameName for test/display-name ejb-nametest/ejb-name econify.eb.test.testHome econify.eb.test.test local-homeeconify.eb.test.testLocalHome/local-home econify.eb.test.testLocal ejb-classeconify.eb.test.testCMP/ejb-class persistence-typeContainer/persistence-type prim-key-classeconify.eb.test.testPK/prim-key-class False cmp-version2.x/cmp-version abstract-schema-nametest/abstract-schema-name cmp-field ![CDATA[]] field-namename/field-name /cmp-field cmp-field ![CDATA[]] field-namepass/field-name /cmp-field /enterprise-beans assembly-descriptor /assembly-descriptor /ejb-jar = Pls help me. How to solve this problem I am using JBOSS 4.0 app server. Thanx in advance, Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917816#3917816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917816 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Error in accesing CMP Bean........
Hi, I am developing a simple bean application. The Bean gets deployed successfully. But the problem is that when i run client against bean for inserting data in database i get following error. === 15:10:30,593 ERROR [CartMaster] Error checking if entity exists java.sql.SQLException: ERROR: syntax error at end of input at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1471) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1256) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175) My code for Client application is:- === package econify.eb; import java.util.Hashtable; import javax.transaction.UserTransaction; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; import javax.naming.*; public class testClient { private static UserTransaction utx = null; public static void main(String[] args) { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.PROVIDER_URL, localhost:1099); Context initialContext=null; try { initialContext = new InitialContext(env); } catch (Exception e) { System.err.println(Cannot get initial context for JNDI: + e); System.exit(2); } // We want to start transactions from client: get UserTransaction System.out.println(Getting a UserTransaction object from JNDI); try { utx = (UserTransaction) initialContext.lookup(UserTransaction); } catch (Exception e) { System.err.println(Cannot lookup UserTransaction: +e); System.exit(2); } // Connecting to Home thru JNDI System.out.println(Connecting to the CDBeanHome); testHome home = null; try { home = (testHome)PortableRemoteObject.narrow(initialContext.lookup(ejb/testbeanHome), testHome.class); } catch (Exception e) { System.err.println(Cannot lookup +: +e); System.exit(2); } // Create a first CDBean System.out.println(Creating a new CDBean in database); test a1 = null; try { System.out.print(home.getEJBMetaData().toString()); a1 = home.create(Prashant,prashantpassword); System.out.println(Created cd bean successfully ..); } catch (Exception e) { System.err.println(Cannot create CDBean: + e); System.exit(2); } } } == My ejb-jar.xml file is as follows:- === ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar ![CDATA[No Description.]] display-nameGenerated by XDoclet/display-name enterprise-beans ![CDATA[Description for test]] display-nameName for test/display-name ejb-nametest/ejb-name econify.eb.test.testHome econify.eb.test.test local-homeeconify.eb.test.testLocalHome/local-home econify.eb.test.testLocal ejb-classeconify.eb.test.testCMP/ejb-class persistence-typeContainer/persistence-type prim-key-classeconify.eb.test.testPK/prim-key-class False cmp-version2.x/cmp-version abstract-schema-nametest/abstract-schema-name cmp-field ![CDATA[]] field-namename/field-name /cmp-field cmp-field ![CDATA[]] field-namepass/field-name /cmp-field /enterprise-beans assembly-descriptor /assembly-descriptor /ejb-jar = Pls help me. How to solve this problem I am using JBOSS 4.0 app server. Thanx in advance, Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917820#3917820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917820 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Error in deploying cmp ejb under JBOSS 4.0.3.....
Hi, I m developing a small cmp ejb application under jboss. But during deploying the ejb package under jboss it gives error like:- 15:57:55,734 INFO [EjbModule] Deploying cartmasterbean 15:57:56,531 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/cartmaster,service=EJB java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) 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.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy105.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:395) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) 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.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy31.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:616) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem in deploying EJB under JBOSS4.0.3........
Hi, I m developing a small cmp ejb application under jboss. But during deploying the ejb package under jboss it gives error like:- 15:57:55,734 INFO [EjbModule] Deploying cartmasterbean 15:57:56,531 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/cartmaster,service=EJB java.lang.NullPointerException at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:1018) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) 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.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy105.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:395) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:267) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:217) 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.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor6.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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy31.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:616) 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:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at
[JBoss-user] [JCA/JBoss] - not deploying postgress-ds.xml.......
Hi, I m using JBoss4.0.3 Eclipse 3.2 with JDK 1.4.2. I ve created A database in Postgres8.0 named database1 contents in my postgress-ds.xml file is == local-tx-datasource jndi-nameProgressDS/jndi-name connection-urljdbc:postgresql://localhost:5432/database1/connection-url driver-classorg.postgresql.Driver/driver-class user-namelocal/user-name local type-mappingPostgreSQL 8.0/type-mapping /local-tx-datasource I copied this file into server/default/deploy directory in JBoss installation Directory. when I start jboss server in Eclipse I get following error mesage:-- == 10:18:34,765 INFO [Server] Starting JBoss (MX MicroKernel)... 10:18:34,812 INFO [Server] Release ID: JBoss [Zion] 4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510042341) 10:18:34,828 INFO [Server] Home Dir: C:\local\jboss-4.0.3 10:18:34,828 INFO [Server] Home URL: file:/C:/local/jboss-4.0.3/ 10:18:34,828 INFO [Server] Patch URL: null 10:18:34,828 INFO [Server] Server Name: default 10:18:34,828 INFO [Server] Server Home Dir: C:\local\jboss-4.0.3\server\default 10:18:34,828 INFO [Server] Server Home URL: file:/C:/local/jboss-4.0.3/server/default/ 10:18:34,828 INFO [Server] Server Temp Dir: C:\local\jboss-4.0.3\server\default\tmp 10:18:34,828 INFO [Server] Root Deployment Filename: jboss-service.xml 10:18:35,921 INFO [ServerInfo] Java version: 1.4.2_09,Sun Microsystems Inc. 10:18:35,921 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_09-b05,Sun Microsystems Inc. 10:18:35,921 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 10:18:37,171 INFO [Server] Core system initialized 10:18:38,687 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 10:18:43,593 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] 10:18:46,046 INFO [Embedded] Catalina naming disabled 10:18:48,437 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 10:18:48,453 INFO [Catalina] Initialization processed in 1625 ms 10:18:48,468 INFO [StandardService] Starting service jboss.web 10:18:48,500 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5 10:18:48,703 INFO [StandardHost] XML validation disabled 10:18:48,828 INFO [Catalina] Server startup in 375 ms 10:18:49,421 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ 10:18:51,109 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 10:18:53,015 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 10:18:53,437 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/C:/local/jboss-4.0.3/server/default/deploy/progress-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/local/jboss-4.0.3/server/default/deploy/progress-ds.xml altDD: null lastDeployed: 1136868532703 lastModified: 1136868532703 mbeans: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/C:/local/jboss-4.0.3/server/default/deploy/progress-ds.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/local/jboss-4.0.3/server/default/deploy/progress-ds.xml altDD: null lastDeployed: 1136868532703 lastModified: 1136868532703 mbeans: 10:18:53,578 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 10:18:54,328 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 10:18:54,390 INFO [JkMain] Jk running ID=0 time=0/250 config=null 10:18:54,437 INFO [Server] JBoss (MX MicroKernel) [4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510042341)] Started in 19s:594ms === Why I m getting message like INIT_WAITING_DEPLOYER. the postgres-ds.xml file not get deployed. Pls Help me.. Thanx in advance. Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3916585#3916585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3916585 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Help me regarding cmpjdbc.xml file....
I am developing a web application using JBOSS 4 . Previously it was in JONAS 4. Now i want it 2 run on JBOSS server. The Application has 2 parts EJB Web(jsp) part. Web part is running fine. Now i want to deploy the EJB into JBOss server. But problem is that my jonas-ejb.jar file is as follows:-- == !DOCTYPE jonas-ejb-jar PUBLIC -//ObjectWeb//DTD JOnAS 2.4//EN http://www.objectweb.org/jonas/dtds/jonas-ejb-jar_2_4.dtd; jonas-ejb-jar jonas-entity ejb-nameeconifyCartDetail/ejb-name jndi-nameeconifyCartDetailHome/jndi-name jdbc-mapping jndi-namejdbc_econify/jndi-name jdbc-table-namecartdetail/jdbc-table-name cmp-field-jdbc-mapping field-namecartdetailid/field-name jdbc-field-namecartdetailid/jdbc-field-name /cmp-field-jdbc-mapping cmp-field-jdbc-mapping field-namecartid/field-name jdbc-field-namecartid/jdbc-field-name /cmp-field-jdbc-mapping cmp-field-jdbc-mapping field-namepartid/field-name jdbc-field-namepartid/jdbc-field-name /cmp-field-jdbc-mapping cmp-field-jdbc-mapping field-namequantity/field-name jdbc-field-namequantity/jdbc-field-name /cmp-field-jdbc-mapping cmp-field-jdbc-mapping field-nameunitprice/field-name jdbc-field-nameunitprice/jdbc-field-name /cmp-field-jdbc-mapping finder-method-jdbc-mapping jonas-method method-namefindCartDetailPK/method-name /jonas-method jdbc-where-clausewhere cartdetailid = ?/jdbc-where-clause /finder-method-jdbc-mapping /jdbc-mapping /jonas-entity /jonas-ejb-jar = Now i want to write 2 files for JBOSS specific to EJB. How to write the JBOSS specific descriptor files equivalent to above ejb descriptor file in JONAS. Please help me. Thanx in advance Prash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3915274#3915274 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915274 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user