[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - How to setup PostgreSQL 8.x with version 4.0.3RC2?
Hi, Is there a reference which documents that process? I have been trying all sorts of things and getting into all sorts of problems. Like my jms configuration is messed up ... Hibernate creates incorrect slq to generate tables like: 2005-09-26 13:32:37,111 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful: create table AUTHORS (authorId integer generated by default as identity (start with 1), name varchar(255), primary key (authorId)) 2005-09-26 13:32:37,111 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] ERROR: syntax error at or near generated Thanks for any input. robert View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897188#3897188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3897188 --- 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] [JCA/JBoss] - How to run a socket server in jboss?
Hi, I am not sure if this is the correct palce to ask but I could not think or a better one. We have application which sends/receives data over ip. I would like to build something which would listens for these transactions and process them acordingly. Since I cannot listen on a socket in SessionBean I was thinking about running something inside jboss ( what and how ? ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863173#3863173 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863173 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How to run a socket server in jboss?
Ups, sorry I did not finish the question ... That something could be mbean,scheduled process or resource addaptor ... Anything else? What would work the best? Then that process would pass the socket to the session bean. Would that work? Any input would be greatly appreciated. robert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863176#3863176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863176 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JB4 where is scheduler?
I downloaded latest version 4.0 of jboss and I do not see the sheduler configuration file in it. Where would I find it? Thanks robert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849637#3849637 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849637 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Problem moving oracle related code from 3.2.3 to 3.2.5?
Hi, I have a piece of code which runs fine in jboss 3.2.3 and throws an exception in 3.2.5. This code runs against Oracle 9.2 with same version of drivers. Any idea why or how to resolve it? Thanks in advance. robert This is a part of the code: conn = getConn(sc_server); String sql = select EVFIELDS from eventoutm1; PreparedStatement pstmt = null; ResultSet rset = null; pstmt = conn.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); rset = pstmt.executeQuery(sql); CLOB clob = ((OracleResultSet) rset).getCLOB(1); //scwiAppBean.java:6465 String tmp = clob.getSubString(1, (int) clob.length()); And the stack trace: 2004-07-28 17:32:03,470 WARN [scwiAppBean] (RMI TCP Connection(24)-192.62.193.153) java.lang.ClassCastException at com.unisys.sc.scwiejb.impl.scwiAppBean.getEventOutByEventType(scwiAppBean.java:6465) 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.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:723) 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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843551#3843551 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843551 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem moving oracle related code from 3.2.3 to 3.2.5?
Update: The actual ClastCastException error I get on: (OracleResultSet) rset This works just fine in 3.2.3 Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843574#3843574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843574 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - How to change java:/OracleDS to jdbc/OracleDS
Hi, Is that possible I would like to be able to access oracle datasource by: DataSource ods = (DataSource) context.lookup(jdbc/OracleDS); instead of : DataSource ods = (DataSource) context.lookup(java:/OracleDS); What needs to be changed? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837462#3837462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837462 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user