[JBoss-user] [JBoss Getting Started Documentation] - Re: Which version of the J2EE tutorial and where to find it?
Okay, your link http://java.sun.com/j2ee/1.4/download.html#tutorial leads to the same location I have downloaded the version, that is not working. However there are 3 possible downloads. I tried the topmost one (Platform Edition 8.1 2005Q2 UR2) and can say that it is not working. I found at least some reasons: They have changed the classes. For example the ejb remote and home interfaces Customer and CustomerHome have been replaced with LocalCustomer and LocalCustomerHome. The JBoss deployment descriptors however are referring to the old names. I tried to change the names in the descriptor, but this solves only some problems. The CustomerBeanClass is made abstract which leads to smth. like a spec violation error when deploying the ear. I will download the other Tutorial version with your link, just to see if they are working. Anyway, I accidently found a workaround for the problem. I bought a used book at ebay: The J2EE Tutorial Book Second Edition. I couldn't believe it, but on the cd there was the right version of the bank example (with the old class names) and it is working, at least for now:-) Can you tell me, why they made the new Bean class abstract? I'm just beginning with ejb's, but this seems to be a bit strange. Thanks, Philip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905966#3905966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905966 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Which version of the J2EE tutorial and where to find it?
Hello, I'm trying to run the Duke's bank application of Sun's J2EE Tutorial as described in the getting-started guide. Can anybody tell which version of the tutorial is working with Jboss' aditional example source files? I read somewhere in this forum that Sun has changed a lot in the tutorial's code and that I have to take the right version of the tutorial. However at Sun's download site there are no old versions for the tutorial. I tried following combination: J2EE Tutorial for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 boss Server 4.0.0RC1 Or are there any other versions of the Jboss example files? At this site I couldn't find any files at all. I used a direct link that was posted in this forum. I hope somebody can help me, so I can start with learning Jboss and J2EE instead of reading the server's error logfile. Thanks in advance, best regards, Philip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905095#3905095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905095 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss Port
Go to following directory: deploy\jbossweb-tomcat50.sar Just open the file web.xml and change the port attribute of the connector tag. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905236#3905236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905236 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank error can't find default data source
Hello all, I had the same missing-datasource-problem due to the incorrect entry in hsqldb-ds.xml file. After I fixed it, the deployment of the bank ear file worked. But I still got some errors. Here is a part of the log file: | 2005-11-02 17:04:54,613 ERROR [org.jboss.ejb.EntityContainer] Starting failed jboss.j2ee:jndiName=ebankNextId,service=EJB | org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'select object(t) from TxBean t | where t.account.accountId = ?3 and (t.timeStamp = ?1 and t.timeStamp = ?2)'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered t.timeStamp = at line 2, column 59. | Was expecting one of: | ABS ... | LENGTH ... | LOCATE ... | SQRT ... | MOD ... | ( ... | + ... | - ... | INTEGER_LITERAL ... | FLOATING_POINT_LITERAL ... | NUMERIC_VALUED_PARAMETER ... | NUMERIC_VALUED_PATH ... | NOT ... | COLLECTION_VALUED_PATH ... | STRING_VALUED_PATH ... | CONCAT ... | SUBSTRING ... | BOOLEAN_VALUED_PATH ... | DATETIME_VALUED_PATH = ... | DATETIME_VALUED_PATH ... | DATETIME_VALUED_PATH ... | DATETIME_VALUED_PATH ... | ENTITY_VALUED_PATH ... | IDENTIFICATION_VARIABLE ... | ) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.init(JDBCEJBQLQuery.java:52) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:60) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:271) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:498) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:396) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:348) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 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:230) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844) | at $Proxy18.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:369) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) | 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:230) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy51.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 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:230) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:844) | at $Proxy18.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:369) | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown